Add the missing ChangeLog entry
[gcc.git] / gcc / testsuite / ChangeLog
1 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
2
3 * gcc.target/i386/nop-mcount.c: Properly place {} in target
4 selector.
5
6 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
7 * gcc.dg/plugin/ggcplug.c: Include gcc-plugin.h after coretypes.h.
8
9 2015-01-12 Martin Liska <mliska@suse.cz>
10
11 * gcc.dg/ipa/PR64550.c: New test.
12
13 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
14
15 PR ipa/63470
16 * testsuite/g++.dg/ipa/pr63470.C: New testcase.
17
18 2015-01-11 Janus Weil <janus@gcc.gnu.org>
19
20 PR fortran/63733
21 * gfortran.dg/typebound_operator_20.f90: New.
22
23 2015-01-11 Janus Weil <janus@gcc.gnu.org>
24
25 PR fortran/58023
26 * gfortran.dg/proc_ptr_comp_42.f90: New.
27
28 2015-01-11 Janus Weil <janus@gcc.gnu.org>
29
30 PR fortran/64508
31 * gfortran.dg/proc_ptr_comp_41.f90: New.
32
33 2015-01-11 Segher Boessenkool <segher@kernel.crashing.org>
34
35 * gcc.target/powerpc/recip-test.h (_ARCH_PPC64): Use __LP64__ instead.
36
37 2015-01-10 Tobias Burnus <burnus@net-b.de>
38
39 PR fortran/64522
40 * gfortran.dg/line_length_5.f90: Change dg-warning to dg-error
41 and add dg-excess-errors.
42 * gfortran.dg/line_length_6.f90: New.
43 * gfortran.dg/line_length_7.f90: New.
44 * gfortran.dg/line_length_8.f90: New.
45 * gfortran.dg/line_length_9.f90: New.
46 * gfortran.dg/line_length_10.f90: New.
47 * gfortran.dg/line_length_11.f90: New.
48
49 2015-01-09 David Malcolm <dmalcolm@redhat.com>
50
51 * jit.dg/test-threads.c (struct testcase): Move declaration
52 to jit.dg/all-non-failing-tests.h.
53 (testcases): Likewise.
54 * jit.dg/all-non-failing-tests.h (struct testcase): Move
55 declaration here from jit.dg/all-non-failing-tests.h.
56 (testcases): Likewise.
57 * jit.dg/test-combination.c (create_code): Eliminate spelling
58 out all of the testcases in favor of looping through the
59 "testcases" metadata.
60 (verify_code): Likewise.
61
62 2015-01-09 Jakub Jelinek <jakub@redhat.com>
63
64 PR rtl-optimization/64536
65 * gcc.dg/pr64536.c: New test.
66
67 2015-01-09 David Malcolm <dmalcolm@redhat.com>
68
69 * jit.dg/all-non-failing-tests.h: Add test-constants.c.
70 * jit.dg/test-combination.c (create_code): Likewise.
71 (verify_code): Likewise.
72 * jit.dg/test-constants.c: New test case.
73 * jit.dg/test-threads.c: Add test-constants.c.
74
75 2015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
76
77 PR libobjc/51891
78 * objc.dg/gnu-api-2-class.m: Add a test case
79 for the above change.
80
81 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
82
83 * gcc.dg/typeof-2.c: Add checks for non-atomic types.
84
85 2015-01-09 Richard Biener <rguenther@suse.de>
86
87 PR tree-optimization/64410
88 * g++.dg/vect/pr64410.cc: New testcase.
89
90 2015-01-09 Martin Liska <mliska@suse.cz>
91
92 * gcc.dg/ipa/ipa-icf-32.c: New test.
93
94 2015-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
95
96 * c-c++-common/tsan/tsan_barrier.h: New.
97 * c-c++-common/tsan/atomic_stack.c: Reworked to not depend on sleep.
98 * c-c++-common/tsan/bitfield_race.c: Likewise.
99 * c-c++-common/tsan/fd_pipe_race.c: Likewise.
100 * c-c++-common/tsan/mutexset1.c: Likewise.
101 * c-c++-common/tsan/race_on_barrier.c: Likewise.
102 * c-c++-common/tsan/race_on_mutex.c: Likewise.
103 * c-c++-common/tsan/race_on_mutex2.c: Likewise.
104 * c-c++-common/tsan/simple_race.c: Likewise.
105 * c-c++-common/tsan/simple_stack.c: Likewise.
106 * c-c++-common/tsan/sleep_sync.c: Likewise.
107 * c-c++-common/tsan/tiny_race.c: Likewise.
108 * c-c++-common/tsan/tls_race.c: Likewise.
109 * c-c++-common/tsan/write_in_reader_lock.c: Likewise.
110 * g++.dg/tsan/aligned_vs_unaligned_race.C: Likewise.
111 * g++.dg/tsan/atomic_free.C: Likewise.
112 * g++.dg/tsan/atomic_free2.C: Likewise.
113 * g++.dg/tsan/cond_race.C: Likewise.
114 * g++.dg/tsan/tsan_barrier.h: Copied from c-c++-common/tsan.
115
116 2015-01-08 Hans-Peter Nilsson <hp@axis.com>
117
118 PR testsuite/62250
119 * lib/target-supports.exp (check_effective_target_libatomic_available):
120 New.
121 * gfortran.dg/coarray/caf.exp: Only add -latomic for
122 targets that match effective-target libatomic_available.
123 * gfortran.dg/coarray_lib_comm_1.f90: Similar.
124
125 2015-01-08 David Malcolm <dmalcolm@redhat.com>
126
127 * jit.dg/test-error-block-in-wrong-function.c (verify_code):
128 Verify the result of gcc_jit_context_get_last_error.
129 * jit.dg/test-error-null-passed-to-api.c (verify_code): Likewise.
130
131 2015-01-08 Jakub Jelinek <jakub@redhat.com>
132
133 PR tree-optimization/63989
134 * gcc.dg/strlenopt-27.c: New test.
135
136 2015-01-08 David Malcolm <dmalcolm@redhat.com>
137
138 * jit.dg/harness.h (set_up_logging): New function.
139 (test_jit): Fail if gcc_jit_context_acquire fails. Call
140 set_up_logging on the context, so that every testcase is
141 logged to a particular file.
142 * jit.dg/test-nested-contexts.c (main): Open a logfile,
143 and call gcc_jit_context_set_logfile on the top-level context.
144
145 2015-01-08 Jakub Jelinek <jakub@redhat.com>
146
147 PR target/64338
148 * g++.dg/opt/pr64338.C: New test.
149
150 2015-01-08 Tobias Burnus <burnus@net-b.de>
151
152 * gfortran.dg/coarray/codimension_2b.f90: New file.
153 * gfortran.dg/coarray/codimension_2.f90: Add it to dg-extra-sources.
154 * gfortran.dg/coarray/codimension_2.f90: Call its subroutine.
155
156 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
157
158 PR c++/59004
159 * g++.dg/ext/fnname4.C: New.
160
161 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
162
163 PR c++/64462
164 * g++.dg/cpp0x/constexpr-64462.C: New.
165
166 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
167
168 PR c++/60753
169 * g++.dg/cpp0x/deleted10.C: New.
170
171 2015-01-07 David Malcolm <dmalcolm@redhat.com>
172
173 * jit.dg/test-error-dereferencing-void-ptr.c: New test case.
174
175 2015-01-07 David Malcolm <dmalcolm@redhat.com>
176
177 * jit.dg/test-expressions.c (make_tests_of_unary_ops): Add test of
178 GCC_JIT_UNARY_OP_ABS.
179 (verify_unary_ops): Likewise.
180
181 2015-01-07 David Malcolm <dmalcolm@redhat.com>
182
183 * jit.dg/test-arith-overflow.c: New test case.
184 * jit.dg/all-non-failing-tests.h: Add test-arith-overflow.c.
185 * jit.dg/test-combination.c (create_code): Likewise.
186 (verify_code): Likewise.
187 * jit.dg/test-threads.c (testcases): Likewise.
188
189 2015-01-07 David Malcolm <dmalcolm@redhat.com>
190
191 * jit.dg/jit.exp: Load wrapper.exp with %{tool} set to "g++"
192 rather than "jit". Load g++.exp, and call g++_init.
193 Run test-*.cc files within the testsuite and *.cc files within
194 docs/examples.
195 (jit-dg-test): Drop the addition of -fgnu89-inline to
196 DEFAULT_CFLAGS in favor of adding it to additional_flags, only
197 doing it when compiling C testcases (since g++ does not handle
198 it). Reset "orig_environment_saved" so that LD_LIBRARY_PATH
199 is restored to the value after g++_init ran, rather than the
200 value before g++_init ran. Return a list of
201 $comp_output $output_file, as dg-test assumes.
202
203 2015-01-07 David Malcolm <dmalcolm@redhat.com>
204
205 * jit.dg/harness.h (CHECK_NON_NULL): Add __func__ to output, to
206 make it easier to figure out the origin of each test result when
207 running test-combination.c and test-threads.c.
208 (CHECK_VALUE): Likewise.
209 (CHECK_DOUBLE_VALUE): Likewise.
210 (CHECK_STRING_VALUE): Likewise.
211 (CHECK_STRING_STARTS_WITH): Likewise.
212 (CHECK_STRING_CONTAINS): Likewise.
213 (CHECK): Likewise.
214 (check_string_value): Likewise, add "funcname" param.
215 (check_string_starts_with): Likewise.
216 (check_string_contains): Likewise.
217
218 2015-01-07 David Malcolm <dmalcolm@redhat.com>
219
220 * jit.dg/jit.exp (jit-dg-test): Remove "rootname" call when
221 generating name of built executable.
222
223 2015-01-07 Marek Polacek <polacek@redhat.com>
224
225 PR c/64440
226 * gcc.dg/pr64440.c: New test.
227 * c-c++-common/pr56607.c: Don't limit dg-warnings to C++.
228
229 2015-01-07 Marek Polacek <polacek@redhat.com>
230
231 PR c/64417
232 * gcc.c-torture/compile/pr28865.c: Add dg-errors.
233 * gcc.dg/pr64417.c: New test.
234
235 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
236
237 PR target/64505
238 * gcc.target/powerpc/pr64505.c: New file to test -m32 -mpowerpc64
239 fix is correct.
240
241 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
242
243 * lib/tsan-dg.exp (check_effective_target_fsanitize_thread):
244 Check if testcases run without errors, not just if they compile.
245
246 2015-01-06 Christian Bruel <christian.bruel@st.com>
247
248 PR target/64507
249 * gcc.target/sh/pr64507.c: New test.
250
251 2015-01-06 Arnaud Charlet <charlet@adacore.com>
252
253 * gnat.db/fixce.adb, gnat.db/specs/delta_small.ads: Kill warnings.
254
255 2015-01-06 Jakub Jelinek <jakub@redhat.com>
256
257 * c-c++-common/asan/sanitize-all-1.c: New test.
258 * c-c++-common/ubsan/sanitize-all-1.c: New test.
259 * c-c++-common/ubsan/sanitize-all-2.c: New test.
260 * c-c++-common/ubsan/sanitize-all-3.c: New test.
261 * c-c++-common/ubsan/sanitize-all-4.c: New test.
262
263 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
264
265 * lib/target-supports.exp (check_profiling_available): Return 0 for
266 Visium.
267 (check_effective_target_tls_runtime): Likewise.
268 (check_effective_target_logical_op_short_circuit): Return 1 for Visium.
269 * gcc.dg/20020312-2.c: Adjust for Visium.
270 * gcc.dg/tls/thr-cse-1.c: Likewise
271 * gcc.dg/tree-ssa/20040204-1.c: Likewise
272 * gcc.dg/tree-ssa/loop-1.c: Likewise.
273 * gcc.dg/weak/typeof-2.c: Likewise.
274
275 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
276
277 PR rtl-optimization/64287
278 * gcc.dg/aru-2.c: New test.
279
280 2015-01-05 Jakub Jelinek <jakub@redhat.com>
281
282 PR sanitizer/64344
283 * c-c++-common/ubsan/pr64344-1.c: New test.
284 * c-c++-common/ubsan/pr64344-2.c: New test.
285
286 PR tree-optimization/64465
287 * gcc.dg/pr64465.c: New test.
288
289 PR tree-optimization/64494
290 * gcc.c-torture/compile/pr64494.c: New test.
291
292 2015-01-05 Thomas Koenig <tkoenig@gcc.gnu.org>
293
294 PR fortran/47674
295 * gfortran.dg/realloc_on_assign_25.f90: New test.
296
297 2015-01-05 Jakub Jelinek <jakub@redhat.com>
298
299 Update copyright years.
300
301 2015-01-05 Marek Polacek <polacek@redhat.com>
302
303 PR c/64423
304 * gcc.dg/pr64423.c: New test.
305
306 2015-01-05 Hans-Peter Nilsson <hp@bitrange.com>
307
308 * gcc.dg/debug/debug-1.c: Pass -fno-if-conversion for
309 mmix-knuth-mmixware for the same reason as for MIPS.
310 * gcc.dg/debug/debug-2.c: Ditto.
311
312 * gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets.
313
314 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
315
316 PR testsuite/62250
317 * lib/gfortran.exp: Add libatomic library search path.
318 * gfortran.dg/coarray/caf.exp: Add -latomic to test options.
319 * gfortran.dg/coarray_lib_comm_1.f90: Likewise.
320
321 * gcc.dg/pr63914.c: Add -fno-common option on hppa*-*-hpux*.
322
323 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
324
325 * c-c++-common/tsan/bitfield_race.c: New testcase.
326 * g++.dg/tsan/aligned_vs_unaligned_race.C: Fixed.
327
328 2015-01-02 Tobias Burnus <burnus@net-b.de>
329
330 * gfortran.dg/coarray/collectives_4.f90: New.
331
332 2015-01-02 Janus Weil <janus@gcc.gnu.org>
333
334 PR fortran/57562
335 * gfortran.dg/extends_16.f90: New.
336
337 2015-01-02 Tobias Burnus <burnus@net-b.de>
338
339 * gfortran.dg/coarray/caf.exp (dg-compile-aux-modules): Add.
340
341 2015-01-02 Tobias Burnus <burnus@net-b.de>
342
343 * gfortran.dg/coarray/codimension_2.f90: New.
344 * gfortran.dg/coarray/codimension_2a.f90: New.
345 * gfortran.dg/coarray_35.f90: New.
346 * gfortran.dg/coarray_35a.f90: New.
347
348 2015-01-02 Janus Weil <janus@gcc.gnu.org>
349
350 PR fortran/60507
351 * gfortran.dg/dummy_procedure_11.f90: New.
352 ^L
353 Copyright (C) 2015 Free Software Foundation, Inc.
354
355 Copying and distribution of this file, with or without modification,
356 are permitted in any medium without royalty provided the copyright
357 notice and this notice are preserved.