- 31 May, 2005 15 commits
-
-
2005-05-31 Pat Haugen <pthaugen@us.ibm.com> * loop.c (loop_invariant_p, valid_initial_value_p): Revert last change. From-SVN: r100408
Pat Haugen committed -
2005-05-31 Paolo Carlini <pcarlini@suse.de> PR libstdc++/20534 (contd) * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using __gnu_debug::__fancy_abort. * src/debug.cc: Define the latter. * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of assert. * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add. From-SVN: r100405
Paolo Carlini committed -
cp: PR c++/21165 * init.c (integral_constant_value): Check the type of the initializer, not the decl. testsuite: PR c++/21165 * g++.dg/template/init5.C: New. From-SVN: r100402
Nathan Sidwell committed -
2005-05-30 Paul Thomas <pault@gcc.gnu.org> * gfortran.dg/char_initialiser_actual.f90: Test character initialisers as actual arguments. * gfortran.dg/char_pointer_comp_assign.f90: Test character pointer structure component assignments. * gfortran.dg/char_array_structure_constructor.f90: Test character components in structure constructors. From-SVN: r100401
Paul Thomas committed -
2005-05-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/18109 PR fortran/18283 PR fortran/19107 * fortran/trans-array.c (gfc_conv_expr_descriptor): Obtain the string length from the expression typespec character length value and set temp_ss->stringlength and backend_decl. Obtain the tree expression from gfc_conv_expr rather than gfc_conv_expr_val. Dereference the expression to obtain the character. * fortran/trans-expr.c (gfc_conv_component_ref): Remove the dereference of scalar character pointer structure components. * fortran/trans-expr.c (gfc_trans_subarray_assign): Obtain the string length for the structure component from the component expression. From-SVN: r100400
Paul Thomas committed -
2005-05-31 Andrew pinski <pinskia@physics.uc.edu> PR middle-end/20931 * g++.dg/opt/pr20931.C: New test. 2005-05-31 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/20931 PR middle-end/20946 * fold-const.c (fold_checksum_tree): Copy types also if TYPE_CONTAINS_PLACEHOLDER_INTERNAL is set. Don't call fold_checksum_tree for TREE_LIST's TREE_CHAIN first. Tail recurse TREE_LIST's TREE_CHAIN. From-SVN: r100397
Andrew Pinski committed -
re PR tree-optimization/21732 (-ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2) 2005-05-31 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/21732 * tree-ssa-copy.c (dump_copy_of): Create a bitmap and don't visit a SSA_NAME twice and cause the loop to become finite. Remove the test for val. From-SVN: r100396
Andrew Pinski committed -
PR testsuite/20772 * g++.dg/abi/dtor1.C, g++.dg/abi/empty10.C, g++.dg/abi/layout3.C, g++.dg/eh/simd-2.C, g++.dg/opt/cse2.C, g++.old-deja/g++.ext/asmspec1.C, g++.old-deja/g++.other/regstack.C, gcc.dg/20000614-1.c, gcc.dg/20000807-1.c, gcc.dg/20000904-1.c, gcc.dg/20001127-1.c, gcc.dg/20010202-1.c, gcc.dg/20010520-1.c, gcc.dg/20011009-1.c, gcc.dg/20011029-2.c, gcc.dg/20020224-1.c, gcc.dg/20020531-1.c, gcc.dg/20020616-1.c, gcc.dg/980226-1.c, gcc.dg/980414-1.c, gcc.dg/980520-1.c, gcc.dg/980709-1.c, gcc.dg/990117-1.c, gcc.dg/990130-1.c, gcc.dg/990213-2.c, gcc.dg/990214-1.c, gcc.dg/991129-1.c, gcc.dg/991209-1.c, gcc.dg/991214-1.c, gcc.dg/asm-1.c, gcc.dg/attr-returns_twice-1.c, gcc.dg/clobbers.c, gcc.dg/i386-387-7.c, gcc.dg/i386-387-8.c, gcc.dg/i386-3dnowA-1.c, gcc.dg/i386-3dnowA-2.c, gcc.dg/i386-asm-1.c gcc.dg/i386-asm-2.c, gcc.dg/i386-asm-3.c, gcc.dg/i386-bitfield3.c gcc.dg/i386-call-1.c, gcc.dg/i386-memset-1.c, gcc.dg/i386-signbit-3.c, gcc.dg/i386-ssefn-1.c, gcc.dg/i386-ssefn-2.c, gcc.dg/i386-ssefn-3.c, gcc.dg/i386-ssefn-4.c gcc.dg/i386-volatile-1.c, gcc.dg/i386-xorps.c, gcc.dg/pr12092-1.c gcc.dg/pr14289-1.c, gcc.dg/pr19236-1.c, gcc.dg/pr20204.c, gcc.dg/pr9771-1.c, gcc.dg/register-var-1.c, gcc.dg/sibcall-5.c, gcc.dg/charset/asm3.c, gcc.dg/cpp/trad/num-sign.c: Run tests also on x86_64. From-SVN: r100394
Andreas Jaeger committed -
2005-05-31 Andrew Pinski <pinskia@physics.uc.edu> * tree-cfg.c (verify_expr): Add checking for COND_EXPR's conditional expression. From-SVN: r100393
Andrew Pinski committed -
* doc/tm.texi (TARGET_GET_PCH_VALIDITY, TARGET_PCH_VALID_P): Tweak the documentation to make it more future-proof. (TARGET_CHECK_PCH_TARGET_FLAGS): Document this new hook. * target.h (gcc_target): Add check_pch_target_flags. * target-def.h (TARGET_CHECK_PCH_TARGET_FLAGS): New macro. (TARGET_INITIALIZER): Include it. * toplev.c (default_pch_valid_p): Use targetm.check_pch_target_flags. * config/sh/sh.h (sh_pch_valid_p): Delete. * config/sh/sh.c (TARGET_PCH_VALID_P, sh_pch_valid_p): Delete. (sh_check_pch_target_flags): New function. (TARGET_CHECK_PCH_TARGET_FLAGS): Override default. From-SVN: r100392
Richard Sandiford committed -
* fold-const.c (extract_array_ref): Handle more cases, do some useful canonicalization of the base. (fold_binary): Explicitly deal with arrays of zero-sized structures during folding of &a[i] == &a[j]. * gcc.dg/tree-ssa/foldaddr-1.c: New test. From-SVN: r100391
Jeff Law committed -
From-SVN: r100389
Joseph Myers committed -
* doc/install.texi (sparc-sun-solaris2*): Update note about Sun bug 4910101. From-SVN: r100385
Eric Botcazou committed -
* doc/install.texi (sparc-sun-solaris2.7): Document bootstrap failure with Sun WorkShop 6 99/08/18 as. From-SVN: r100383
Eric Botcazou committed -
[[Split portion of a mixed commit.]] From-SVN: r100380.2
GCC Administrator committed
-
- 30 May, 2005 25 commits
-
-
2005-05-30 Pat Haugen <pthaugen@us.ibm.com> * loop.c (loop_invariant_p, valid_initial_value_p): Use regs_invalidated_by_call instead of call_used_regs. From-SVN: r100378
Pat Haugen committed -
* gfortran.h (GFC_STD_LEGACY): New "standard" macro. Reindent. * options.c (gfc_init_options): By default, allow legacy extensions but warn about them. (gfc_post_options): Make -pedantic warn about legacy extensions even with -std=legacy. (gfc_handle_option): Make -std=gnu follow the default behaviour of warning about legacy extensions, but allowing them. Make the new -std=legacy accept everything and warn about nothing. * lang.opt (std=legacy): New F95 command line option. * invoke.texi: Document both -std=f2003 and -std=legacy. * gfortran.texi: Explain the two types of extensions and document how they are affected by the various -std= command line options. From-SVN: r100377
Roger Sayle committed -
std_complex.h (log(const complex<_Tp>&)): When _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl. 2005-05-30 Paolo Carlini <pcarlini@suse.de> * include/std/std_complex.h (log(const complex<_Tp>&)): When _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl. From-SVN: r100376
Paolo Carlini committed -
2005-05-30 Paolo Carlini <pcarlini@suse.de> PR middle-end/21743 * gcc.dg/builtins-1.c: Activate disabled clog test. * gcc.dg/torture/builtin-attr-1.c: Likewise. From-SVN: r100375
Paolo Carlini committed -
2005-05-30 Paolo Carlini <pcarlini@suse.de> PR middle-end/21743 * builtins.def (BUILT_IN_CLOG, BUILT_IN_CLOGF, BUILT_IN_CLOGL): Enable. * doc/extend.texi: Add clog, clogf, clogl. From-SVN: r100374
Paolo Carlini committed -
2005-05-29 Paul Thomas <pault@gcc.gnu.org> * testsuite/Changelog: Make up for my omission to update for PR16939 etc patches. From-SVN: r100373
Paul Thomas committed -
2005-05-29 Paul Thomas <pault@gcc.gnu.org> * fortran/Changelog: Make up for my omission to update for PR16939 etc patches. From-SVN: r100372
Paul Thomas committed -
2005-05-30 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/20303 * c-pragma.c: Include "vec.h". (handle_pragma_visibility): Use VEC. * doc/invoke.texi: Remove the nested visibility push limit. From-SVN: r100371
H.J. Lu committed -
PR rtl-optimization/15422 * reg-stack.c (starting_stack_p): New static global. (straighten_stack): Delete prototype. Change to update the stack before the current insn. (subst_stack_regs): Update call to straighten stack. (emit_swap_insn): Delete prototype. For the first insn in a basic block, update stack_in instead of emitting a real swap. (change_stack): When changing the stack before the first insn in a basic block, update stack_in instead of emitting real code. (compensate_edges): Clear starting_stack_p during compensation. (convert_regs_1): Keep track of starting_stack_p whilst processing a basic block. From-SVN: r100370
Roger Sayle committed -
From-SVN: r100369
Mark Mitchell committed -
From-SVN: r100366
Mark Mitchell committed -
PR c++/21784 * name-lookup.c (do_nonmember_using_decl): Ignore builtin functions, even when the used name is not a function. PR c++/21784 * g++.dg/lookup/using14.C: New test. From-SVN: r100365
Mark Mitchell committed -
2005-05-30 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/21821 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use MAXPATHLEN. Format exception message using a StringBuffer instead. From-SVN: r100364
Bryce McKinlay committed -
From-SVN: r100363
Kazu Hirata committed -
From-SVN: r100362
Kazu Hirata committed -
From-SVN: r100361
Kazu Hirata committed -
* gcc.dg/c99-math-double-1.c, gcc.dg/c99-math-float-1.c, gcc.dg/c99-math-long-double-1.c, gcc.dg/c99-math.h: Remove trailing ^M. From-SVN: r100360
Kazu Hirata committed -
From-SVN: r100359
Kazu Hirata committed -
From-SVN: r100354
François-Xavier Coudert committed -
PR libfortran/20179 * io/unix.c (fd_close): Add test so that we don't close() stdout and stderr. From-SVN: r100353
Francois-Xavier Coudert committed -
2005-05-29 Geoffrey Keating <geoffk@apple.com> PR target/21761 * config/rs6000/rs6000.md: Remove stray TARGET_32BIT from pattern involving `:P'. Index: testsuite/ChangeLog 2005-05-29 Geoffrey Keating <geoffk@apple.com> PR target/21761 * gcc.c-torture/compile/pr21761.c: New. From-SVN: r100352
Geoffrey Keating committed -
* g++.old-deja/g++.eh/badalloc1.C: Make XFAIL only on darwin before darwin8. From-SVN: r100351
Geoffrey Keating committed -
From-SVN: r100350
Geoffrey Keating committed -
* tree-outof-ssa.c (_elim_graph): Change the type of edge_list to VEC(int,heap)*. (new_elim_graph, clear_elim_graph, delete_elim_graph, elim_graph_add_edge, elim_graph_remove_succ_edge, FOR_EACH_ELIM_GRAPH_SUCC, FOR_EACH_ELIM_GRAPH_PRED): Use VEC instead of VARRAY. From-SVN: r100349
Kazu Hirata committed -
2005-05-29 Michael Koch <konqueror@gmx.de> PR libgcj/20273: * java/util/LinkedHashMap.java (access): Set 'root.pred'. From-SVN: r100347
Michael Koch committed
-