]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/ChangeLog
jit: API change to gcc_jit_context_new_global
[thirdparty/gcc.git] / gcc / testsuite / ChangeLog
1 2015-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
15 2015-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
22 2015-01-12 Richard Biener <rguenther@suse.de>
23
24 PR tree-optimization/64530
25 * gfortran.dg/pr64530.f90: New testcase.
26
27 2015-01-12 Richard Biener <rguenther@suse.de>
28
29 PR middle-end/64357
30 * gcc.dg/torture/pr64357.c: New testcase.
31
32 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
33
34 * gcc.target/i386/nop-mcount.c: Properly place {} in target
35 selector.
36
37 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
38 * gcc.dg/plugin/ggcplug.c: Include gcc-plugin.h after coretypes.h.
39
40 2015-01-12 Martin Liska <mliska@suse.cz>
41
42 * gcc.dg/ipa/PR64550.c: New test.
43
44 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
45
46 PR ipa/63470
47 * testsuite/g++.dg/ipa/pr63470.C: New testcase.
48
49 2015-01-11 Janus Weil <janus@gcc.gnu.org>
50
51 PR fortran/63733
52 * gfortran.dg/typebound_operator_20.f90: New.
53
54 2015-01-11 Janus Weil <janus@gcc.gnu.org>
55
56 PR fortran/58023
57 * gfortran.dg/proc_ptr_comp_42.f90: New.
58
59 2015-01-11 Janus Weil <janus@gcc.gnu.org>
60
61 PR fortran/64508
62 * gfortran.dg/proc_ptr_comp_41.f90: New.
63
64 2015-01-11 Segher Boessenkool <segher@kernel.crashing.org>
65
66 * gcc.target/powerpc/recip-test.h (_ARCH_PPC64): Use __LP64__ instead.
67
68 2015-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
80 2015-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
93 2015-01-09 Jakub Jelinek <jakub@redhat.com>
94
95 PR rtl-optimization/64536
96 * gcc.dg/pr64536.c: New test.
97
98 2015-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
106 2015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
107
108 PR libobjc/51891
109 * objc.dg/gnu-api-2-class.m: Add a test case
110 for the above change.
111
112 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
113
114 * gcc.dg/typeof-2.c: Add checks for non-atomic types.
115
116 2015-01-09 Richard Biener <rguenther@suse.de>
117
118 PR tree-optimization/64410
119 * g++.dg/vect/pr64410.cc: New testcase.
120
121 2015-01-09 Martin Liska <mliska@suse.cz>
122
123 * gcc.dg/ipa/ipa-icf-32.c: New test.
124
125 2015-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
147 2015-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
156 2015-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
162 2015-01-08 Jakub Jelinek <jakub@redhat.com>
163
164 PR tree-optimization/63989
165 * gcc.dg/strlenopt-27.c: New test.
166
167 2015-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
176 2015-01-08 Jakub Jelinek <jakub@redhat.com>
177
178 PR target/64338
179 * g++.dg/opt/pr64338.C: New test.
180
181 2015-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
187 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
188
189 PR c++/59004
190 * g++.dg/ext/fnname4.C: New.
191
192 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
193
194 PR c++/64462
195 * g++.dg/cpp0x/constexpr-64462.C: New.
196
197 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
198
199 PR c++/60753
200 * g++.dg/cpp0x/deleted10.C: New.
201
202 2015-01-07 David Malcolm <dmalcolm@redhat.com>
203
204 * jit.dg/test-error-dereferencing-void-ptr.c: New test case.
205
206 2015-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
212 2015-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
220 2015-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
234 2015-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
249 2015-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
254 2015-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
260 2015-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
266 2015-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
272 2015-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
277 2015-01-06 Christian Bruel <christian.bruel@st.com>
278
279 PR target/64507
280 * gcc.target/sh/pr64507.c: New test.
281
282 2015-01-06 Arnaud Charlet <charlet@adacore.com>
283
284 * gnat.db/fixce.adb, gnat.db/specs/delta_small.ads: Kill warnings.
285
286 2015-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
294 2015-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
306 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
307
308 PR rtl-optimization/64287
309 * gcc.dg/aru-2.c: New test.
310
311 2015-01-05 Jakub Jelinek <jakub@redhat.com>
312
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
317 PR tree-optimization/64465
318 * gcc.dg/pr64465.c: New test.
319
320 PR tree-optimization/64494
321 * gcc.c-torture/compile/pr64494.c: New test.
322
323 2015-01-05 Thomas Koenig <tkoenig@gcc.gnu.org>
324
325 PR fortran/47674
326 * gfortran.dg/realloc_on_assign_25.f90: New test.
327
328 2015-01-05 Jakub Jelinek <jakub@redhat.com>
329
330 Update copyright years.
331
332 2015-01-05 Marek Polacek <polacek@redhat.com>
333
334 PR c/64423
335 * gcc.dg/pr64423.c: New test.
336
337 2015-01-05 Hans-Peter Nilsson <hp@bitrange.com>
338
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
343 * gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets.
344
345 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
346
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
352 * gcc.dg/pr63914.c: Add -fno-common option on hppa*-*-hpux*.
353
354 2015-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
359 2015-01-02 Tobias Burnus <burnus@net-b.de>
360
361 * gfortran.dg/coarray/collectives_4.f90: New.
362
363 2015-01-02 Janus Weil <janus@gcc.gnu.org>
364
365 PR fortran/57562
366 * gfortran.dg/extends_16.f90: New.
367
368 2015-01-02 Tobias Burnus <burnus@net-b.de>
369
370 * gfortran.dg/coarray/caf.exp (dg-compile-aux-modules): Add.
371
372 2015-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
379 2015-01-02 Janus Weil <janus@gcc.gnu.org>
380
381 PR fortran/60507
382 * gfortran.dg/dummy_procedure_11.f90: New.
383 ^L
384 Copyright (C) 2015 Free Software Foundation, Inc.
385
386 Copying and distribution of this file, with or without modification,
387 are permitted in any medium without royalty provided the copyright
388 notice and this notice are preserved.