- 11 Nov, 2005 11 commits
-
-
re PR target/24265 (ICE: in extract_insn, at recog.c:2084 with -O -fgcse -fmove-loop-invariants -mtune=pentiumpro) PR 24265 * loop-invariant.c (may_assign_reg_p): Make sure a hard register can be assigned to. (find_invariant_insn): Do the cheapest check, may_assign_reg_p, before check_maybe_invariant. (move_invariant_reg): Use gen_move_insn instead of replacing SET_DEST with the temporary for the invariant. (move_loop_invariants): If checking is enabled, do internal consistency checks after completing the pass. From-SVN: r106795
Steven Bosscher committed -
PR 24644 * common.opt (Wvolatile-register-var): New. * varasm.c (make_decl_rtl): Only emit warning when option specified. Clarify warning message. * doc/invoke.texi (Wvolatile-register-var): Document new option. * doc/md.texi (copysign): Document standard named pattern. From-SVN: r106791
David Edelsohn committed -
* config/bfin/bfin.c (bfin_expand_strmov): Correctly move the trailing bytes when align is 2. * config/bfin/bfin.md (rep_movsi, rep_movhi): Make LSETUP be followed by the first instruction of the loop. From-SVN: r106790
Jie Zhang committed -
From-SVN: r106788
Jason Merrill committed -
PR c++/24686 * gimplify.c (gimplify_cleanup_point_expr): Also save and restore the cleanup list. From-SVN: r106787
Jason Merrill committed -
PR c++/24686 * gimplify.c (gimplify_cleanup_point_expr): Also save and restore the cleanup list. From-SVN: r106786
Jason Merrill committed -
PR rtl-optimization/22509 * local-alloc.c (memref_used_between_p): Check whether a function call could not reference the memref. From-SVN: r106783
Zdenek Dvorak committed -
postreload.c (reload_cse_simplify_operands): Fix bug in sorting algorithm so as to choose the best, not the worst, alternative. * postreload.c (reload_cse_simplify_operands): Fix bug in sorting algorithm so as to choose the best, not the worst, alternative. Reset accumulated register class before processing next alternative. From-SVN: r106780
Ulrich Weigand committed -
PR fortran/15976 * resolve.c (resolve_symbol): Disallow automatic arrays in module scope. * gfortran.dg/automatic_module_variable.f90: New test. Co-Authored-By: Steven G. Kargl <kargls@comcast.net> From-SVN: r106777
Paul Thomas committed -
PR target/24445 * calls.c (expand_call): Copy a return value to a plain register if needed. * gcc.dg/pr24445.c: New test. From-SVN: r106774
Kaz Kojima committed -
From-SVN: r106767
GCC Administrator committed
-
- 10 Nov, 2005 19 commits
-
-
2005-11-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/24655 PR fortran/24755 * match.c (recursive_stmt_fcn): Add checks that symtree exists for the expression to weed out inline intrinsic functions and parameters. PR fortran/24409 * module.c (mio_symtree_ref): Correct the patch of 0923 so that a symbol is not substituted for by a the symbol for the module itself and to prevent the promotion of a formal argument. 2005-11-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/24655 PR fortran/24755 * gfortran.dg/recursive_statement_functions.f90: Add statement functions using inline intrinsic functions and parameters to test that they no longer seg-fault. PR fortran/24409 gfortran.dg/nested_modules_4.f90: New test. gfortran.dg/nested_modules_5.f90: New test. From-SVN: r106756
Paul Thomas committed -
fortran/ PR fortran/24643 * primary.c (match_varspec): Check for implicitly typed CHARACTER variables before matching substrings. testsuite/ PR fortran/24643 * gfortran.dg/implicit_6.f90, gfortran.dg/implicit_7.f90: New. From-SVN: r106753
Tobias Schlüter committed -
* gcc.dg/attr-weakref-1.c: Add exit (0) to avoid spurious failures. From-SVN: r106750
Alexandre Oliva committed -
PR target/24778 * varasm.c (assemble_name): Recompute name only for transparent aliases. From-SVN: r106749
Alexandre Oliva committed -
From-SVN: r106746
Hans-Peter Nilsson committed -
tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Do not perform reassociation if the parent statement will not die as a result... * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Do not perform reassociation if the parent statement will not die as a result of the optimization. From-SVN: r106744
Jeff Law committed -
2005-11-10 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-alias.c (compute_may_aliases): Remove call to delete_old_heap_vars. * tree-dfa.c (referenced_var_remove): Remove function. * tree-ssa.c (init_tree_ssa): Call init_alias_heapvars. (delete_tree_ssa): Remove call to delete_old_heapvars. Add call to delete_alias_heapvars. * tree-flow.h (referenced_var_remove): Remove prototype (init_alias_heapvars): New prototype. (delete_alias_heapvars): Ditto. * Makefile.in (tree-ssa-structalias.o): Add gt-tree-ssa-structalias.o (GTFILES): Add tree-ssa-structalias.h and tree-ssa-structalias.c. (s-gtype): Add gt-tree-ssa-structalias.h. * tree-ssa-structalias.c (heapvars): Remove. (oldheapvars): Remove. (heapvar_for_stmt): New variable. (heapvar_lookup): New function. (heapvar_insert): Ditto. (get_constraint_for): See if we have an old heapvar to reuse. (init_alias_heapvars): New function. (delete_alias_heapvars): Ditto. Add include of gt-tree-ssa-structalias.h. From-SVN: r106743
Daniel Berlin committed -
* libgfortran.h: Add proper defines where needed. From-SVN: r106741
Andreas Jaeger committed -
PR middle-end/22127 * calls.c (special_function_p): Set ECF_RETURNS_TWICE for getcontext. From-SVN: r106739
Eric Botcazou committed -
tree.c (int_fits_type_p): Only look at the base type if it has the same precision as the original type. * tree.c (int_fits_type_p): Only look at the base type if it has the same precision as the original type. From-SVN: r106738
Eric Botcazou committed -
2005-11-10 Paolo Carlini <pcarlini@suse.de> * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/not_shared.cc: Adjust, remove xfail. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/not_shared2.cc: Likewise. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/not_shared3.cc: Likewise. From-SVN: r106736
Paolo Carlini committed -
re PR other/4372 (#pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread) PR other/4372 * varasm.c (assemble_alias): Use %q+D in the error message instead of %J and %qD. From-SVN: r106735
Jakub Jelinek committed -
2005-11-10 Richard Guenther <rguenther@suse.de> * gcse.c (free_ldst_entry): Only free hashtable if it exists. From-SVN: r106734
Richard Guenther committed -
2005-11-10 Paolo Carlini <pcarlini@suse.de> * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release, weak_release): Protect barriers with __GTHREADS. From-SVN: r106733
Paolo Carlini committed -
PR ada/23995 * trans.c (call_to_gnu): Restore statement lost in translation. From-SVN: r106731
Eric Botcazou committed -
* libgfortran.h: Add missing prototypes for internal_pack functions. From-SVN: r106730
Andreas Jaeger committed -
2005-11-10 Paolo Carlini <pcarlini@suse.de> Peter Dimov <pdimov@mmltd.net> * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release): Optimize by manually inlining weak_release. * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release, weak_release): Use explicit memory barriers. Co-Authored-By: Peter Dimov <pdimov@mmltd.net> From-SVN: r106729
Paolo Carlini committed -
2005-11-09 Benjamin Kosnik <bkoz@redhat.com> Paolo Carlini <pcarlini@suse.de> Gabriel Dos Reis <gdr@integrable-solutions.net> PR libstdc++/22203 * numeric_limits.cc: Split into... * numeric_limits/specialization.cc: ..this. * numeric_limits/is_iec559.cc: Same. * numeric_limits/sign.cc: Same. * numeric_limits/quiet_NaN.cc: Same. * numeric_limits/digits10.cc: Same. * numeric_limits/denorm_min.cc: Same. * numeric_limits/min_max.cc: Same. * numeric_limits/epsilon.cc: Same. * numeric_limits/infinity.cc: Same. * numeric_limits/traps.cc: New. Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net> Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r106727
Benjamin Kosnik committed -
From-SVN: r106723
GCC Administrator committed
-
- 09 Nov, 2005 10 commits
-
-
function.c (assign_stack_local_1): Issue an error message if the frame size overflows in the signed target arithmetics. * function.c (assign_stack_local_1): Issue an error message if the frame size overflows in the signed target arithmetics. From-SVN: r106717
Eric Botcazou committed -
tree.c (build_qualified_type): Chain the new type to the original type's TYPE_NEXT_PTR_TO or TYPE_NEXT_REF_TO... * tree.c (build_qualified_type): Chain the new type to the original type's TYPE_NEXT_PTR_TO or TYPE_NEXT_REF_TO linked lists if it is a POINTER_TYPE or a REFERENCE_TYPE respectively. (build_pointer_type_for_mode): Only return unqualified types. (build_reference_type_for_mode): Likewise. From-SVN: r106716
Eric Botcazou committed -
From-SVN: r106709
Steven G. Kargl committed -
Makefile.in (gnucompare): Do comparison of all files using one of the chosen methods and only afterwards... * Makefile.in (gnucompare): Do comparison of all files using one of the chosen methods and only afterwards decide if just warning should be issued or comparison failure raised. From-SVN: r106707
Jakub Jelinek committed -
* ifcvt.c (noce_get_alt_condition): Use prev_nonnote_insn. (noce_try_abs): Negate if the comparison is reversed. Look only one instruction backwards for a REG_EQUAL note. From-SVN: r106706
Eric Botcazou committed -
re PR other/4372 (#pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread) gcc/ChangeLog: PR other/4372 * gthr-dce.h, gthr-posix.h, gthr-posix95.h, gthr-solaris.h, gthr-tpf.h: Define __gthrw. For all identifiers that might be weak, introduce weakrefs or non-weak aliases with __gthrw, and prefix all uses with __ghtrw. libobjc/ChangeLog: PR other/4372 * thr-objc.c (_XOPEN_SOURCE): Define. From-SVN: r106704
Alexandre Oliva committed -
re PR other/4372 (#pragma weak pthread* inclusion causes applications to crash without a linker error when one forgets to link with -lpthread) PR other/4372 * tree.h (IDENTIFIER_TRANSPARENT_ALIAS): New. (TREE_DEPRECATED): Adjust comment. Check for a DECL. * c-common.c (handle_weakref_attribute): New. (c_common_attribute_table): Add weakref. * configure.ac (HAVE_GAS_WEAKREF): Check for weakref support in the assembler. * configure, config.in: Rebuilt. * defaults.h (ASM_OUTPUT_WEAKREF): Define if HAVE_GAS_WEAKREF. * doc/extend.texi: Document weakref attribute. * varasm.c (ultimate_transparent_alias_target): New (assemble_name): Use it. (weak_finish_1): Split out of... (weak_finish): ... and deal with weakrefs in... (weakref_targets): ... new list. (globalize_decl): Clean up weakref_targets. (do_assemble_alias): Handle weakrefs. (finish_aliases_1): Do not reject weakrefs to external symbols. (assemble_alias): Handle weakrefs. From-SVN: r106703
Alexandre Oliva committed -
* testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now passes. From-SVN: r106702
Tom Tromey committed -
2005-11-09 Richard Guenther <rguenther@suse.de> PR tree-optimization/24716 * tree-scalar-evolution.c (analyze_evolution_in_loop): Use t_bool to track results from follow_ssa_edge. * gcc.c-torture/execute/pr24716.c: New testcase. From-SVN: r106700
Richard Guenther committed -
* final.c (force_source_line): New global variable. (final_scan_insn): Set it to true instead of clearing last_filename. (notice_source_line): Return true if force_source_line is true, unless source info is absent. From-SVN: r106699
Eric Botcazou committed
-