]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/ChangeLog
jit: API change to gcc_jit_context_new_global
[thirdparty/gcc.git] / gcc / testsuite / ChangeLog
CommitLineData
791cfef8
DM
12015-01-12 David Malcolm <dmalcolm@redhat.com>
2
3 * jit.dg/test-array-as-pointer.c (create_code): Update call
4 to gcc_jit_context_new_global by setting "kind" to
5 GCC_JIT_GLOBAL_IMPORTED.
6 * jit.dg/test-error-array-as-pointer.c: Likewise.
7 * jit.dg/test-expressions.c (make_test_of_get_address): Likewise.
8 * jit.dg/test-fuzzer.c (make_random_global): Likewise, but
9 setting kind to GCC_JIT_GLOBAL_EXPORTED.
10 * jit.dg/test-using-global.c (the_global): Rename to...
11 (imported_global): ...this.
12 (create_code): Update to test the three kinds of global.
13 (verify_code): Likewise.
14
6c0fcb81
MG
152015-01-12 Marc Glisse <marc.glisse@inria.fr>
16
17 PR testsuite/64427
18 * gcc.target/i386/pr64291-1.c: Limit to lp64 tarrget. Avoid
19 undefined behavior.
20 * gcc.target/i386/pr64291-2.c: Updated.
21
62e22fcb
RB
222015-01-12 Richard Biener <rguenther@suse.de>
23
24 PR tree-optimization/64530
25 * gfortran.dg/pr64530.f90: New testcase.
26
2a58c802
RB
272015-01-12 Richard Biener <rguenther@suse.de>
28
29 PR middle-end/64357
30 * gcc.dg/torture/pr64357.c: New testcase.
31
9a4fbc59
L
322015-01-12 H.J. Lu <hongjiu.lu@intel.com>
33
34 * gcc.target/i386/nop-mcount.c: Properly place {} in target
35 selector.
36
c3aeec0a
PK
372015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
38 * gcc.dg/plugin/ggcplug.c: Include gcc-plugin.h after coretypes.h.
39
365536ca
ML
402015-01-12 Martin Liska <mliska@suse.cz>
41
42 * gcc.dg/ipa/PR64550.c: New test.
43
d8d5aef1
JH
442015-01-12 Jan Hubicka <hubicka@ucw.cz>
45
46 PR ipa/63470
47 * testsuite/g++.dg/ipa/pr63470.C: New testcase.
48
517d78be
JW
492015-01-11 Janus Weil <janus@gcc.gnu.org>
50
51 PR fortran/63733
52 * gfortran.dg/typebound_operator_20.f90: New.
53
c34d453f
JW
542015-01-11 Janus Weil <janus@gcc.gnu.org>
55
56 PR fortran/58023
57 * gfortran.dg/proc_ptr_comp_42.f90: New.
58
5c0ba546
JW
592015-01-11 Janus Weil <janus@gcc.gnu.org>
60
61 PR fortran/64508
62 * gfortran.dg/proc_ptr_comp_41.f90: New.
63
830aecf0
SB
642015-01-11 Segher Boessenkool <segher@kernel.crashing.org>
65
66 * gcc.target/powerpc/recip-test.h (_ARCH_PPC64): Use __LP64__ instead.
67
aecfd035
TB
682015-01-10 Tobias Burnus <burnus@net-b.de>
69
70 PR fortran/64522
71 * gfortran.dg/line_length_5.f90: Change dg-warning to dg-error
72 and add dg-excess-errors.
73 * gfortran.dg/line_length_6.f90: New.
74 * gfortran.dg/line_length_7.f90: New.
75 * gfortran.dg/line_length_8.f90: New.
76 * gfortran.dg/line_length_9.f90: New.
77 * gfortran.dg/line_length_10.f90: New.
78 * gfortran.dg/line_length_11.f90: New.
79
8cf8f223
DM
802015-01-09 David Malcolm <dmalcolm@redhat.com>
81
82 * jit.dg/test-threads.c (struct testcase): Move declaration
83 to jit.dg/all-non-failing-tests.h.
84 (testcases): Likewise.
85 * jit.dg/all-non-failing-tests.h (struct testcase): Move
86 declaration here from jit.dg/all-non-failing-tests.h.
87 (testcases): Likewise.
88 * jit.dg/test-combination.c (create_code): Eliminate spelling
89 out all of the testcases in favor of looping through the
90 "testcases" metadata.
91 (verify_code): Likewise.
92
adfac8df
JJ
932015-01-09 Jakub Jelinek <jakub@redhat.com>
94
95 PR rtl-optimization/64536
96 * gcc.dg/pr64536.c: New test.
97
ccce3b2a
DM
982015-01-09 David Malcolm <dmalcolm@redhat.com>
99
100 * jit.dg/all-non-failing-tests.h: Add test-constants.c.
101 * jit.dg/test-combination.c (create_code): Likewise.
102 (verify_code): Likewise.
103 * jit.dg/test-constants.c: New test case.
104 * jit.dg/test-threads.c: Add test-constants.c.
105
100bfe4a
DP
1062015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
107
a5dbcace 108 PR libobjc/51891
100bfe4a
DP
109 * objc.dg/gnu-api-2-class.m: Add a test case
110 for the above change.
111
88d24a09
SH
1122015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
113
114 * gcc.dg/typeof-2.c: Add checks for non-atomic types.
115
2f278249
RB
1162015-01-09 Richard Biener <rguenther@suse.de>
117
118 PR tree-optimization/64410
119 * g++.dg/vect/pr64410.cc: New testcase.
120
3f9f4ae7
ML
1212015-01-09 Martin Liska <mliska@suse.cz>
122
123 * gcc.dg/ipa/ipa-icf-32.c: New test.
124
75d1c391
BE
1252015-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
126
127 * c-c++-common/tsan/tsan_barrier.h: New.
128 * c-c++-common/tsan/atomic_stack.c: Reworked to not depend on sleep.
129 * c-c++-common/tsan/bitfield_race.c: Likewise.
130 * c-c++-common/tsan/fd_pipe_race.c: Likewise.
131 * c-c++-common/tsan/mutexset1.c: Likewise.
132 * c-c++-common/tsan/race_on_barrier.c: Likewise.
133 * c-c++-common/tsan/race_on_mutex.c: Likewise.
134 * c-c++-common/tsan/race_on_mutex2.c: Likewise.
135 * c-c++-common/tsan/simple_race.c: Likewise.
136 * c-c++-common/tsan/simple_stack.c: Likewise.
137 * c-c++-common/tsan/sleep_sync.c: Likewise.
138 * c-c++-common/tsan/tiny_race.c: Likewise.
139 * c-c++-common/tsan/tls_race.c: Likewise.
140 * c-c++-common/tsan/write_in_reader_lock.c: Likewise.
141 * g++.dg/tsan/aligned_vs_unaligned_race.C: Likewise.
142 * g++.dg/tsan/atomic_free.C: Likewise.
143 * g++.dg/tsan/atomic_free2.C: Likewise.
144 * g++.dg/tsan/cond_race.C: Likewise.
145 * g++.dg/tsan/tsan_barrier.h: Copied from c-c++-common/tsan.
146
b85449ad
HPN
1472015-01-08 Hans-Peter Nilsson <hp@axis.com>
148
149 PR testsuite/62250
150 * lib/target-supports.exp (check_effective_target_libatomic_available):
151 New.
152 * gfortran.dg/coarray/caf.exp: Only add -latomic for
153 targets that match effective-target libatomic_available.
154 * gfortran.dg/coarray_lib_comm_1.f90: Similar.
155
303e1d56
DM
1562015-01-08 David Malcolm <dmalcolm@redhat.com>
157
158 * jit.dg/test-error-block-in-wrong-function.c (verify_code):
159 Verify the result of gcc_jit_context_get_last_error.
160 * jit.dg/test-error-null-passed-to-api.c (verify_code): Likewise.
161
204a913b
JJ
1622015-01-08 Jakub Jelinek <jakub@redhat.com>
163
164 PR tree-optimization/63989
165 * gcc.dg/strlenopt-27.c: New test.
166
eb4c16eb
DM
1672015-01-08 David Malcolm <dmalcolm@redhat.com>
168
169 * jit.dg/harness.h (set_up_logging): New function.
170 (test_jit): Fail if gcc_jit_context_acquire fails. Call
171 set_up_logging on the context, so that every testcase is
172 logged to a particular file.
173 * jit.dg/test-nested-contexts.c (main): Open a logfile,
174 and call gcc_jit_context_set_logfile on the top-level context.
175
efa7df3c
JJ
1762015-01-08 Jakub Jelinek <jakub@redhat.com>
177
178 PR target/64338
179 * g++.dg/opt/pr64338.C: New test.
180
de1184c0
TB
1812015-01-08 Tobias Burnus <burnus@net-b.de>
182
183 * gfortran.dg/coarray/codimension_2b.f90: New file.
184 * gfortran.dg/coarray/codimension_2.f90: Add it to dg-extra-sources.
185 * gfortran.dg/coarray/codimension_2.f90: Call its subroutine.
186
ec124043
PC
1872015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
188
189 PR c++/59004
190 * g++.dg/ext/fnname4.C: New.
191
8b93f829
PC
1922015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
193
194 PR c++/64462
195 * g++.dg/cpp0x/constexpr-64462.C: New.
196
247ecdf3
PC
1972015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
198
199 PR c++/60753
200 * g++.dg/cpp0x/deleted10.C: New.
201
c211cd23
DM
2022015-01-07 David Malcolm <dmalcolm@redhat.com>
203
204 * jit.dg/test-error-dereferencing-void-ptr.c: New test case.
205
18146f45
DM
2062015-01-07 David Malcolm <dmalcolm@redhat.com>
207
208 * jit.dg/test-expressions.c (make_tests_of_unary_ops): Add test of
209 GCC_JIT_UNARY_OP_ABS.
210 (verify_unary_ops): Likewise.
211
f63c7f85
DM
2122015-01-07 David Malcolm <dmalcolm@redhat.com>
213
214 * jit.dg/test-arith-overflow.c: New test case.
215 * jit.dg/all-non-failing-tests.h: Add test-arith-overflow.c.
216 * jit.dg/test-combination.c (create_code): Likewise.
217 (verify_code): Likewise.
218 * jit.dg/test-threads.c (testcases): Likewise.
219
433d16df
DM
2202015-01-07 David Malcolm <dmalcolm@redhat.com>
221
222 * jit.dg/jit.exp: Load wrapper.exp with %{tool} set to "g++"
223 rather than "jit". Load g++.exp, and call g++_init.
224 Run test-*.cc files within the testsuite and *.cc files within
225 docs/examples.
226 (jit-dg-test): Drop the addition of -fgnu89-inline to
227 DEFAULT_CFLAGS in favor of adding it to additional_flags, only
228 doing it when compiling C testcases (since g++ does not handle
229 it). Reset "orig_environment_saved" so that LD_LIBRARY_PATH
230 is restored to the value after g++_init ran, rather than the
231 value before g++_init ran. Return a list of
232 $comp_output $output_file, as dg-test assumes.
233
649a2749
DM
2342015-01-07 David Malcolm <dmalcolm@redhat.com>
235
236 * jit.dg/harness.h (CHECK_NON_NULL): Add __func__ to output, to
237 make it easier to figure out the origin of each test result when
238 running test-combination.c and test-threads.c.
239 (CHECK_VALUE): Likewise.
240 (CHECK_DOUBLE_VALUE): Likewise.
241 (CHECK_STRING_VALUE): Likewise.
242 (CHECK_STRING_STARTS_WITH): Likewise.
243 (CHECK_STRING_CONTAINS): Likewise.
244 (CHECK): Likewise.
245 (check_string_value): Likewise, add "funcname" param.
246 (check_string_starts_with): Likewise.
247 (check_string_contains): Likewise.
248
50bb6c8e
DM
2492015-01-07 David Malcolm <dmalcolm@redhat.com>
250
251 * jit.dg/jit.exp (jit-dg-test): Remove "rootname" call when
252 generating name of built executable.
253
4a9a42ab
MP
2542015-01-07 Marek Polacek <polacek@redhat.com>
255
256 PR c/64440
257 * gcc.dg/pr64440.c: New test.
258 * c-c++-common/pr56607.c: Don't limit dg-warnings to C++.
259
2cc901dc
MP
2602015-01-07 Marek Polacek <polacek@redhat.com>
261
262 PR c/64417
263 * gcc.c-torture/compile/pr28865.c: Add dg-errors.
264 * gcc.dg/pr64417.c: New test.
265
512ef949
MM
2662015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
267
268 PR target/64505
269 * gcc.target/powerpc/pr64505.c: New file to test -m32 -mpowerpc64
270 fix is correct.
271
f423b58c
EB
2722015-01-06 Eric Botcazou <ebotcazou@adacore.com>
273
274 * lib/tsan-dg.exp (check_effective_target_fsanitize_thread):
275 Check if testcases run without errors, not just if they compile.
276
2772015-01-06 Christian Bruel <christian.bruel@st.com>
6a6b03ba
CB
278
279 PR target/64507
280 * gcc.target/sh/pr64507.c: New test.
281
02169d78
AC
2822015-01-06 Arnaud Charlet <charlet@adacore.com>
283
284 * gnat.db/fixce.adb, gnat.db/specs/delta_small.ads: Kill warnings.
285
fb153d02
JJ
2862015-01-06 Jakub Jelinek <jakub@redhat.com>
287
288 * c-c++-common/asan/sanitize-all-1.c: New test.
289 * c-c++-common/ubsan/sanitize-all-1.c: New test.
290 * c-c++-common/ubsan/sanitize-all-2.c: New test.
291 * c-c++-common/ubsan/sanitize-all-3.c: New test.
292 * c-c++-common/ubsan/sanitize-all-4.c: New test.
293
0969ec7d
EB
2942015-01-06 Eric Botcazou <ebotcazou@adacore.com>
295
296 * lib/target-supports.exp (check_profiling_available): Return 0 for
297 Visium.
298 (check_effective_target_tls_runtime): Likewise.
299 (check_effective_target_logical_op_short_circuit): Return 1 for Visium.
300 * gcc.dg/20020312-2.c: Adjust for Visium.
301 * gcc.dg/tls/thr-cse-1.c: Likewise
302 * gcc.dg/tree-ssa/20040204-1.c: Likewise
303 * gcc.dg/tree-ssa/loop-1.c: Likewise.
304 * gcc.dg/weak/typeof-2.c: Likewise.
305
b176bb73
RO
3062015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
307
308 PR rtl-optimization/64287
309 * gcc.dg/aru-2.c: New test.
310
a6377d52
JJ
3112015-01-05 Jakub Jelinek <jakub@redhat.com>
312
e5341100
JJ
313 PR sanitizer/64344
314 * c-c++-common/ubsan/pr64344-1.c: New test.
315 * c-c++-common/ubsan/pr64344-2.c: New test.
316
15aed8c4
JJ
317 PR tree-optimization/64465
318 * gcc.dg/pr64465.c: New test.
319
a6377d52
JJ
320 PR tree-optimization/64494
321 * gcc.c-torture/compile/pr64494.c: New test.
322
8b7cec58
TK
3232015-01-05 Thomas Koenig <tkoenig@gcc.gnu.org>
324
325 PR fortran/47674
326 * gfortran.dg/realloc_on_assign_25.f90: New test.
327
5624e564
JJ
3282015-01-05 Jakub Jelinek <jakub@redhat.com>
329
330 Update copyright years.
331
5bd012f8
MP
3322015-01-05 Marek Polacek <polacek@redhat.com>
333
334 PR c/64423
335 * gcc.dg/pr64423.c: New test.
336
ec2c793b
HPN
3372015-01-05 Hans-Peter Nilsson <hp@bitrange.com>
338
c3874335
HPN
339 * gcc.dg/debug/debug-1.c: Pass -fno-if-conversion for
340 mmix-knuth-mmixware for the same reason as for MIPS.
341 * gcc.dg/debug/debug-2.c: Ditto.
342
ec2c793b
HPN
343 * gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets.
344
d50a1793
JDA
3452015-01-03 John David Anglin <danglin@gcc.gnu.org>
346
3fd99bca
JDA
347 PR testsuite/62250
348 * lib/gfortran.exp: Add libatomic library search path.
349 * gfortran.dg/coarray/caf.exp: Add -latomic to test options.
350 * gfortran.dg/coarray_lib_comm_1.f90: Likewise.
351
d50a1793
JDA
352 * gcc.dg/pr63914.c: Add -fno-common option on hppa*-*-hpux*.
353
fe86867f
BE
3542015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
355
356 * c-c++-common/tsan/bitfield_race.c: New testcase.
357 * g++.dg/tsan/aligned_vs_unaligned_race.C: Fixed.
358
09de7c25
TB
3592015-01-02 Tobias Burnus <burnus@net-b.de>
360
361 * gfortran.dg/coarray/collectives_4.f90: New.
362
74a1c62f
JW
3632015-01-02 Janus Weil <janus@gcc.gnu.org>
364
365 PR fortran/57562
366 * gfortran.dg/extends_16.f90: New.
367
09ed8520
TB
3682015-01-02 Tobias Burnus <burnus@net-b.de>
369
370 * gfortran.dg/coarray/caf.exp (dg-compile-aux-modules): Add.
371
213ab0a6
TB
3722015-01-02 Tobias Burnus <burnus@net-b.de>
373
374 * gfortran.dg/coarray/codimension_2.f90: New.
375 * gfortran.dg/coarray/codimension_2a.f90: New.
376 * gfortran.dg/coarray_35.f90: New.
377 * gfortran.dg/coarray_35a.f90: New.
378
4294c093 3792015-01-02 Janus Weil <janus@gcc.gnu.org>
a30772be 380
4294c093 381 PR fortran/60507
74a1c62f 382 * gfortran.dg/dummy_procedure_11.f90: New.
09de7c25 383^L
213ab0a6 384Copyright (C) 2015 Free Software Foundation, Inc.
ad41bd84
JM
385
386Copying and distribution of this file, with or without modification,
387are permitted in any medium without royalty provided the copyright
388notice and this notice are preserved.