OSDN Git Service

PR middle-end/54017
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / ChangeLog
index 7aba69e..a59572d 100644 (file)
@@ -1,3 +1,529 @@
+2012-07-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/54017
+       * c-c++-common/gomp/pr54017.c: New test.
+
+2012-07-18  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-05-03  Richard Guenther  <rguenther@suse.de>
+
+       * gfortran.dg/pr52621.f90: Add -w to avoid diagnostic about
+       unsupported prefetching support.
+
+2012-07-17  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53995
+       * g++.dg/parse/enum9.C: New.
+
+2012-07-17  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53989
+       * g++.dg/template/array23.C: New.
+
+2012-07-17  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53549
+       * g++.dg/template/current-inst1.C: New.
+       * g++.dg/parse/crash35.C: Adjust.
+
+2012-07-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR rtl-optimization/53908
+       * gcc.dg/torture/pr53908.c: New test.
+
+2012-07-10  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-07-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53811
+       * g++.dg/other/pr53811.C: New test.
+
+2012-07-10  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53733
+       * g++.dg/cpp0x/defaulted36.C: New.
+       * g++.dg/cpp0x/defaulted21.C: Adjust.
+
+       * g++.dg/cpp0x/implicit13.C: New.
+
+2012-07-09  Janis Johnson  <janisjo@codesourcery.com>
+
+       Backport from mainline.
+       2012-06-28  Janis Johnson  <janisjo@codesourcery.com>
+
+       * g++.dg/cpp0x/nullptr19.c: Remove exta directives on same line.
+
+       * g++.dg/template/error46.C: Add missing comment to dg-message.
+       * g++.dg/template/crash107.C: Likewise.
+       * g++.dg/template/error47.C: Likewise.
+       * g++.dg/template/crash108.C: Likewise.
+       * g++.dg/overload/operator5.C: Likewise.
+
+       * gcc.dg/Wstrict-aliasing-converted-assigned.c: Fix syntax
+       errors in dg-message directives, add comments.
+
+       2012-06-26  Janis Johnson  <janisjo@codesourcery.com>
+
+       * lib/scandump.exp (scan-dump, scan-dump-not, scan-dump-dem,
+       scan-dump-dem-not): Use printable pattern in test name.
+
+       2012-06-25  Janis Johnson  <janisjo@codesourcery.com>
+
+       * lib/target-supports-dg.exp (testname-for-summary): New.
+       * lib/profopt.exp (profopt_execute): Define testname_with_flags.
+       * lib/gcc-dg.exp (cleanup-coverage-files, cleanup-repo-notes,
+       cleanup-stack-usage, cleanup-dump, cleanup-saved-temps, scan-module,
+       scan-module-absence, output-exists, output-exists-not: Use
+       testname-for-summary.
+       (dg-test): Clean up testname_with_flags.
+       * lib/scanasm.exp (scan-assembler, scan-assembler-not, scan-hidden,
+       scan-not-hidden, scan-file, scan-file-not, scan-stack-usage,
+       scan-stack-usage-not, scan-assembler-times, scan-assembler-dem,
+       scan-assembler-dem-not, object-size: Use testname-for-summary.
+       * lib/gcov.exp (run-gcov): Likewise.
+       * lib/scandump.exp (scan-dump, scan-dump-times, scan-dump-not,
+       scan-dump-dem, scan-dump-dem-note): Likewise.
+
+       * lib/profopt.exp: Make prof_option_list local to profopt-execute.
+       * g++.dg/tree-prof/tree-prof.exp (PROFOPT_OPTIONS): Define after
+       including profopt.opt; save and restore existing value.
+       * g++.dg/bprob/bprob.exp: Likewise.
+       * gcc.dg/matrix/matrix.exp: Likewise.
+       * gcc.dg/tree-prof/tree-prof.exp: Likewise.
+       * gcc.misc-tests/bprob.exp: Likewise; also replace formerly-ignored
+       PROFOPT_OPTIONS.
+
+       2012-06-15  Janis Johnson  <janosjo@codesourcery.com>
+
+       * lib/gcov.exp (verify-lines, verify-branches, verify-calls): Use
+       testname that includes flags, passed in as new argument, in
+       pass/fail messages.
+       (run_gcov): Get testname from dg-test, use it in pass/fail messages
+       and pass it to verify-* procedures.
+
+       * g++.dg/torture/stackalign/stackalign.exp: Combine stack
+       alignment torture options with usual torture options.
+
+       * g++.dg/cpp0x/auto27.C: Add comments to checks for multiple
+       messages reported for one line of source code.
+       * g++.dg/cpp0x/constexpr-decl.C: Likewise.
+       * g++.dg/cpp0x/decltype2.C: Likewise.
+       * g++.dg/cpp0x/decltype3.C: Likewise.
+       * g++.dg/cpp0x/lambda/lambda-syntax1.C: Likewise.
+       * g++.dg/cpp0x/regress/error-recovery1.C: Likewise.
+       * g++.dg/cpp0x/static_assert3.C: Likewise.
+       * g++.dg/cpp0x/udlit-cpp98-neg.C: Likewise.
+       * g++.dg/cpp0x/udlit-shadow-neg.C: Likewise.
+       * g++.dg/cpp0x/union1.C: Likewise.
+       * g++.dg/cpp0x/variadic-ex10.C: Likewise.
+       * g++.dg/cpp0x/variadic-ex14.C: Likewise.
+       * g++.dg/cpp0x/variadic2.C: Likewise.
+       * g++.dg/cpp0x/variadic20.C: Likewise.
+       * g++.dg/cpp0x/variadic74.C: Likewise.
+       * g++.dg/diagnostic/bitfld2.C: Likewise.
+       * g++.dg/ext/attrib44.C: Likewise.
+       * g++.dg/ext/no-asm-1.C: Likewise.
+       * g++.dg/other/error34.C: Likewise.
+       * g++.dg/parse/crash46.C: Likewise.
+       * g++.dg/parse/error10.C: Likewise.
+       * g++.dg/parse/error2.C: Likewise.
+       * g++.dg/parse/error3.C: Likewise.
+       * g++.dg/parse/error36.C: Likewise.
+       * g++.dg/parse/error8.C: Likewise.
+       * g++.dg/parse/error9.C: Likewise.
+       * g++.dg/parse/parser-pr28152-2.C: Likewise.
+       * g++.dg/parse/parser-pr28152.C: Likewise.
+       * g++.dg/parse/template25.C: Likewise.
+       * g++.dg/parse/typename11.C: Likewise.
+       * g++.dg/tc1/dr147.C: Likewise.
+       * g++.dg/template/deduce3.C: Likewise.
+       * g++.dg/template/koenig9.C: Likewise.
+       * g++.dg/template/pr23510.C: Likewise.
+       * g++.dg/warn/pr12242.C: Likewise.
+       * g++.dg/warn/pr30551-2.C: Likewise.
+       * g++.dg/warn/pr30551.C: Likewise.
+       * g++.old-deja/g++.other/typename1.C: Likewise.
+       * g++.old-deja/g++.pt/niklas01a.C: Likewise.
+
+       2012-06-13  Janis Johnson  <janisjo@codesourcery.com>
+
+       PR testsuite/20771
+       * lib/dg-pch.exp (dg-flags-pch): Add flags to make compile lines in
+       test summary unique.
+
+       * lib/scanasm.exp (scan-assembler, scan-assembler-not, scan-hidden,
+       scan-not-hiddent, scan-file, scan-file-not, scan-stack-usage,
+       scan-stack-usage-not): Don't strip torture options from test name.
+
+       * lib/scandump.exp (scan-dump-times): Use printable version of
+       regexp in test summary line.
+
+       * gcc.dg/di-longlong64-sync-1.c: Add comments to checks for multiple
+       messages reported for one line of source code.
+       * gcc.dg/format/few-1.c: Likewise.
+       * gcc.dg/ia64-sync-2.c: Likewise.
+       * gcc.dg/sync-2.c: Likewise.
+       * gcc.dg/noncompile/pr44517.c: Likewise.
+
+       2012-06-12  Janis Johnson  <janisjo@codesourcery.com>
+
+       * gcc.dg/torture/stackalign/stackalign.exp: Combine stack
+       alignment torture options with usual torture options.
+       * gcc.dg/torture/stackalign/alloca-2.c: Use dg-additional-options
+       instead of dg-options.
+       * gcc.dg/torture/stackalign/alloca-3.c: Likewise.
+       * gcc.dg/torture/stackalign/alloca-4.c: Likewise.
+       * gcc.dg/torture/stackalign/alloca-5.c: Likewise.
+       * gcc.dg/torture/stackalign/alloca-6.c: Likewise.
+       * gcc.dg/torture/stackalign/push-1.c: Likewise.
+       * gcc.dg/torture/stackalign/vararg-3.c: Likewise.
+
+       * gcc.target/arm/di-longlong64-sync-withhelpers.c: Add comments
+       to checks for multiple messages reported for one line of source code.
+       * gcc.target/arm/di-longlong64-sync-withldrexd.c: Likewise.
+
+       * gcc.c-torture/compile/sync-1.c: Add comments to checks for multiple
+       messages reported for one line of source code.
+
+       * gcc.dg/20031223-1.c: Add comments to check for multiple
+       messages reported for one line of source code.
+       * gcc.dg/Wconversion-integer.c: Likewise.
+       * gcc.dg/Wfatal-2.c: Likewise.
+       * gcc.dg/Wfatal.c: Likewise.
+       * gcc.dg/Wobjsize-1.c: Likewise.
+       * gcc.dg/c99-vla-jump-1.c: Likewise.
+       * gcc.dg/c99-vla-jump-2.c: Likewise.
+       * gcc.dg/c99-vla-jump-3.c: Likewise.
+       * gcc.dg/c99-vla-jump-4.c: Likewise.
+       * gcc.dg/c99-vla-jump-5.c: Likewise.
+       * gcc.dg/decl-9.c: Likewise.
+       * gcc.dg/declspec-10.c: Likewise.
+       * gcc.dg/declspec-18.c: Likewise.
+       * gcc.dg/mtune.c: Likewise.
+       * gcc.dg/parser-pr28152-2.c: Likewise.
+       * gcc.dg/parser-pr28152.c: Likewise.
+       * gcc.dg/pr14475.c: Likewise.
+       * gcc.dg/pr27953.c: Likewise.
+       * gcc.dg/pr28322-3.c: Likewise.
+       * gcc.dg/pr30457.c: Likewise.
+       * gcc.dg/pr30551-2.c: Likewise.
+       * gcc.dg/pr30551-3.c: Likewise.
+       * gcc.dg/pr30551-4.c: Likewise.
+       * gcc.dg/pr30551-5.c: Likewise.
+       * gcc.dg/pr30551-6.c: Likewise.
+       * gcc.dg/pr30551.c: Likewise.
+       * gcc.dg/pr45461.c: Likewise.
+       * gcc.dg/pr48552-1.c: Likewise.
+       * gcc.dg/pr48552-2.c: Likewise.
+       * gcc.dg/redecl-1.c: Likewise.
+       * gcc.dg/transparent-union-3.c: Likewise.
+       * gcc.dg/utf-dflt.c: Likewise.
+       * gcc.dg/utf-dflt2.c: Likewise.
+       * gcc.dg/vla-8.c: Likewise.
+       * gcc.dg/vla-init-1.c: Likewise.
+       * gcc.dg/wtr-int-type-1.c: Likewise.
+
+       * c-c++-common/raw-string-3.c: Add comments to checks for multiple
+       messages reported for for one line of source code.
+       * c-c++-common/raw-string-5.c: Likewise.
+       * c-c++-common/raw-string-4.c: Likewise.
+       * c-c++-common/raw-string-6.c: Likewise.
+       * c-c++-common/pr20000.c: Likewise.
+
+       * gcc.dg/cpp/include2a.c: Add comments to checks for multiple
+       messages reported for one line of source code.
+       * gcc.dg/cpp/pr30786.c: Likewise.
+       * gcc.dg/cpp/pr28709.c: Likewise.
+       * gcc.dg/cpp/missing-header-MD.c: Likewise.
+       * gcc.dg/cpp/macspace2.c: Likewise.
+       * gcc.dg/cpp/missing-header-1.c: Likewise.
+       * gcc.dg/cpp/missing-header-MMD.c: Likewise.
+       * gcc.dg/cpp/missing-sysheader-MD.c: Likewise.
+       * gcc.dg/cpp/missing-sysheader-MMD.c: Likewise.
+
+2012-07-09  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53882
+       * g++.dg/cpp0x/nullptr29.C: New.
+
+2012-07-06  Mikael Morin  <mikael@gcc.gnu.org>
+
+       PR fortran/53732
+       * gfortran.dg/inline_sum_4.f90: New test.
+
+2012-07-06  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-06-18  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/53693
+       * g++.dg/torture/pr53693.C: New testcase.
+
+2012-07-06  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-04-11  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/52621
+       * gfortran.dg/pr52621.f90: New testcase.
+
+2012-07-05  Pat Haugen <pthaugen@us.ibm.com>
+
+       Backport from mainline
+       2012-05-24  Pat Haugen <pthaugen@us.ibm.com>
+
+       * gcc.target/powerpc/lhs-1.c: New.
+       * gcc.target/powerpc/lhs-2.c: New.
+       * gcc.target/powerpc/lhs-3.c: New.
+
+2012-07-03  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/recursive_call.adb: New test.
+
+2012-07-03  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/discr37.ad[sb]: New test.
+
+2012-07-02  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53816
+       * g++.dg/template/ref6.C: New.
+
+       PR c++/53821
+       * g++.dg/cpp0x/lambda/lambda-template6.C: New.
+
+2012-06-29  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
+       Backport from mainline.
+       2012-05-30  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+       * gcc.target/arm/neon-vrev.c: New.
+
+2012-06-28  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/53790
+       * gcc.dg/torture/pr53790.c: New testcase.
+
+2012-06-27  Fabien ChĂȘne  <fabien@gcc.gnu.org>
+
+       PR c++/51214
+       * g++.dg/cpp0x/forw_enum11.C: New.
+
+2012-06-26  Richard Guenther  <rguenther@suse.de>
+
+       PR c++/53752
+       * g++.dg/torture/pr53752.C: New testcase.
+
+2012-06-25  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53498
+       PR c++/53305
+       * g++.dg/cpp0x/decltype38.C: New.
+       * g++.dg/cpp0x/variadic132.C: New.
+
+       PR c++/52988
+       * g++.dg/cpp0x/nullptr28.C: New.
+
+       PR c++/53202
+       * g++.dg/cpp0x/constexpr-tuple.C: New.
+
+2012-06-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/53759
+       * gcc.target/i386/pr53759.c: New test.
+
+       PR c++/53594
+       * g++.dg/cpp0x/nsdmi7.C: New test.
+
+2012-06-22  Tobias Burnus  <burnus@net-b.de>
+
+       Backport from mainline
+       2012-06-17  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/53691
+       PR fortran/53685
+       * gfortran.dg/transfer_check_3.f90: New.
+
+2012-06-22  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/lto15.ad[sb]: New test.
+
+2012-06-19  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * gcc.dg/stack-usage-1.c: Remove dg-options line for sh targets
+       and add __sh__ case.
+
+2012-06-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53651
+       * g++.dg/cpp0x/decltype37.C: New.
+
+       PR c++/52637
+       * g++.dg/debug/localclass1.C: New.
+
+       * g++.dg/debug/dwarf2/namespace-2.C: New.
+       * g++.dg/debug/dwarf2/localclass3.C: New.
+
+2012-06-19  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/53470
+       * g++.dg/lto/pr53470_0.C: New testcase.
+       * gcc.dg/lto/pr53470_0.c: Likewise.
+
+2012-06-19  Jason Merrill  <jason@redhat.com>
+
+       Reapply:
+       PR c++/53137
+       * g++.dg/cpp0x/lambda/lambda-template5.C: New.
+
+       PR c++/53599
+       * g++.dg/template/local7.C: New.
+
+2012-06-16  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
+
+       Back port from mainline
+       2012-05-09 Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/52908
+       * gcc.target/i386/xop-imul32widen-vector.c: Update scan-assembler
+       directive to Scan for vpmuldq, not vpmacsdql.
+
+2012-06-15  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/vect8.ad[sb]: New test.
+
+2012-06-14  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from mainline
+       2012-06-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/53589
+       * gcc.dg/torture/pr53589.c: New test.
+
+       2012-06-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/53580
+       * gcc.dg/gomp/nesting-1.c: Expect errors rather than warnings.
+       * gcc.dg/gomp/critical-4.c: Likewise.
+       * gfortran.dg/gomp/appendix-a/a.35.1.f90: Likewise.
+       * gfortran.dg/gomp/appendix-a/a.35.3.f90: Likewise.
+       * gfortran.dg/gomp/appendix-a/a.35.4.f90: Likewise.
+       * gfortran.dg/gomp/appendix-a/a.35.6.f90: Likewise.
+       * c-c++-common/gomp/pr53580.c: New test.
+
+2012-06-14  Tobias Burnus  <burnus@net-b.de>
+
+       Backport from mainline
+       2012-06-04  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/50619
+       * gfortran.dg/init_flag_10.f90: New.
+
+2012-06-14  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-06-11  Richard Guenther  <rguenther@suse.de>
+
+       PR c++/53616
+       * g++.dg/ext/pr53605.C: New testcase.
+
+2012-06-14  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/53597
+       * gfortran.dg/save_4.f90: New.
+
+2012-06-14  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-06-06  Fabien ChĂȘne  <fabien@gcc.gnu.org>
+
+       PR c++/52841
+       * g++.dg/cpp0x/pr52841.C: New testcase.
+
+2012-06-13  Christian Bruel  <christian.bruel@st.com>
+
+       PR target/53621
+       * gcc.dg/stack-usage-1.c: Force -fomit-frame-pointer on SH.
+
+2012-06-14  Release Manager
+
+       * GCC 4.7.1 released.
+
+2012-06-12  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53599
+       * g++.dg/template/local7.C: New.
+
+       Revert:
+       PR c++/53137
+       * g++.dg/cpp0x/lambda/lambda-template5.C: New.
+
+2012-06-04  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/53524
+       * g++.dg/warn/Wenum-compare-no-2: New.
+
+2012-06-04  Edmar Wienskoski  <edmar@freescale.com>
+
+       PR target/53559
+       * gcc.target/powerpc/cell_builtin_1.c: New test case.
+       * gcc.target/powerpc/cell_builtin_2.c: Ditto.
+       * gcc.target/powerpc/cell_builtin_3.c: Ditto.
+       * gcc.target/powerpc/cell_builtin_4.c: Ditto.
+       * gcc.target/powerpc/cell_builtin_5.c: Ditto.
+       * gcc.target/powerpc/cell_builtin_6.c: Ditto.
+       * gcc.target/powerpc/cell_builtin_7.c: Ditto.
+       * gcc.target/powerpc/cell_builtin_8.c: Ditto.
+
+2012-06-04  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-04-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/52979
+       * gcc.c-torture/compile/pr52979-1.c: New test.
+       * gcc.c-torture/execute/pr52979-1.c: New test.
+       * gcc.c-torture/execute/pr52979-2.c: New test.
+
+2012-06-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/53550
+       * gcc.dg/pr53550.c: New test.
+
+2012-06-04  Richard Guenther  <rguenther@suse.de>
+           Eric Botcazou  <ebotcazou@adacore.com>
+
+       Backport from mainline
+       PR middle-end/52080
+       PR middle-end/52097
+       PR middle-end/48124
+       * gcc.dg/torture/pr48124-1.c: New testcase.
+       * gcc.dg/torture/pr48124-2.c: Likewise.
+       * gcc.dg/torture/pr48124-3.c: Likewise.
+       * gcc.dg/torture/pr48124-4.c: Likewise.
+       * gnat.dg/pack16.adb: Likewise.
+       * gnat.dg/pack16_pkg.ads: Likewise.
+       * gnat.dg/pack17.adb: Likewise.
+       * gnat.dg/specs/pack7.ads: Likewise.
+       * gnat.dg/specs/pack8.ads: Likewise.
+       * gnat.dg/specs/pack8_pkg.ads: Likewise.
+
+2012-06-01  Jason Merrill  <jason@redhat.com>
+
+       PR c++/52973
+       * g++.dg/ext/visibility/template12.C: New.
+       * g++.dg/ext/attrib14.C: Adjust warning line.
+
+       PR c++/52725
+       * g++.dg/parse/new6.C: New.
+       * g++.dg/template/sizeof-template-argument.C: Adjust error message.
+
+2012-06-01  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53137
+       * g++.dg/cpp0x/lambda/lambda-template5.C: New.
+
 2012-06-01  Jason Merrill  <jason@redhat.com>
 
        PR c++/53484