New jit API entrypoint: gcc_jit_context_set_logfile
[official-gcc.git] / gcc / testsuite / ChangeLog
blob6ec4ba2ba32a05f9264c3df66acdce384370f5c8
1 2015-01-08  David Malcolm  <dmalcolm@redhat.com>
3         * jit.dg/harness.h (set_up_logging): New function.
4         (test_jit): Fail if gcc_jit_context_acquire fails.  Call
5         set_up_logging on the context, so that every testcase is
6         logged to a particular file.
7         * jit.dg/test-nested-contexts.c (main): Open a logfile,
8         and call gcc_jit_context_set_logfile on the top-level context.
10 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
12         PR target/64338
13         * g++.dg/opt/pr64338.C: New test.
15 2015-01-08  Tobias Burnus  <burnus@net-b.de>
17         * gfortran.dg/coarray/codimension_2b.f90: New file.
18         * gfortran.dg/coarray/codimension_2.f90: Add it to dg-extra-sources.
19         * gfortran.dg/coarray/codimension_2.f90: Call its subroutine.
21 2015-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
23         PR c++/59004
24         * g++.dg/ext/fnname4.C: New.
26 2015-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
28         PR c++/64462
29         * g++.dg/cpp0x/constexpr-64462.C: New.
31 2015-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
33         PR c++/60753
34         * g++.dg/cpp0x/deleted10.C: New.
36 2015-01-07  David Malcolm  <dmalcolm@redhat.com>
38         * jit.dg/test-error-dereferencing-void-ptr.c: New test case.
40 2015-01-07  David Malcolm  <dmalcolm@redhat.com>
42         * jit.dg/test-expressions.c (make_tests_of_unary_ops): Add test of
43         GCC_JIT_UNARY_OP_ABS.
44         (verify_unary_ops): Likewise.
46 2015-01-07  David Malcolm  <dmalcolm@redhat.com>
48         * jit.dg/test-arith-overflow.c: New test case.
49         * jit.dg/all-non-failing-tests.h: Add test-arith-overflow.c.
50         * jit.dg/test-combination.c (create_code): Likewise.
51         (verify_code): Likewise.
52         * jit.dg/test-threads.c (testcases): Likewise.
54 2015-01-07  David Malcolm  <dmalcolm@redhat.com>
56         * jit.dg/jit.exp: Load wrapper.exp with %{tool} set to "g++"
57         rather than "jit".  Load g++.exp, and call g++_init.
58         Run test-*.cc files within the testsuite and *.cc files within
59         docs/examples.
60         (jit-dg-test): Drop the addition of -fgnu89-inline to
61         DEFAULT_CFLAGS in favor of adding it to additional_flags, only
62         doing it when compiling C testcases (since g++ does not handle
63         it).  Reset "orig_environment_saved" so that LD_LIBRARY_PATH
64         is restored to the value after g++_init ran, rather than the
65         value before g++_init ran.  Return a list of
66         $comp_output $output_file, as dg-test assumes.
68 2015-01-07  David Malcolm  <dmalcolm@redhat.com>
70         * jit.dg/harness.h (CHECK_NON_NULL): Add __func__ to output, to
71         make it easier to figure out the origin of each test result when
72         running test-combination.c and test-threads.c.
73         (CHECK_VALUE): Likewise.
74         (CHECK_DOUBLE_VALUE): Likewise.
75         (CHECK_STRING_VALUE): Likewise.
76         (CHECK_STRING_STARTS_WITH): Likewise.
77         (CHECK_STRING_CONTAINS): Likewise.
78         (CHECK): Likewise.
79         (check_string_value): Likewise, add "funcname" param.
80         (check_string_starts_with): Likewise.
81         (check_string_contains): Likewise.
83 2015-01-07  David Malcolm  <dmalcolm@redhat.com>
85         * jit.dg/jit.exp (jit-dg-test): Remove "rootname" call when
86         generating name of built executable.
88 2015-01-07  Marek Polacek  <polacek@redhat.com>
90         PR c/64440
91         * gcc.dg/pr64440.c: New test.
92         * c-c++-common/pr56607.c: Don't limit dg-warnings to C++.
94 2015-01-07  Marek Polacek  <polacek@redhat.com>
96         PR c/64417
97         * gcc.c-torture/compile/pr28865.c: Add dg-errors.
98         * gcc.dg/pr64417.c: New test.
100 2015-01-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
102         PR target/64505
103         * gcc.target/powerpc/pr64505.c: New file to test -m32 -mpowerpc64
104         fix is correct.
106 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
108         * lib/tsan-dg.exp (check_effective_target_fsanitize_thread):
109         Check if testcases run without errors, not just if they compile.
111 2015-01-06  Christian Bruel  <christian.bruel@st.com>
113         PR target/64507
114         * gcc.target/sh/pr64507.c: New test.
116 2015-01-06  Arnaud Charlet  <charlet@adacore.com>
118         * gnat.db/fixce.adb, gnat.db/specs/delta_small.ads: Kill warnings.
120 2015-01-06  Jakub Jelinek  <jakub@redhat.com>
122         * c-c++-common/asan/sanitize-all-1.c: New test.
123         * c-c++-common/ubsan/sanitize-all-1.c: New test.
124         * c-c++-common/ubsan/sanitize-all-2.c: New test.
125         * c-c++-common/ubsan/sanitize-all-3.c: New test.
126         * c-c++-common/ubsan/sanitize-all-4.c: New test.
128 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
130         * lib/target-supports.exp (check_profiling_available): Return 0 for
131         Visium.
132         (check_effective_target_tls_runtime): Likewise.
133         (check_effective_target_logical_op_short_circuit): Return 1 for Visium.
134         * gcc.dg/20020312-2.c: Adjust for Visium.
135         * gcc.dg/tls/thr-cse-1.c: Likewise
136         * gcc.dg/tree-ssa/20040204-1.c: Likewise
137         * gcc.dg/tree-ssa/loop-1.c: Likewise.
138         * gcc.dg/weak/typeof-2.c: Likewise.
140 2015-01-05  Radovan Obradovic <radovan.obradovic@imgtec.com>
142         PR rtl-optimization/64287
143         * gcc.dg/aru-2.c: New test.
145 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
147         PR sanitizer/64344
148         * c-c++-common/ubsan/pr64344-1.c: New test.
149         * c-c++-common/ubsan/pr64344-2.c: New test.
151         PR tree-optimization/64465
152         * gcc.dg/pr64465.c: New test.
154         PR tree-optimization/64494
155         * gcc.c-torture/compile/pr64494.c: New test.
157 2015-01-05  Thomas Koenig  <tkoenig@gcc.gnu.org>
159         PR fortran/47674
160         * gfortran.dg/realloc_on_assign_25.f90:  New test.
162 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
164         Update copyright years.
166 2015-01-05  Marek Polacek  <polacek@redhat.com>
168         PR c/64423
169         * gcc.dg/pr64423.c: New test.
171 2015-01-05  Hans-Peter Nilsson  <hp@bitrange.com>
173         * gcc.dg/debug/debug-1.c: Pass -fno-if-conversion for
174         mmix-knuth-mmixware for the same reason as for MIPS.
175         * gcc.dg/debug/debug-2.c: Ditto.
177         * gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets.
179 2015-01-03  John David Anglin  <danglin@gcc.gnu.org>
181         PR testsuite/62250
182         * lib/gfortran.exp: Add libatomic library search path.
183         * gfortran.dg/coarray/caf.exp: Add -latomic to test options.
184         * gfortran.dg/coarray_lib_comm_1.f90: Likewise.
186         * gcc.dg/pr63914.c: Add -fno-common option on hppa*-*-hpux*.
188 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
190         * c-c++-common/tsan/bitfield_race.c: New testcase.
191         * g++.dg/tsan/aligned_vs_unaligned_race.C: Fixed.
193 2015-01-02  Tobias Burnus  <burnus@net-b.de>
195         * gfortran.dg/coarray/collectives_4.f90: New.
197 2015-01-02  Janus Weil  <janus@gcc.gnu.org>
199         PR fortran/57562
200         * gfortran.dg/extends_16.f90: New.
202 2015-01-02  Tobias Burnus  <burnus@net-b.de>
204         * gfortran.dg/coarray/caf.exp (dg-compile-aux-modules): Add.
206 2015-01-02  Tobias Burnus  <burnus@net-b.de>
208         * gfortran.dg/coarray/codimension_2.f90: New.
209         * gfortran.dg/coarray/codimension_2a.f90: New.
210         * gfortran.dg/coarray_35.f90: New.
211         * gfortran.dg/coarray_35a.f90: New.
213 2015-01-02  Janus Weil  <janus@gcc.gnu.org>
215         PR fortran/60507
216         * gfortran.dg/dummy_procedure_11.f90: New.
218 Copyright (C) 2015 Free Software Foundation, Inc.
220 Copying and distribution of this file, with or without modification,
221 are permitted in any medium without royalty provided the copyright
222 notice and this notice are preserved.