1. 25 Feb, 2011 1 commit
  2. 24 Feb, 2011 25 commits
  3. 23 Feb, 2011 14 commits
    • re PR fortran/40850 (double free in nested types with allocatable components) · 46b2c440
      2011-02-23  Mikael Morin  <mikael@gcc.gnu.org>
      
      	PR fortran/40850
      	* trans.c (gfc_prepend_expr_to_block): New function.
      	* trans.h (gfc_prepend_expr_to_block): Declare.
      	* trans-array.c (gfc_conv_array_parameter): Replace
      	gfc_add_expr_to_block with gfc_prepend_expr_to_block.
      
      2011-02-23  Mikael Morin  <mikael@gcc.gnu.org>
      
      	PR fortran/40850
      	* gfortran.dg/nested_allocatables_1.f90: New.
      
      From-SVN: r170445
      Mikael Morin committed
    • re PR tree-optimization/47849 (ICE: SIGSEGV in find_edge (cfganal.c:491) with… · b14fad9d
      re PR tree-optimization/47849 (ICE: SIGSEGV in find_edge (cfganal.c:491) with -ftree-loop-if-convert -fno-tree-reassoc)
      
      2011-02-23  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/47849
      	* tree-if-conv.c (main_tree_if_conversion): Free postdom info.
      
      From-SVN: r170441
      Richard Guenther committed
    • re PR c++/46868 (ICE: SIGSEGV splay_tree_splay (splay-tree.c:149) on invalid code) · 9113b9fb
      fix PR c++/46868
      gcc/cp/
      	PR c++/46868
      	* parser.c (cp_parser_class_specifier): Require a closing brace
      	to attempt error recovery.
      
      gcc/testsuite/
      	PR c++/46868
      	* g++.dg/pr46868.C: New test.
      	* g++.dg/parse/parameter-declaration-1.C: Adjust.
      	* g++.dg/parse/error14.C: Adjust.
      
      From-SVN: r170440
      Nathan Froyd committed
    • re PR tree-optimization/47838 (FAIL: gcc.dg/tree-ssa/foldconst-2.c… · c70c0342
      re PR tree-optimization/47838 (FAIL: gcc.dg/tree-ssa/foldconst-2.c scan-tree-dump-not optimized "fundamentals..0")
      
      	PR tree-optimization/47838
      	* gcc.dg/tree-ssa/foldconst-2.c: Scan tree-ch dump.
      
      From-SVN: r170439
      Richard Guenther committed
    • allocate_deferred_char_scalar_1.f03: Fix dg-do syntax. · 4790fd98
      	* gfortran.dg/allocate_deferred_char_scalar_1.f03: Fix dg-do syntax.
      	* gfortran.dg/count_init_expr.f03: Ditto.
      	* gfortran.dg/gomp/pr43711.f90: Ditto.
      	* gcc.dg/struct-parse-2.c: Ditto.
      	* gcc.dg/parse-error-3.c: Ditto.
      	* gcc.dg/Wlogical-op-1.c: Ditto.
      	* gcc.dg/Walways-true-1.c: Ditto.
      	* gcc.dg/pr24225.c: Ditto.
      	* gcc.dg/Walways-true-2.c: Ditto.
      	* gcc.dg/tree-ssa/foldcast-1.c: Ditto.
      	* gcc.dg/tree-ssa/struct-aliasing-1.c: Ditto.
      	* gcc.dg/tree-ssa/struct-aliasing-2.c: Ditto.
      	* g++.dg/overload/defarg4.C: Ditto.
      	* g++.dg/inherit/covariant16.C: Ditto.
      	* g++.dg/inherit/virtual7.C: Ditto.
      	* g++.dg/template/canon-type-9.C: Ditto.
      	* g++.dg/template/access19.C: Ditto.
      	* g++.dg/template/call7.C: Ditto.
      	* g++.dg/template/canon-type-2.C: Ditto.
      	* g++.dg/template/init7.C: Ditto.
      	* g++.dg/template/sizeof-template-argument.C: Ditto.
      	* g++.dg/template/const3.C: Ditto.
      	* g++.dg/template/sfinae26.C: Ditto.
      	* g++.dg/template/sfinae26.C: Ditto.
      	* g++.dg/template/canon-type-11.C: Ditto.
      	* g++.dg/template/union2.C: Ditto.
      	* g++.dg/template/canon-type-3.C: Ditto.
      	* g++.dg/template/canon-type-1.C: Ditto.
      	* g++.dg/template/canon-type-5.C: Ditto.
      	* g++.dg/template/canon-type-7.C: Ditto.
      	* g++.dg/template/canon-type-10.C: Ditto.
      	* g++.dg/template/spec36.C: Ditto.
      	* g++.dg/template/typedef38.C: Ditto.
      	* g++.dg/template/canon-type-4.C: Ditto.
      	* g++.dg/template/canon-type-6.C: Ditto.
      	* g++.dg/template/canon-type-13.C: Ditto.
      	* g++.dg/template/instantiate9.C: Ditto.
      	* g++.dg/template/ttp22.C: Ditto.
      	* g++.dg/warn/Wreturn-type-6.C: Ditto.
      	* g++.dg/warn/Walways-true-1.C: Ditto.
      	* g++.dg/warn/Wlogical-op-1.C: Ditto.
      	* g++.dg/warn/Walways-true-2.C: Ditto.
      	* g++.dg/conversion/op4.C: Ditto.
      	* g++.dg/opt/pr19650.C: Ditto.
      	* g++.dg/lookup/friend11.C: Ditto.
      	* g++.dg/other/default2.C: Ditto.
      	* g++.dg/other/default3.C: Ditto.
      	* g++.dg/other/dtor2.C: Ditto.
      	* g++.dg/other/friend5.C: Ditto.
      	* g++.dg/other/default5.C: Ditto.
      	* g++.dg/init/brace6.C: Ditto.
      	* g++.dg/init/aggr5.C: Ditto.
      	* g++.dg/init/error2.C: Ditto.
      	* g++.dg/expr/bound-mem-fun.C: Ditto.
      	* g++.dg/expr/cond6.C: Ditto.
      	* g++.dg/expr/stmt-expr-1.C: Ditto.
      	* g++.dg/cpp0x/constexpr-object2.C: Ditto.
      	* g++.dg/cpp0x/constexpr-data1.C: Ditto.
      	* g++.dg/cpp0x/constexpr-function2.C: Ditto.
      	* g++.dg/cpp0x/bracket1.C: Ditto.
      	* g++.dg/cpp0x/variadic-mem-fn.C: Ditto.
      	* g++.dg/cpp0x/pr38646.C: Ditto.
      	* g++.dg/cpp0x/variadic73.C: Ditto.
      	* g++.dg/cpp0x/constexpr-function1.C: Ditto.
      	* g++.dg/cpp0x/bracket4.C: Ditto.
      	* g++.dg/cpp0x/decltype4.C: Ditto.
      	* g++.dg/cpp0x/constexpr-data2.C: Ditto.
      	* g++.dg/cpp0x/constexpr-object1.C: Ditto.
      	* g++.dg/cpp0x/variadic-crash2.C: Ditto.
      	* g++.dg/cpp0x/variadic-new2.C: Ditto.
      	* g++.dg/cpp0x/decltype2.C: Ditto.
      	* g++.dg/cpp0x/decltype1.C: Ditto.
      	* g++.dg/cpp0x/bracket2.C: Ditto.
      	* g++.dg/cpp0x/decltype5.C: Ditto.
      	* g++.dg/cpp0x/constexpr-function3.C: Ditto.
      	* g++.dg/cpp0x/variadic70.C: Ditto.
      	* g++.dg/cpp0x/decltype6.C: Ditto.
      	* g++.dg/cpp0x/rvo.C: Ditto.
      	* g++.dg/cpp0x/vt-40092.C: Ditto.
      	* g++.dg/cpp0x/variadic-new.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-pass.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-mixed.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-nested.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-recursive.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-copy.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-non-const.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-ref-default.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-deduce.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-copy-default.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-nop.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-capture-const-ref.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-ref.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-const.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-mutable.C: Ditto.
      	* g++.dg/cpp0x/lambda/lambda-in-class.C: Ditto.
      	* g++.dg/cpp0x/pr39639.C: Ditto.
      	* g++.dg/cpp0x/decltype3.C: Ditto.
      	* g++.dg/cpp0x/variadic68.C: Ditto.
      	* g++.dg/cpp0x/variadic-function.C: Ditto.
      	* g++.dg/cpp0x/constexpr-ex1.C: Ditto.
      	* g++.dg/cpp0x/variadic-bind.C: Ditto.
      	* g++.dg/cpp0x/variadic-tuple.C: Ditto.
      	* g++.dg/cpp0x/constexpr-ex2.C: Ditto.
      	* g++.dg/parse/crash35.C: Ditto.
      	* g++.dg/parse/crash40.C: Ditto.
      	* g++.dg/parse/defarg12.C: Ditto.
      	* g++.dg/parse/crash34.C: Ditto.
      	* g++.dg/parse/constructor3.C: Ditto.
      	* g++.dg/parse/template23.C: Ditto.
      	* g++.dg/parse/crash56.C: Ditto.
      	* g++.dg/parse/dtor13.C: Ditto.
      	* g++.dg/parse/error33.C: Ditto.
      	* g++.dg/parse/ctor9.C: Ditto.
      	* g++.dg/parse/error32.C: Ditto.
      	* g++.dg/parse/error37.C: Ditto.
      	* g++.dg/parse/bitfield3.C: Ditto.
      	* g++.dg/parse/struct-4.C: Ditto.
      	* g++.dg/ext/has_trivial_copy.C: Ditto.
      	* g++.dg/ext/is_polymorphic.C: Ditto.
      	* g++.dg/ext/has_nothrow_copy_odr.C: Ditto.
      	* g++.dg/ext/has_nothrow_copy-4.C: Ditto.
      	* g++.dg/ext/has_nothrow_assign.C: Ditto.
      	* g++.dg/ext/is_union.C: Ditto.
      	* g++.dg/ext/has_nothrow_copy-1.C: Ditto.
      	* g++.dg/ext/is_pod.C: Ditto.
      	* g++.dg/ext/has_virtual_destructor.C: Ditto.
      	* g++.dg/ext/has_trivial_constructor.C: Ditto.
      	* g++.dg/ext/has_nothrow_copy-3.C: Ditto.
      	* g++.dg/ext/has_nothrow_copy-5.C: Ditto.
      	* g++.dg/ext/has_trivial_destructor-1.C: Ditto.
      	* g++.dg/ext/has_nothrow_copy-6.C: Ditto.
      	* g++.dg/ext/is_abstract.C: Ditto.
      	* g++.dg/ext/has_trivial_assign.C: Ditto.
      	* g++.dg/ext/is_class.C: Ditto.
      	* g++.dg/ext/has_nothrow_assign_odr.C: Ditto.
      	* g++.dg/ext/has_nothrow_copy-7.C: Ditto.
      	* g++.dg/ext/is_base_of.C: Ditto.
      	* g++.dg/ext/has_nothrow_copy-2.C: Ditto.
      	* g++.dg/ext/has_nothrow_constructor.C: Ditto.
      	* g++.dg/ext/is_empty.C: Ditto.
      	* g++.dg/ext/is_enum.C: Ditto.
      	* g++.dg/ext/has_nothrow_constructor_odr.C: Ditto.
      	* g++.dg/ext/.C: Ditto.
      	* g++.dg/ext/.C: Ditto.
      	* gnat.dg/opt11.adb: Ditto.
      	* obj-c++.dg/pr45735.mm: Ditto.
      	* obj-c++.dg/pr24393.mm: Ditto.
      	* obj-c++.dg/exceptions-2.cc: Ditto.
      	* objc.dg/pr45735.m: Ditto.
      	* objc.dg/pr24393.m: Ditto.
      
      From-SVN: r170438
      Uros Bizjak committed
    • re PR libgomp/47854 (omp_get_wtime documentation incorrect) · 21e1e594
      	PR libgomp/47854
      	* libgomp.texi (omp_get_wtime): Don't say time in the past
      	must be Unix Epoch.
      
      From-SVN: r170434
      Jakub Jelinek committed
    • Merged with binutils version ... · f7aadc6c
      From-SVN: r170433
      Kai Tietz committed
    • PR 47694 Read from named pipe fails · a2c037bd
      Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      From-SVN: r170432
      Janne Blomqvist committed
    • Don't crash looking for methods of pointer to error type. · ff72e86d
      From-SVN: r170431
      Ian Lance Taylor committed
    • Don't crash on Sizeof of bad type. · f315816c
      From-SVN: r170430
      Ian Lance Taylor committed
    • Traverse erroneous function redefinitions. · 8c88f9c9
      From-SVN: r170428
      Ian Lance Taylor committed
    • Fix missing type traversals. · b68a9b10
      From-SVN: r170427
      Ian Lance Taylor committed