OSDN Git Service
aph [Fri, 4 Mar 2005 19:54:16 +0000 (19:54 +0000)]
2005-03-04 Andrew Haley <aph@redhat.com>
* unwind-dw2-fde-glibc.c (struct
unw_eh_callback_data.check_cache): New field.
(frame_hdr_cache): New.
(_Unwind_IteratePhdrCallback): Add ext_dl_phdr_info.
Cache frame header info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95894
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Fri, 4 Mar 2005 17:09:18 +0000 (17:09 +0000)]
* expr.c (gfc_copy_shape_excluding): Change && to ||.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95891
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 4 Mar 2005 15:38:13 +0000 (15:38 +0000)]
2005-03-04 Andrew Haley <aph@redhat.com>
PR java/18362
* class.c (set_method_index): Don't set method_index if it is
NULL_TREE.
(layout_class_method): Don't complain about "non-static method foo
overrides static method" in the case of indirect dispatch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95888
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 4 Mar 2005 15:33:23 +0000 (15:33 +0000)]
PR bootstrap/20282
PR bootstrap/20305
* macro.c (replace_args, cpp_get_token): Copy whole
cpp_token_u instead of just cpp_string field from it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95887
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 4 Mar 2005 11:10:35 +0000 (11:10 +0000)]
* rtl.h (copy_rtx_ptr_loc, print_rtx_ptr_loc, join_c_conditions)
(print_c_condition): Declare.
* read-rtl.c (ptr_loc): New structure.
(ptr_locs, ptr_loc_obstack, joined_conditions)
(joined_conditions_obstack): New variables.
(leading_ptr_hash, leading_ptr_eq_p, set_rtx_ptr_loc)
(get_rtx_ptr_loc, copy_rtx_ptr_loc, print_rtx_ptr_loc)
(join_c_conditions, print_c_condition): New functions.
(apply_macro_to_string): Associate the new string with the same
source location as the old one.
(add_condition_to_string): Use join_c_conditions.
(read_string): Use set_rtx_ptr_loc to record a filename and line
number for the string.
(read_rtx): Initialize the new variables above.
* genattrtab.c (write_test_expr, write_attr_value): Use
print_c_condition.
* genconditions.c (write_header): Don't define MAYBE_EVAL. Move its
comment above the GCC_VERSION check.
(write_one_condition): Use print_rtx_ptr_loc and print_c_condition.
Inline the definition of MAYBE_EVAL.
* genemit.c (gen_expand, gen_split): Use print_rtx_ptr_loc.
* genoutput.c (process_template): Likewise.
* genpreds.c (write_predicate_subfunction): Likewise.
(write_predicate_expr): Use print_c_condition.
* genrecog.c (write_cond): Likewise.
* gensupport.c (process_rtx): Use join_c_conditions to join the
conditions of a define_insn_and_split. Record a source location
for the string after the "&&".
(alter_test_for_insn): Use join_c_conditions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95883
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 4 Mar 2005 06:24:09 +0000 (06:24 +0000)]
2005-03-04 Andrew Pinski <pinskia@physics.uc.edu>
Revert for now:
2005-03-03 James A. Morrison <phython@gcc.gnu.org>
PR tree-optimization/15784
* fold-const.c (fold): Fold ~A + 1 to -1. Fold -A - 1
and -1 - A to ~A.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95880
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Fri, 4 Mar 2005 05:15:52 +0000 (05:15 +0000)]
* gcc.misc-tests/options.exp: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95879
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Fri, 4 Mar 2005 04:43:03 +0000 (04:43 +0000)]
* gcc.c (option_map): Add --coverage.
(LINK_COMMAND_SPEC): Pass -lgcov for `coverage'.
(cc1_options): Pass -fprofile-arcs -ftest-coverage for `coverage'.
* config/darwin.h: Pass -lgcov for `coverage'.
* doc/invoke.texi (Debugging Options): Document --coverage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95878
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 4 Mar 2005 03:14:42 +0000 (03:14 +0000)]
* gcse.c (bypass_block): Use find_edge wherever possible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95873
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Fri, 4 Mar 2005 03:08:10 +0000 (03:08 +0000)]
2005-03-03 Daniel Berlin <dberlin@dbrelin.org>
Fix PR debug/20253
* c-opts.c (c_common_parse_file): Call start_source_file
and end_source_file at the approriate times.
* dwarf2out.c (dwarf2out_finish): Don't auto-end
the main file, it will be done for us now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95872
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 4 Mar 2005 02:50:36 +0000 (02:50 +0000)]
* fold-const.c (fold_ternary): New.
(fold): Call fold_ternary on ternary expressions. Remove
handling of ternary expressions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95871
138bc75d-0d04-0410-961f-
82ee72b054a4
phython [Fri, 4 Mar 2005 02:48:30 +0000 (02:48 +0000)]
2005-03-03 James A. Morrison <phython@gcc.gnu.org>
PR tree-optimization/15784
* fold-const.c (fold): Fold ~A + 1 to -1. Fold -A - 1
and -1 - A to ~A.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95870
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 4 Mar 2005 01:38:56 +0000 (01:38 +0000)]
* gcc.c-torture/execute/pr17133.c: New.
* gcc.c-torture/compile/
20050303-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95865
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 4 Mar 2005 01:33:45 +0000 (01:33 +0000)]
* config/rs6000/predicates.md (branch_comparison_operator):
Convert from C block to conditional format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95864
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 4 Mar 2005 00:24:40 +0000 (00:24 +0000)]
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
sv.po, tr.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95861
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 4 Mar 2005 00:18:16 +0000 (00:18 +0000)]
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
sv.po, tr.po: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95860
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 4 Mar 2005 00:16:26 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95858
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Fri, 4 Mar 2005 00:02:22 +0000 (00:02 +0000)]
* trans-intrinsic.c (gfc_get_symbol_for_expr): Fix comment typo,
clarify comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95852
138bc75d-0d04-0410-961f-
82ee72b054a4
billingd [Thu, 3 Mar 2005 23:46:43 +0000 (23:46 +0000)]
2005-03-04 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.dg/cpp/assert4.c: Fix for cygwin
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95849
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Thu, 3 Mar 2005 22:17:26 +0000 (22:17 +0000)]
2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/20292
* testsuite/libjava.jni/jni.exp
(gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
flags.
(gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95848
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 3 Mar 2005 19:53:47 +0000 (19:53 +0000)]
* tree-dfa.c (add_referenced_var): Don't walk initializer of external
and non-constant public variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95844
138bc75d-0d04-0410-961f-
82ee72b054a4
ayers [Thu, 3 Mar 2005 18:25:04 +0000 (18:25 +0000)]
2005-03-03 David Ayers <d.ayers@inode.at>
* objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
version reference. Correct typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95840
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 3 Mar 2005 17:45:44 +0000 (17:45 +0000)]
2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/functional: Convert relative path.
* docs/doxygen/user.cfg.in: Add tr1 includes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95838
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 3 Mar 2005 17:30:12 +0000 (17:30 +0000)]
* fold-const.c (fold_unary): Avoid directly using the original
expression t as much as possible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95837
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 3 Mar 2005 17:27:54 +0000 (17:27 +0000)]
* fold-const.c (fold): Remove handling of unary expressions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95836
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 3 Mar 2005 17:15:36 +0000 (17:15 +0000)]
* tree-phinodes.c (remove_phi_node): Clean up by factoring out
calls to release_ssa_name and release_phi_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95835
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 3 Mar 2005 16:22:38 +0000 (16:22 +0000)]
* cfgexpand.c (construct_exit_block): Use EDGE_PRED instead of
EDGE_I.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95834
138bc75d-0d04-0410-961f-
82ee72b054a4
ayers [Thu, 3 Mar 2005 14:46:49 +0000 (14:46 +0000)]
2005-03-03 David Ayers <d.ayers@inode.at>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95832
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 3 Mar 2005 14:29:00 +0000 (14:29 +0000)]
* tree-cfg.c (stmt_starts_bb_p): Clean up by replacing code
with LABEL_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95831
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 3 Mar 2005 14:16:05 +0000 (14:16 +0000)]
* jump.c (redirect_exp_1): If nlabel is a NULL pointer create a
RETURN rtx, and not a LABEL_REF containing a NULL pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95830
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 3 Mar 2005 13:52:20 +0000 (13:52 +0000)]
2005-03-03 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implemenet is_polymorphic.
(is_empty): Minor tweaks.
* testsuite/testsuite_tr1.h: Add test types.
* testsuite/tr1/4_metaprogramming/type_properties/
is_polymorphic/is_polymorphic.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/
is_polymorphic/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_union_or_class/is_union_or_class.cc: Add tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95829
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 3 Mar 2005 04:41:55 +0000 (04:41 +0000)]
Fix my last entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95825
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 3 Mar 2005 03:53:29 +0000 (03:53 +0000)]
Describe special registers SRP and MOF as allocatable registers.
* config/cris/cris.c (cris_md_asm_clobbers): New function.
(TARGET_MD_ASM_CLOBBERS): Define to cris_md_asm_clobbers.
(cris_conditional_register_usage): Enable CRIS_MOF_REGNUM if
TARGET_HAS_MUL_INSNS.
(cris_print_operand) <case 'd'>: New case.
<case REG>: Allow CRIS_MOF_REGNUM and CRIS_SRP_REGNUM.
* config/cris/cris.h (CRIS_PC_REGNUM, CRIS_SRP_REGNUM): Don't
define.
(FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS)
(REG_ALLOC_ORDER): Update for MOF.
(enum reg_class): New members MOF_REGS, GENERAL_REGS and
SPECIAL_REGS.
(GENERAL_REGS): No longer a define of ALL_REGS.
(REGNO_REG_CLASS, REG_CLASS_CONTENTS, REG_CLASS_NAMES)
(PREFERRED_RELOAD_CLASS, REGISTER_NAMES, DBX_REGISTER_NUMBER):
Adjust accordingly.
(CRIS_SPECIAL_REGS_CONTENTS): New macro.
(REG_CLASS_FROM_LETTER): Allocate 'h' and 'x'.
(SECONDARY_RELOAD_CLASS): Define.
(STACK_POINTER_REGNUM): Define as CRIS_SP_REGNUM.
(FRAME_POINTER_REGNUM): Define as CRIS_FP_REGNUM.
(ARG_POINTER_REGNUM): Define as CRIS_AP_REGNUM.
(STATIC_CHAIN_REGNUM): Define as CRIS_STATIC_CHAIN_REGNUM.
(REGISTER_MOVE_COST): Define.
(PIC_OFFSET_TABLE_REGNUM): Define in terms of CRIS_GOT_REGNUM.
* config/cris/cris.md (CRIS_GOT_REGNUM, CRIS_STATIC_CHAIN_REGNUM)
(CRIS_FP_REGNUM, CRIS_SP_REGNUM, CRIS_SRP_REGNUM, CRIS_AP_REGNUM)
(CRIS_MOF_REGNUM): New define_constants.
("*movsi_internal", "movhi", "movqi", "movsf"): Add alternatives for
special registers.
("reload_inhi", "reload_outhi", "reload_inqi",
("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3")
("mulsidi3", "umulsidi3", "smulsi3_highpart", "umulsi3_highpart"):
Adjust for MOF being properly described as a register.
(indir_to_reg_split): Name this split. Conditionalize on the
destination register being a general register.
(movei): Conditionalize on on operands 0 and 1 having the same
register class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95823
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Thu, 3 Mar 2005 01:03:28 +0000 (01:03 +0000)]
PR target/20277
* config/rs6000/rs6000.c (rs6000_override_options): Don't allow
-mcpu to override any other explicitly given flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95820
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 3 Mar 2005 00:27:03 +0000 (00:27 +0000)]
* jcf-io.c (caching_stat): Use __extension__ to avoid pedantic
warning.
* Make-lang.in: Don't elide warnings in jcf-io.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95819
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 3 Mar 2005 00:17:15 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95817
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 2 Mar 2005 22:02:32 +0000 (22:02 +0000)]
* recog.c (verify_changes, confirm_change_group): New functions,
broken out of apply_change_group.
(apply_change_group): Use them.
* recog.h (verify_change, confirm_change_group): Declare.
* rtl.h (redirect_jump_2): Declare.
* jump.c (redirect_exp, invert_exp): Delete.
(invert_exp_1): Take second parameter. Return value. Changed caller.
(redirect_jump_2): New function, broken out of redirect_jump.
(redirect_jump): Use redirect_jump_1 and redirect_jump_2.
(invert_jump): Use invert_jump_1 and redirect_jump_2.
* ifcvt.c (dead_or_predicable): Use redirect_jump_2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95813
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 2 Mar 2005 21:33:44 +0000 (21:33 +0000)]
* varasm.c (named_section): Use xstrdup rather than doing it by
hand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95812
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 2 Mar 2005 20:33:45 +0000 (20:33 +0000)]
* config/darwin8.h (LIB_SPEC): Switch -lmx and -lSystem.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95805
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Wed, 2 Mar 2005 20:07:45 +0000 (20:07 +0000)]
Undo PR tree-optimization/18815 fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95803
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 2 Mar 2005 19:55:52 +0000 (19:55 +0000)]
gcc/cp/ChangeLog:
* name-lookup.c (push_overloaded_decl): Don't error if the new
decl matches the old one.
* decl.c (redeclaration_error_message): Likewise.
gcc/testsuite/ChangeLog:
* g++.dg/overload/using2.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95798
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Wed, 2 Mar 2005 19:45:25 +0000 (19:45 +0000)]
PR tree-optimization/18815
* tree-if-conv.c (combine_blocks): Adjust loop header edges for
loops with zero exit edges.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95796
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 2 Mar 2005 19:37:03 +0000 (19:37 +0000)]
2005-03-02 David Ayers <d.ayers@inode.at>
PR libobjc/19024
* Makefile.in (OBJS): Add hash_compat.lo.
(OBJS_GC): Add hash_compat_gc.lo.
(hash_compat_gc.lo): New target and rule.
* objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
(hash_next, hash_value_for_key, hash_is_key_in_hash)
(hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
with objc_. Add deprecated non prefixed inlined versions.
(OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
declarations.
* hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
(hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
update callers.
* hash_compat.c: New file.
* archive.c: Update callers.
* init.c: Likewise.
* selector.c: Likewise.
* libobjc.def: Add objc_ versions of hash functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95793
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 2 Mar 2005 19:12:55 +0000 (19:12 +0000)]
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Call
free_dominance_info only when needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95791
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 2 Mar 2005 19:09:03 +0000 (19:09 +0000)]
* cfg.c (connect_src, connect_dest, disconnect_src,
disconnct_dest): New.
(unchecked_make_edge, remove_edge, redirect_edge_succ,
redirect_edge_pred): Use the new functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95790
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 2 Mar 2005 18:57:30 +0000 (18:57 +0000)]
PR target/20276
* config/rs6000/predicates.md (reg_or_cint64_operand): Fix typo.
(reg_or_sub_cint64_operand): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95789
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 2 Mar 2005 18:54:34 +0000 (18:54 +0000)]
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Fix setting of
CFG_ALTERED in the main DOM iteration loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95788
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 2 Mar 2005 17:13:09 +0000 (17:13 +0000)]
PR c++/19916
* varasm.c (initializer_constant_valid_p): Allow conversions
between OFFSET_TYPEs. Tidy.
PR c++/19916
* g++.dg/init/ptrmem2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95787
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 2 Mar 2005 16:48:29 +0000 (16:48 +0000)]
* config/cris/cris.md ("return"): Remove epilogue delay list
sanity check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95786
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Wed, 2 Mar 2005 16:27:42 +0000 (16:27 +0000)]
* config/arm/linux-elf.h (ARM_FUNCTION_PROFILER): Do not use (PLT)
for Thumb.
* config/arm/netbsd-elf.h (ARM_FUNCTION_PROFILER): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95785
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 2 Mar 2005 16:07:47 +0000 (16:07 +0000)]
* fold-const.c (fold_unary): New.
(fold): Call fold_unary on unary expressions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95783
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 2 Mar 2005 16:04:50 +0000 (16:04 +0000)]
PR middle-end/18029 and PR middle-end/18030
* expr.c (optimize_bitfield_assignment_op): Add a special case
to handle BIT_IOR_EXPR and BIT_XOR_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95782
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 2 Mar 2005 14:03:44 +0000 (14:03 +0000)]
* cfgloop.h, cfgloopanal.c, cfgloopmanip.c, conflict.c,
loop-init.c, loop-unroll.c, print-tree.c, reg-notes.def,
config/m68k/m68k.c, config/mips/mips.h,
config/rs6000/rs6000-protos.h, doc/contrib.texi,
doc/include/gcc-common.texi: Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95781
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Wed, 2 Mar 2005 12:56:28 +0000 (12:56 +0000)]
2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
* include/tr1/functional (_Has_result_type): Cleanup.
(_Result_of_impl): Handle member data pointers correctly.
(reference_wrapper): Support invocation.
Move repetition code into new file include/tr1/repeat.h.
* include/tr1/functional_iterate.h (reference_wrapper): Support
invocation. Cleanup long lines.
* include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
invocation operators.
* include/tr1/repeat.h: Code repetition header.
* include/Makefile.am: Add ref_wrap_iterate.h, repeat.h
* include/Makefile.in: Add ref_wrap_iterate.h, repeat.h
* testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
New test of reference_wrapper invocation.
* testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
New test of reference_wrapper typedefs and base classes.
* testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
(e-mail address).
2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
* include/tr1/function (result_of): New class template.
* include/tr1/functional/iterator.h: Implementation of TR1
result_of.
* testsuite/tr1/3_function_objects/result_of.cc: New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95778
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 2 Mar 2005 11:09:48 +0000 (11:09 +0000)]
2005-03-02 Richard Guenther <rguenth@gcc.gnu.org>
* cgraph.h (struct cgraph_edge): Add prev_caller and
prev_callee fields.
(cgraph_node_remove_callees): Export.
* cgraph.c (cgraph_create_edge): Initialize prev_caller
and prev_callee.
(cgraph_edge_remove_callee): New function.
(cgraph_edge_remove_caller): Likewise.
(cgraph_remove_edge): Use.
(cgraph_redirect_edge_callee): Likewise.
(cgraph_node_remove_callees): New function.
(cgraph_node_remove_callers): Likewise.
(cgraph_remove_node): Use.
* tree-optimize.c (tree_rest_of_compilation): Use
cgraph_node_remove_callees instead of manual loop.
* cgraphunit.c (cgraph_finalize_function): Likewise.
(cgraph_expand_function): Likewise.
(cgraph_remove_unreachable_nodes): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95777
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Wed, 2 Mar 2005 03:02:45 +0000 (03:02 +0000)]
* testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95774
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 2 Mar 2005 02:50:25 +0000 (02:50 +0000)]
PR c/8927
* c-tree.h (undeclared_variable, build_external_ref): Add extra
argument.
* c-decl.c (undeclared_variable): Take location as argument.
* c-typeck.c (build_external_ref): Likewise.
* c-parser.c (c_parser_postfix_expression): Pass location of
identifier to build_external_ref.
testsuite:
* gcc.dg/pr8927-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95773
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 2 Mar 2005 00:23:47 +0000 (00:23 +0000)]
* decl.c (finish_function): Use SET_EXPR_LOCATION instead of
unavailable annotate_with_file_line, if USE_MAPPED_LOCATION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95772
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 2 Mar 2005 00:17:35 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95770
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 1 Mar 2005 23:25:50 +0000 (23:25 +0000)]
2005-03-01 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in, include/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95762
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 1 Mar 2005 22:27:43 +0000 (22:27 +0000)]
PR libgcj/20160
* ltmain.sh: Avoid creating archives with components that have
duplicate basenames.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95756
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 1 Mar 2005 22:23:28 +0000 (22:23 +0000)]
* config/rs6000/rs6000.md (cceq splitter): Use operand mode, not
CCEQ mode for branch_positive_comparison_operator test.
* config/rs6000/predicates (branch_comparison_operator): Revert to
define_predicate.
(scc_comparison_operator): Same.
(branch_positive_comparison_operator): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95755
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 1 Mar 2005 20:37:30 +0000 (20:37 +0000)]
* config/cris/cris.c (cris_eligible_for_epilogue_delay)
(cris_delay_slots_for_epilogue): Remove.
(save_last): Move into cris_target_asm_function_epilogue.
(cris_target_asm_function_epilogue): Remove tests for file being
NULL.
* config/cris/cris-protos.h (cris_eligible_for_epilogue_delay)
(cris_delay_slots_for_epilogue): Remove prototypes.
* config/cris/cris.h (DELAY_SLOTS_FOR_EPILOGUE)
(ELIGIBLE_FOR_EPILOGUE_DELAY): Do not define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95754
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 1 Mar 2005 18:22:07 +0000 (18:22 +0000)]
* config/rs6000/predicates.md (branch_comparison_operator): Change
to define_special_predicate.
(scc_comparison_operator): Same.
(branch_positive_comparison_operator): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95752
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 1 Mar 2005 18:12:39 +0000 (18:12 +0000)]
Grrr, stupid patch program
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95751
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 1 Mar 2005 17:59:06 +0000 (17:59 +0000)]
2005-03-01 Daniel Berlin <dberlin@dberlin.org>
* Makefile.in (tree-ssa-sink.o): New.
(OBJS-common): Add tree-ssa-sink.o.
* common.opt: Add -ftree-sink
* opts.c (decode_options): flag_tree_sink is set at O1 or higher.
* timevar.def (TV_TREE_SINK): new timevar.
* tree-flow.h (is_hidden_global_store): Prototype.
* tree-optimize.c (init_tree_optimization_passes): Add
pass_sink_code.
* tree-pass.h (pass_sink_code): New.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Move checking
for non-obvious global store store to is_hidden_global_store, and
call that new function.
* tree-ssa-sink.c: New file.
* doc/invoke.texi: Document -fdump-tree-sink and -ftree-sink.
* doc/passes.texi: Document forward store motion.
* testsuite/gcc.dg/tree-ssa/ssa-sink-1.c: New test
* testsuite/gcc.dg/tree-ssa/ssa-sink-2.c: New test
* testsuite/gcc.dg/tree-ssa/ssa-sink-3.c: New test
* testsuite/gcc.dg/tree-ssa/ssa-sink-4.c: New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95750
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 1 Mar 2005 17:24:52 +0000 (17:24 +0000)]
PR java/8608
* check-init.c (wfl): Remove static.
(final_assign_error, check_init): Replace calls to parse_error_context
by plain error.
(check_init): Save, set, and restore input_location for each exp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95749
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 1 Mar 2005 17:03:45 +0000 (17:03 +0000)]
* jcf-reader.c (get_attribute): Handle SourceDebugExtension (JSR 45)
if HANDLE_SOURCEDEBUGEXTENSION_ATTRIBUTE is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95748
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 1 Mar 2005 16:45:19 +0000 (16:45 +0000)]
* java-tree.h (IDENTIFIER_HANDLECLASS_VALUE): Remove ancient macro.
Also improve commenst for IDENTIFIER_CLASS_VALUE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95747
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 1 Mar 2005 16:37:45 +0000 (16:37 +0000)]
* diagnostic.c (diagnostic_build_prefix): If USE_MAPPED_LOCATION
and we have a non-zero column-number, add it to the message.
Also factor out the diagnostic_kind_text.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95746
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 1 Mar 2005 15:13:22 +0000 (15:13 +0000)]
Correct cmphi comment in PR target/19065 change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95742
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Tue, 1 Mar 2005 13:44:46 +0000 (13:44 +0000)]
* cfgloop.c (flow_loop_entry_edges_find, flow_loop_exit_edges_find,
flow_loop_pre_header_scan, flow_loop_pre_header_find,
flow_loop_scan): Removed.
(flow_loop_dump): Do not dump removed fields.
(flow_loop_free): Do not free removed fields.
(flow_loops_find): Flags argument removed. Do not call flow_loop_scan.
(loop_exit_edge_p): New function.
* cfgloop.h (struct loop): Removed fields pre_header, pre_header_edges,
num_pre_header_edges, entry_edges, num_entries, exit_edges,
num_exits, exits_doms.
(LOOP_TREE, LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
LOOP_EDGES, LOOP_ALL): Removed.
(flow_loop_scan): Declaration removed.
(loop_exit_edge_p, mark_loop_exit_edges): Declare.
* cfgloopmanip.c (create_loop_notes): Do not pass flags to
flow_loops_find.
* ifcvt.c (mark_loop_exit_edges): Moved to cfgloopanal.c.
(if_convert): Call flow_loops_find and flow_loops_free
when calling mark_loop_exit_edges.
* cfgloopanal.c (mark_loop_exit_edges): Moved from
ifcvt.c. Removed the flow_loops_find, flow_loops_free and
free_dominance_info calls.
* loop-init.c (flow_loops_find): Ditto.
* passes.c (rest_of_handle_branch_prob): Ditto.
* lambda-code.c (perfect_nestify): Do not call flow_loops_find.
* loop-unroll.c (analyze_insns_in_loop): Do not use
EDGE_LOOP_EXIT.
* predict.c (predict_loops): Do not call flow_loop_scan.
Use get_loop_exit_edges.
(tree_estimate_probability): Do not pass flags to flow_loops_find.
* tree-if-conv.c (bb_with_exit_edge_p): Take loop as argument.
Do not use EDGE_LOOP_EXIT.
(tree_if_convert_cond_expr, if_convertible_modify_expr_p): Pass loop
to bb_with_exit_edge_p.
(if_convertible_loop_p): Do not call flow_loop_scan. Use
loop->single_exit. Do not use EDGE_LOOP_EXIT. Pass loop
to bb_with_exit_edge_p.
(combine_blocks): Pass loop to bb_with_exit_edge_p. Do not use
EDGE_LOOP_EXIT.
* tree-loop-linear.c (linear_transform_loops): Do not call
flow_loop_scan. Use loop->single_exit.
* tree-vect-analyze.c (vect_analyze_operations): Use loop->single_exit.
(vect_analyze_loop_form): Do not call flow_loop_scan.
* tree-vect-transform.c (vect_update_ivs_after_vectorizer): Use
loop->single_exit.
(vect_do_peeling_for_loop_bound): Use loop_preheader_edge and
loop->single_exit.
* tree-vectorizer.c (slpeel_update_phis_for_duplicate_loop,
slpeel_make_loop_iterate_ntimes, slpeel_can_duplicate_loop_p,
slpeel_tree_duplicate_loop_to_edge_cfg,
slpeel_verify_cfg_after_peeling, slpeel_tree_peel_loop_to_edge):
Use loop_preheader_edge and loop->single_exit. Do not call
flow_loop_scan.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95738
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 1 Mar 2005 10:22:53 +0000 (10:22 +0000)]
(thumb_find_work_register): Check all of the argument registers to see if they
are free, and a couple of special cases where the last argument register but
can be proved to be available during the function's prologue.
(print_multi_reg, arm_compute_save_reg0_reg12_mask, output_return_instruction,
emit_multi_reg_push, thumb_pushpop, thumb_unexpanded_epilogue): Use unsigned
long as the type for the register bit-mask.
(thumb_compute_save_reg_mask): Likewise. Also use thumb_find_work_register()
to ensure that there is agreement about which work register is going to be
used in the prologue.
(thumb_output_function_prologue): Use unsigned long as the type for the
register bit-mask. Also delay pushing the link register if other high
registers are going to be pushed.
(thumb_compute_save_reg_mask, emit_multi_reg_push, print_multi-reg,
number_of_first_bit_set, thumb_pushpop): Remove redundant prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95736
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 1 Mar 2005 09:57:45 +0000 (09:57 +0000)]
cp:
PR c++/20232
* class.c (update_vtable_entry_for_fn): Don't crash on invalid
covariancy.
* cp-tree.g (THUNK_TARGET): Expand comment.
* method.c (use_thunk): Make sure we also use the target, if that
is a thunk.
testsuite:
PR c++/20232
* g++.dg/inherit/covariant12.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95733
138bc75d-0d04-0410-961f-
82ee72b054a4
jbeulich [Tue, 1 Mar 2005 09:23:26 +0000 (09:23 +0000)]
include/
2005-03-01 Jan Beulich <jbeulich@novell.com>
* libiberty.h: Declare unlink_if_ordinary.
libiberty/
2005-03-01 Jan Beulich <jbeulich@novell.com>
* Makefile.in (CFILES): Add unlink-if-ordinary.c
(REQUIRED_OFILES): Add unlink-if-ordinary.o.
Add dependencies and rule for unlink-if-ordinary.o.
* unlink-if-ordinary.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95732
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 1 Mar 2005 04:34:00 +0000 (04:34 +0000)]
PR target/19819
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow allow hard registers during
and after reload in REG+REG indexed addresses without REG_POINTER
set in the base and not set in the index.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95729
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 1 Mar 2005 03:52:37 +0000 (03:52 +0000)]
2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/tr1/2_general_utilities/memory/shared_ptr/
cons/auto_ptr_neg.cc: Correct line numbers.
* testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95727
138bc75d-0d04-0410-961f-
82ee72b054a4
kkojima [Tue, 1 Mar 2005 03:39:03 +0000 (03:39 +0000)]
* config/sh/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):
Don't undefine here.
(HANDLE_PRAGMA_PACK_PUSH_POP): Delete.
(NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC): Likewise.
(TARGET_OS_CPP_BUILTINS): Use LINUX_TARGET_OS_CPP_BUILTINS.
(LIB_SPEC, LINK_EH_SPEC, STARTFILE_SPEC, ENDFILE_SPEC,
LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED, TARGET_C99_FUNCTIONS):
Delete.
* config.gcc (sh*-*-linux*): Use config/linux.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95726
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Tue, 1 Mar 2005 02:56:35 +0000 (02:56 +0000)]
2005-02-28 Dale Johannesen <dalej@apple.com>
Stan Shebs <shebs@apple.com>
Rewrite of 64-bit Darwin structure-by-value pass/return.
* config/rs6000/rs6000.h (CUMULATIVE_ARGS): New fields
intoffset, use_stack, named.
* config/rs6000/rs6000.c (rs6000_darwin64_function_arg): Remove.
(rs6000_darwin64_record_arg_advance_flush): New.
(rs6000_darwin64_record_arg_advance_recurse): New.
(rs6000_darwin64_record_arg_flush): New.
(rs6000_darwin64_record_arg_recurse): New.
(rs6000_darwin64_record_arg): New.
(rs6000_return_in_memory): Remove AGGREGATE_TYPE_P check.
(function_arg_boundary): Handle 128-bit aligned structs.
(function_arg_advance): Rewrite darwin64 struct handling.
(function_arg): Call rs6000_darwin64_record_arg.
(function_arg_partial_nregs): Handle darwin64 structs.
(rs6000_darwin64_function_value): Remove.
(rs6000_function_value): Call rs6000_darwin64_record_arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95723
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 1 Mar 2005 02:43:49 +0000 (02:43 +0000)]
PR tree-optimization/20216
* tree-chrec.c (tree_fold_factorial): Delete.
(tree_fold_binomial): Change argument list to take a return type
and change the type of K to unsigned int. Rewrite to avoid explicit
evaluation of factorials, and (recursively) calling fold to perform
compile-time arithmetic. Return NULL on (internal) overflow.
(chrec_evaluate): Change type of K to an unsigned int. Avoid
calling tree_fold_binomial unnecessarily. Return chrec_dont_know
if any intermediate calculation overflows.
(chrec_apply): Update call to chrec_evaluate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95722
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Tue, 1 Mar 2005 01:03:02 +0000 (01:03 +0000)]
* hashtab.c (htab_find_slot_with_hash): Make function
documentation clearer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95717
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 1 Mar 2005 00:55:14 +0000 (00:55 +0000)]
Don't emit the unused counter word and label when profiling.
* config/mips/mips.h (NO_PROFILE_COUNTERS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95716
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Tue, 1 Mar 2005 00:41:41 +0000 (00:41 +0000)]
fortran/
PR fortran/19479
* simplify.c (gfc_simplify_bound): Rename to ...
(simplify_bound): ... this and overhaul.
testsuite/
PR fortran/19479
* gfortran.dg/bound_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95713
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 1 Mar 2005 00:21:08 +0000 (00:21 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95710
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 28 Feb 2005 23:43:05 +0000 (23:43 +0000)]
* gcc.test-framework/dg-error-exp-P.c: Update message for new C parser.
* gcc.test-framework/dg-error-exp-XP.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95706
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 28 Feb 2005 21:43:51 +0000 (21:43 +0000)]
* include/tr1/memory: Replace checked_deleter with (unchecked)
_Sp_deleter as GCC warns about delete on incomplete types anyway.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95699
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 28 Feb 2005 21:34:34 +0000 (21:34 +0000)]
* include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95698
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 28 Feb 2005 20:04:41 +0000 (20:04 +0000)]
2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
PR libobjc/20252
* Makefile.in (GTHREAD_FLAGS): Remove.
(ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
* thr-objc.c: Include config.h.
* configure.ac: Instead of looking at GCC's makefile, figure out if
GTHREAD_FLAGS should be defined by looking at the `thread model'
of the current gcc.
* configure: Regenerate.
* config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95696
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Mon, 28 Feb 2005 19:59:05 +0000 (19:59 +0000)]
* trans-intrinsic.c (gfc_conv_intrinsic_iargc): remove boolean argument.
(gfc_conv_intrinsic_function): update function calls
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95695
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 28 Feb 2005 19:22:41 +0000 (19:22 +0000)]
PR c/20245
* c-parser.c (c_parser_compound_statement): Return error_mark_node
instead of NULL_TREE on error.
testsuite:
* gcc.dg/pr20245-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95693
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 28 Feb 2005 19:07:36 +0000 (19:07 +0000)]
* config/rs6000/rs6000.c (EASY_VECTOR_15): Remove.
(EASY_VECTOR_15_ADD_SELF): Remove.
(num_insns_constant_wide): Not static.
(validate_condition_mode): Not static.
(toc_relative_expr_p): Not static.
(legitimate_indirect_address_p): Not static.
(macho_lo_sum_memory_operand): Not static.
(invalid_e500_subreg): Not static.
(easy_vector_same): Not static.
(easy_vector_splat_const): Not static.
(RS6000_SYMBOL_REF_TLS_P): Remove.
(any_operand): Delete.
(any_parallel_operand): Delete.
(count_register_operand): Delete.
(altivec_register_operand): Delete.
(xer_operand): Delete.
(s8bit_cint_operand): Delete.
(short_cint_operand): Delete.
(u_short_cint_operand): Delete.
(non_short_cint_operand): Delete.
(exact_log2_cint_operand): Delete.
(gpc_reg_operand): Delete.
(cc_reg_operand): Delete.
(cc_reg_not_cr0_operand): Delete.
(reg_or_short_operand): Delete.
(reg_or_neg_short_operand): Delete.
(reg_or_aligned_short_operand): Delete.
(reg_or_u_short_operand): Delete.
(reg_or_cint_operand): Delete.
(reg_or_arith_cint_operand): Delete.
(reg_or_add_cint64_operand): Delete.
(reg_or_sub_cint64_operand): Delete.
(reg_or_logical_cint_operand): Delete.
(got_operand): Delete.
(got_no_const_operand): Delete.
(easy_fp_constant): Delete.
(easy_vector_constant): Delete.
(easy_vector_constant_add_self): Delete.
(zero_constant): Delete.
(zero_fp_constant): Delete.
(volatile_mem_operand): Delete.
(offsettable_mem_operand): Delete.
(mem_or_easy_const_operand): Delete.
(add_operand): Delete.
(non_add_cint_operand): Delete.
(logical_operand): Delete.
(non_logical_cint_operand): Delete.
(mask_operand): Delete.
(mask_operand_wrap): Delete.
(mask64_operand): Delete.
(mask64_2_operand): Delete.
(and64_operand): Delete.
(and64_2_operand): Delete.
(and_operand): Delete.
(reg_or_mem_operand): Delete.
(lwa_operand): Delete.
(symbol_ref_operand): Delete.
(call_operand): Delete.
(current_file_function_operand): Delete.
(input_operand): Delete.
(rs6000_nonimmediate_operand): Delete.
(rs6000_tls_symbol_ref): Delete.
(save_world_operation): Delete.
(restore_world_operation): Delete.
(load_multiple_operation): Delete.
(store_multiple_operation): Delete.
(vrsave_operation): Delete.
(mfcr_operation): Delete.
(mtcrf_operation): Delete.
(lmw_operation): Delete.
(stmw_operation): Delete.
(branch_comparison_operator): Delete.
(branch_positive_comparison_operator): Delete.
(scc_comparison_operator): Delete.
(trap_comparison_operator): Delete.
(boolean_operator): Delete.
(boolean_or_operator): Delete.
(min_max_operator): Delete.
* config/rs6000/rs6000.h (RS6000_SYMBOL_REF_TLS_P): Move to here.
(EASY_VECTOR_15): Moved to here.
(EASY_VECTOR_15_ADD_SELF): Move to here.
(PREDICATE_CODES): Delete.
* config/rs6000/rs6000-protos.h: Delete predicate functions.
Declare functions no longer static.
* config/rs6000/predicates.md: New.
* config/rs6000/rs6000.md: Include predicates.md
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95692
138bc75d-0d04-0410-961f-
82ee72b054a4
dpatel [Mon, 28 Feb 2005 19:04:19 +0000 (19:04 +0000)]
* directives.c (do_line): Save sysp early before line table is
realloc'ed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95691
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 28 Feb 2005 18:18:26 +0000 (18:18 +0000)]
* calls.c (emit_call_1): Don't use REG_ALWAYS_RETURN.
(emit_library_call_value_1): Don't use LCT_ALWAYS_RETURN and
REG_ALWAYS_RETURN.
* cfgrtl.c (need_fake_edge_p): Likewise.
* combine.c (distribute_notes): Likewise.
* emit-rtl.c (try_split): Likewise.
* recog.c (peephole2_opimize): Likewise.
* reg-notes.def (ALWAYS_RETURN): Remove.
* rtl.h (LCT_ALWAYS_RETURN): Remove.
* tree-cfg.c (need_fake_edge_p): Don't use ECF_ALWAYS_RETURN.
* tree.h (ECF_ALWAYS_RETURN): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95690
138bc75d-0d04-0410-961f-
82ee72b054a4
daney [Mon, 28 Feb 2005 17:22:30 +0000 (17:22 +0000)]
2005-02-23 David Daney <ddaney@avtrex.com>
* configure.host: Don't use -mxgot for MIPS builds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95689
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 28 Feb 2005 17:21:20 +0000 (17:21 +0000)]
PR middle-end/19874
* tree-ssa.c (tree_ssa_useless_type_conversion_1): A conversion
between different machine modes is never a "useless" conversion.
* gcc.c-torture/execute/
20050119-2.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95688
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Mon, 28 Feb 2005 16:30:16 +0000 (16:30 +0000)]
PR ada/15977
* doc/contrib.texi: List contributors for Ada front end
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95687
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Mon, 28 Feb 2005 15:29:43 +0000 (15:29 +0000)]
2005-02-28 Paolo Bonzini <bonzini@gnu.org>
* simplify-rtx.c (simplify_unary_operation_1,
simplify_const_unary_operation): New, extracted from...
(simplify_unary_operation): ... this one.
(simplify_binary_operation_1,
simplify_const_binary_operation): New, extracted from...
(simplify_binary_operation): ... this one.
* rtl.h (simplify_const_unary_operation,
simplify_const_binary_operation): Add prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95686
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 28 Feb 2005 15:09:55 +0000 (15:09 +0000)]
2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
PR bootstrap/20250
* Makefile.tpl (HOST target installs): Fix copy and pasto, use install
instead of check.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95685
138bc75d-0d04-0410-961f-
82ee72b054a4
jules [Mon, 28 Feb 2005 14:14:47 +0000 (14:14 +0000)]
* config/elfos.h: Revert my patch from 2005-02-25 since it broke
building libjava and caused PR regression/20228.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95684
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Mon, 28 Feb 2005 14:05:30 +0000 (14:05 +0000)]
* Makefile.in: Regenerate to fix conflict between the previous two patches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95683
138bc75d-0d04-0410-961f-
82ee72b054a4