OSDN Git Service

Fix PR debug/45024
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / ChangeLog
index f987058..79e3b60 100644 (file)
@@ -1,3 +1,456 @@
+2010-07-22  Dodji Seketeli  <dodji@redhat.com>
+
+       PR debug/45024
+       * g++.dg/debug/dwarf2/nested-2.C: New test case.
+
+2010-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.dg/lto/20100722-1_0.c: Replace dg-require-lto-plugin
+       with dg-require-linker-plugin.
+
+2010-07-22  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/43850
+       * g++.dg/lto/20100722-1_0.C: New testcase.
+
+2010-07-22  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/42451
+       * gcc.dg/lto/20100720-3_0.c: New testcase.
+       * gcc.dg/lto/20100720-3_1.c: Likewise.
+
+2010-07-22  Richard Guenther  <rguenther@suse.de>
+
+       * lib/target-supports-dg.exp (dg-require-linker-plugin): New proc.
+       * lib/target-supports.exp (check_linker_plugin_available): Likewise.
+
+       PR lto/43373
+       * gcc.dg/lto/20100722-1_0.c: New testcase.
+
+2010-07-22  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/44891
+       * testsuite/gcc.c-torture/compile/pr44891.c: New test.
+
+2010-07-22  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/45017
+       * gcc.c-torture/execute/pr45017.c: New testcase.
+
+2010-07-22  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/45019
+       * gfortran.dg/aliasing_dummy_5.f90: New.
+
+2010-07-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       PR target/43698
+       * gcc.target/arm/pr43698.c: New test.
+
+2010-07-21  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       PR fortran/44929
+       * Revert my commit r162325 for this PR.
+
+2010-07-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/45015
+       * gcc.target/m68k/pr45015.c: New test.
+
+2010-07-21  Jeffrey Yasskin  <jyasskin@google.com>
+
+       PR c++/44641
+       * lib/scanasm.exp (dg-function-on-line): Fix regex for IA64's
+       comments.
+
+2010-07-21  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/45018
+       * g++.dg/lto/20100721-1_0.C: New testcase.
+
+2010-07-21  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/44900
+       * g++.dg/torture/pr44900.C: New test.
+
+2010-07-21  Bernd Schmidt  <bernds@codesourcery.com>
+
+       PR middle-end/44738
+       * c-c++-common/uninit-17.c: Correct expected error.
+
+2010-07-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/guality/asm-1.c: New test.
+
+       PR debug/45003
+       * gcc.dg/guality/pr45003-2.c: New test.
+       * gcc.dg/guality/pr45003-3.c: New test.
+
+2010-07-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/44697
+       * gfortran.dg/ftell_3.f90: Take care of cr-lf record endings.
+
+2010-07-20  Jeffrey Yasskin  <jyasskin@google.com>
+
+       * lib/scanasm.exp (dg-function-on-line): Test that a function is
+       defined on the current line.
+       * g++.dg/debug/dwarf2/lineno-simple1.C: New. Line number sanity test.
+       * g++.dg/debug/dwarf2/pr44641.C: New.
+
+2010-07-20  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * gcc.target/powerpc/block-move-1.c: New test.
+       * gcc.target/powerpc/block-move-2.c: New test.
+
+2010-07-20  Jason Merrill  <jason@redhat.com>
+
+       PR c++/44967
+       * g++.dg/cpp0x/sfinae2.C: New.
+
+2010-07-20  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/42696
+       * gcc.dg/lto/20100720-4_0.c: New testcase.
+
+2010-07-20  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/43221
+       * gcc.dg/lto/20100720-2_0.c: New testcase.
+       * gcc.dg/lto/20100720-2_1.c: Likewise.
+
+2010-07-20  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/43208
+       * gcc.dg/lto/20100720-1_0.c: New testcase.
+       * gcc.dg/lto/20100720-1_1.c: Likewise.
+
+2010-07-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/45003
+       * gcc.dg/guality/pr45003-1.c: New test.
+
+2010-07-20  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/44977
+       * gcc.dg/torture/pr44977.c: New testcase.
+
+2010-07-20  Bingfeng Mei  <bmei@broadcom.com>
+
+       * gcc.dg/lto/20090313_0.c: Use dg-require-effective-target
+       sync_char_short
+
+2010-07-20  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/44971
+       PR middle-end/44988
+       * gcc.dg/pr44971.c: New testcase.
+       * gcc.c-torture/compile/pr44988.c: Likewise.
+
+2010-07-19  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       PR fortran/44929
+       * gfortran.dg/allocate_with_typespec.f90: New test.
+       * gfortran.dg/allocate_derived_1.f90: Update error message.
+
+2010-07-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/44996
+       * g++.dg/cpp0x/decltype23.C: New.
+
+2010-07-19  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/42385
+       * gfortran.dg/class_defined_operator_1.f03 : New test.
+
+2010-07-19  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gcc.dg/vect/slp-perm-1.c (main): Make sure loops aren't vectorized.
+       * gcc.dg/vect/slp-perm-2.c (main): Likewise.
+       * gcc.dg/vect/slp-perm-3.c (main): Likewise.  Fix loop limit.
+       * gcc.dg/vect/slp-perm-4.c (main): Fix loop limit.
+
+2010-07-19  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/44941
+       * gcc.c-torture/compile/pr44941.c: New testcase.
+
+2010-07-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/44969
+       * g++.dg/template/sfinae24.C: New.
+
+2010-07-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR fortran/44353
+       * gfortran.dg/data_implied_do_2.f90: Removed.
+
+2010-07-19  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/44969
+       * g++.dg/template/sfinae23.C: New.
+
+2010-07-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * lib/target-supports.exp (check_sse_os_support_available): New
+       proc.
+       (check_sse_hw_available): New proc.
+       (check_effective_target_sse_runtime): New proc.
+       (check_effective_target_sse2_runtime): New proc.
+       * lib/fortran-torture.exp (get-fortran-torture-options): Only add
+       -msse2 if check_sse_os_support_available.
+       * g++.dg/vect/vect.exp: Only run -msse2 tests if
+       check_sse_os_support_available.
+       * gcc.dg/vect/vect.exp: Likewise.
+       * gfortran.dg/vect/vect.exp: Likewise.
+       * gcc.target/i386/sol2-check: Renamed to ...
+       * gcc.target/i386/sse-os-support.h: ... this.
+       (sol2_check): Renamed to ...
+       (sse_os_support): ... this.
+       Only test movss with xmm registers.
+       * gcc.target/i386/sse-check.h: Reflect new header and function names.
+       Removed ILL_INSN, ILL_INSN_LEN.
+       * gcc.target/i386/sse2-check.h: Likewise.
+       * gcc.target/i386/sse3-check.h: Likewise.
+       * gcc.dg/pr40550.c: Use dg-require-effective-target sse_runtime.
+       Removed cpuid.h, __get_cpuid test.
+       * g++.dg/other/i386-1.C: Use dg-require-effective-target sse2_runtime.
+       Removed cpuid.h, __get_cpuid test.
+       * g++.dg/other/pr40446.C: Likewise.
+       * gcc.dg/compat/union-m128-1_main.c: Likewise.
+       * gcc.dg/compat/vector-1a_main.c: Likewise.
+       * gcc.dg/compat/vector-2a_main.c: Likewise.
+       * gcc.dg/pr36584.c: Likewise.
+       * gcc.dg/pr37544.c: Likewise.
+       * gcc.dg/torture/pr16104-1.c: Likewise.
+       * gcc.dg/torture/stackalign/alloca-2.c: Likewise.
+       * gcc.dg/torture/stackalign/alloca-3.c: Likewise.
+       * gcc.dg/torture/stackalign/push-1.c: Likewise.
+       * gcc.dg/torture/stackalign/vararg-3.c: Likewise.
+       * gcc.dg/torture/pr35771.h: Removed cpuid.h, __get_cpuid test.
+       * gcc.dg/torture/pr35771-1.c: Use dg-require-effective-target
+       sse2_runtime.
+       * gcc.dg/torture/pr35771-2.c: Likewise.
+       * gcc.dg/torture/pr35771-3.c: Likewise.
+       * gcc.target/i386/pr39315-2.c: Likewise.
+       * gcc.target/i386/pr39315-4.c: Likewise.
+       * gcc.target/i386/vperm-v2df.c: Likewise.
+       * gcc.target/i386/vperm-v2di.c: Likewise.
+       * gcc.target/i386/vperm-v4si-1.c: Likewise.
+       * gcc.target/i386/vperm-v4sf-1.c: Use dg-require-effective-target
+       sse_runtime.
+
+2010-07-18  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/44353
+       * gfortran.dg/data_implied_do_2.f90: New test.
+
+2010-07-18  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * gcc.target/mips/cache-1.c: Allow 0 instead of 0x0.
+
+2010-07-18  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * gcc.target/mips/mips.exp (mips_option_groups): Add -mflip-mips16
+       to the "mips16" group.
+       (mips_using_mips16_p): New procedure.
+       (mips-dg-options): Use it.
+
+2010-07-18  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * gcc.target/mips/mips16-attributes-4.c: New test.
+
+2010-07-17  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR testsuite/44418
+       * gcc.target/powerpc/recip-1.c: Do not run for powerpc*-apple-darwin*
+       * gcc.target/powerpc/recip-2.c: Ditto.
+       * gcc.target/powerpc/recip-3.c: Ditto.
+
+2010-07-17  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * gcc.target/arm/pr42235.c: New test.
+
+2010-07-16  Jason Merrill  <jason@redhat.com>
+
+       PR c++/32505
+       * g++.dg/template/partial8.C: New.
+
+2010-07-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/guality/guality.exp: Run also c-c++-common/guality/ tests.
+       * gcc.dg/guality/guality.h: Include unistd.h.  Make the header usable
+       in C++.
+       (gualcvt): New overloaded inline.
+       (GUALCVT): Use it for C++.
+       * g++.dg/guality/guality.exp: New.
+       * g++.dg/guality/guality.h: New.
+       * g++.dg/guality/redeclaration1.C: New test.
+       * g++.dg/dg.exp: Prune also guality/* tests.
+       * gcc.dg/guality/pr43141.c: Moved to...
+       * c-c++-common/guality/pr43141.c: ... here.
+
+2010-07-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/37077
+       * gfortran.dg/char4_iunit_2.f03: New test.
+
+2010-07-16  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * lib/plugin-support.exp (plugin-test-execute):
+       Add ${gcc_objdir}/intl to includes.
+       
+2010-07-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/44942
+       * gcc.c-torture/execute/pr44942.c: New test.
+       * gcc.target/i386/pr44942.c: New test.
+
+2010-07-15  Jason Merrill  <jason@redhat.com>
+
+       PR c++/44909
+       * g++.dg/cpp0x/implicit7.C: New.
+       * g++.dg/cpp0x/implicit8.C: New.
+
+2010-07-15  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       Disable float tests for __SPU__ targets due to lack of signed zero:
+       * c-c++-common/torture/complex-sign-add.c (check_add_float).
+       * c-c++-common/torture/complex-sign-sub.c (check_sub_float).
+       * c-c++-common/torture/complex-sign-mul.c (check_mul_float).
+       * c-c++-common/torture/complex-sign-mul-one.c (check_mul_float).
+       * c-c++-common/torture/complex-sign-mul-minus-one.c (check_mul_float).
+       * c-c++-common/torture/complex-sign-mixed-add.c (check_add_float).
+       * c-c++-common/torture/complex-sign-mixed-sub.c (check_sub_float).
+       * c-c++-common/torture/complex-sign-mixed-mul.c (check_mul_float).
+       * c-c++-common/torture/complex-sign-mixed-div.c (check_div_float).
+
+2010-07-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * gfortran.dg/select_char_2.f90: New test.
+
+2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * g++.dg/plugin/attribute_plugin.c: Carefully replace TREE_CHAIN
+       with DECL_CHAIN.
+
+2010-07-15  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/44936
+       * gfortran.dg/typebound_generic_9.f03: New.
+
+2010-07-15  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/44946
+       * gcc.c-torture/compile/pr44946.c: New testcase.
+
+2010-07-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/40206
+       * gfortran.dg/select_char_3.f90: New test.
+
+2010-07-15  Magnus Granberg  <zorry@gentoo.org>
+           Kevin F. Quinn  <kevquinn@gentoo.org>
+
+        * gcc.dg/Wtrampolines.c: New.
+
+2010-07-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/44934
+       * gfortran.dg/endfile_2.f90: Fix to unformatted file type.
+
+2010-07-14  Jason Merrill  <jason@redhat.com>
+
+       PR c++/44810
+       * g++.dg/torture/pr36745.C: Avoid undefined behavior.
+
+       Implement C++0x unrestricted unions (N2544)
+       * g++.dg/cpp0x/union1.C: New.
+       * g++.dg/cpp0x/union2.C: New.
+       * g++.dg/cpp0x/union3.C: New.
+       * g++.dg/cpp0x/defaulted2.C: Adjust.
+       * g++.old-deja/g++.bugs/900121_02.C: Adjust.
+       * g++.old-deja/g++.ext/anon2.C: Adjust.
+       * g++.old-deja/g++.mike/misc6.C: Adjust.
+
+2010-07-14  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/44925
+       * gfortran.dg/c_loc_tests_15.f90: New.
+
+2010-07-13  Jason Merrill  <jason@redhat.com>
+
+       PR c++/44909
+       * g++.dg/cpp0x/implicit6.C: New.
+
+2010-07-13  Jason Merrill  <jason@redhat.com>
+
+       PR c++/44540
+       * g++.dg/abi/noreturn1.C: New.
+       * g++.dg/abi/noreturn2.C: New.
+
+2010-07-13  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       PR other/44874
+       PR debug/44832
+       * c-c++-common/pr44832.c: New test.
+
+2010-07-13  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR objc/44488
+       * lib/objc-torture.exp (objc-set-runtime-options): Base runtime list
+       on the target.  Make sure that we can assemble the emitted asm when 
+       the test type is 'compile'.
+       
+2010-07-13  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/36960
+       * g++.dg/torture/pr36960.C: New testcase.
+
+2010-07-13  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/44908
+       * g++.dg/template/sfinae21.C: New.
+       * g++.dg/template/sfinae22.C: Likewise.
+
+2010-07-16  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+       PR testsuite/42843
+       * gcc.dg/plugin/selfassign.c: Include diagnostic.h.
+       * gcc.dg/plugin/ggcplug.c: Likewise.
+       * g++.dg/plugin/selfassign.c: Likewise.
+       * g++.dg/plugin/attribute_plugin.c: Likewise.
+       * g++.dg/plugin/dumb_plugin.c: Likewise.
+       * g++.dg/plugin/pragma_plugin.c: Likewise.
+
+2010-07-13  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * gcc.c-torture/execute/pr44683.x: New.
+       * gcc.dg/torture/builtin-cproj-1.c: Add dg-add-options ieee.
+
+2010-07-13  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/44434
+       PR fortran/44565
+       PR fortran/43945
+       PR fortran/44869
+       * gfortran.dg/dynamic_dispatch_1.f03: Fixed invalid test case.
+       * gfortran.dg/dynamic_dispatch_2.f03: Ditto.
+       * gfortran.dg/dynamic_dispatch_3.f03: Ditto.
+       * gfortran.dh/typebound_call_16.f03: New.
+       * gfortran.dg/typebound_generic_6.f03: New.
+       * gfortran.dg/typebound_generic_7.f03: New.
+       * gfortran.dg/typebound_generic_8.f03: New.
+
+2010-07-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libfortran/37077
+       * gfortran.dg/char4_iunit_1.f03: New test.
+
+2010-07-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.dg/tree-ssa/vrp53.c: New test.
+
 2010-07-12  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/44907