aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-10-20re PR target/17317 (Match Constraints for *movdf_insn fails)Ramana Radhakrishnan4-44/+29
* config/arc/lib1funcs.asm (___umulsidi3): Correct usage of flags. PR target/17317 * config/arc/arc.h (REGNO_OK_FOR_BASE_P,REGNO_OK_FOR_INDEX_P, REG_OK_FOR_BASE, REG_OK_FOR_INDEX): Consider blink(r31) as a valid base and index register for loads. * config/arc/t-arc: Fix multilib handling. From-SVN: r89316
2004-10-19* Makefile.in (configure): Add @MAINT@ infront of configure.acAndrew Pinski1-0/+1
From-SVN: r89314
2004-10-20ifc-20040816-2.c: Use integer arithmetic instead of floating point ↵Ben Elliston2-14/+19
arithmetic, which could trap. * gcc.dg/tree-ssa/ifc-20040816-2.c: Use integer arithmetic instead of floating point arithmetic, which could trap. Co-Authored-By: Devang Patel <dpatel@apple.com> From-SVN: r89313
2004-10-19aclocal.m4: Rename to ...Mike Stump6-26/+385
2004-10-08 Mike Stump <mrs@apple.com> Andrew Pinski <pinskia@physics.uc.edu> * aclocal.m4: Rename to ... * acinclude.m4: here and also use m4_include instead of sinclude. * aclocal.m4: Regenerate. * configure: Regenerate. * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O. Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu> From-SVN: r89312
2004-10-20cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb, don't ↵Hans-Peter Nilsson3-6/+7
inspect BLOCK_FOR_INSN for barriers. * cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb, don't inspect BLOCK_FOR_INSN for barriers. * emit-rtl.c (emit_barrier_before): Revert last change. (emit_barrier_after, emit_barrier): Ditto. From-SVN: r89308
2004-10-20Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89306.2
2004-10-20Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89305.2
2004-10-19call.c (struct conversion): Add base_p.Mark Mitchell14-257/+542
* call.c (struct conversion): Add base_p. (convert_like): Add c_cast_p argument. (convert_like_with_conversion): Likewise. (build_conv): Clear base_p. (standard_conversion): Set it, for derived-to-base conversions. (convert_like_real): Add c_cast_p parameter. Handle pointer conversions directly rather than relying on ocp_convert. (perform_direct_initialization_if_possible): Add c_cast_p parameter. * cp-tree.h (perform_direct_initialization_if_possible): Change prototype. (convert_member_func_to_ptr): New function. * typeck.c (check_for_casting_away_constness): Add diag_fn parameter. (build_static_cast_1): New function, split out from ... (build_static_cast): ... here. Use build_static_cast_1. (build_reinterpret_cast_1): New function, split out from ... (build_reinterpret_cast): ... here. Use build_reinterpret_cast_1. (build_const_cast_1): New function, split out from ... (build_const_cast): ... here. Use build_const_cast_1. (build_c_cast): Rewrite to use build_const_cast_1, build_static_cast_1, and build_reinterpret_cast_1. (convert_member_func_to_ptr): New function. * g++.dg/conversion/reinterpret1.C: Adjust error markers. * g++.dg/conversion/const2.C: New test. * g++.dg/expr/reinterpret2.C: New test. * g++.dg/expr/reinterpret3.C: New test. * g++.dg/expr/cast2.C: New test. * g++.dg/expr/copy1.C: New test. * g++.dg/other/conversion1.C: Change error message. * g++.dg/parse/comma1.C: Use __extension__ to allow casts from function pointers to void *. * g++.old-deja/g++.mike/p10148.C: Likewise. From-SVN: r89300
2004-10-19extend.texi (Extended Asm): Warn and provide example solution for using a ↵Hans-Peter Nilsson2-0/+37
call-clobbered asm register. * doc/extend.texi (Extended Asm): Warn and provide example solution for using a call-clobbered asm register. (Local Reg Vars): Similar. Cross-reference example. From-SVN: r89299
2004-10-19CRLF fixupR. Kelley Cook1-1/+1
From-SVN: r89297
2004-10-19* gcc.dg/smod-1.c: Pass -mtune=i486 only on x86.Eric Botcazou2-1/+5
From-SVN: r89289
2004-10-19tree-cfg.c (group_case_labels): Look at the second to last case statement ↵Andrew Pinski2-4/+10
for combing with the default case. 2004-10-19 Andrew Pinski <pinskia@physics.uc.edu> * tree-cfg.c (group_case_labels): Look at the second to last case statement for combing with the default case. From-SVN: r89288
2004-10-19Testcase for PR 17962.Richard Henderson1-0/+6
From-SVN: r89285
2004-10-19re PR target/17962 (small fp vector uses sse/mmx vectors and is not aligned)Richard Henderson2-0/+9
PR 17962 * stor-layout.c (layout_type): Set TYPE_ALIGN for vectors. From-SVN: r89284
2004-10-19gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype.Ulrich Weigand2-0/+9
* include/private/gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype. From-SVN: r89283
2004-10-19builtins.c (expand_builtin_memmove): If fold_builtin_memmove succeeds, only ↵Richard Henderson2-1/+6
expand the result. * builtins.c (expand_builtin_memmove): If fold_builtin_memmove succeeds, only expand the result. From-SVN: r89282
2004-10-19re PR middle-end/17885 (gimplifing of volatile &a->)Richard Henderson2-9/+12
PR middle-end/17885 * tree.c (recompute_tree_invarant_for_addr_expr): Always poll address of INDIRECT_REF. From-SVN: r89280
2004-10-19tree-cfg.c (thread_jumps): Use a do-while loop instead of a loop with goto.Kazu Hirata2-141/+152
* tree-cfg.c (thread_jumps): Use a do-while loop instead of a loop with goto. From-SVN: r89276
2004-10-19expr.c (expand_assignment): Remove the last argument.Kazu Hirata5-34/+28
* expr.c (expand_assignment): Remove the last argument. Change the return type to void. * expr.h: Update the prototype of expand_assignment. * function.c (assign_parm_setup_reg): Update a call to expand_assignment. * stmt.c (expand_asm_expr): Likewise. From-SVN: r89275
2004-10-19MAINTAINERS: Remove from Write After Approval those that are already ↵Kazu Hirata2-5/+5
maintainers. * MAINTAINERS: Remove from Write After Approval those that are already maintainers. From-SVN: r89274
2004-10-19expr.c (expand_expr_real_1): Remove unnecessary assignments to temp.Kazu Hirata2-4/+7
* expr.c (expand_expr_real_1) <MODIFY_EXPR>: Remove unnecessary assignments to temp. Return const0_rtx. From-SVN: r89273
2004-10-19re PR c++/18047 (Wrong precedence between equality (==, !=) and < operators)Paolo Bonzini4-1/+45
2004-10-19 Paolo Bonzini <bonzini@gnu.org> PR c++/18047 * parser.c (enum cp_parser_prec): Give relational expressions a higher precedence than equality expressions. 2004-10-19 Paolo Bonzini <bonzini@gnu.org> PR c++/18047 * g++.dg/parse/expr3.C: New test. From-SVN: r89272
2004-10-19* config/sh/sh.c (sh5_schedule_saves): Fix typo.Kaz Kojima2-2/+6
From-SVN: r89271
2004-10-19* MAINTAINERS: Update my email address.Sebastian Pop2-2/+6
From-SVN: r89270
2004-10-19list_sort_search.cc: Include <ext/new_allocator.h>.Paolo Carlini3-0/+8
2004-10-19 Paolo Carlini <pcarlini@suse.de> * testsuite/performance/20_util/allocator/list_sort_search.cc: Include <ext/new_allocator.h>. * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise. From-SVN: r89269
2004-10-19configure.ac (powerpc-*-darwin*): Require assembler to support .machine ↵Kelley Cook3-4/+49
directive. 2004-10-18 Kelley Cook <kcook@gcc.gnu.org> * configure.ac (powerpc-*-darwin*): Require assembler to support .machine directive. * configure: Regenerate. From-SVN: r89264
2004-10-19Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89262.2
2004-10-19Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89261.2
2004-10-18sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently ↵Kazu Hirata1-19/+13
visited word to right. * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently visited word to right. From-SVN: r89259
2004-10-18reload1.c (ior_hard_reg_set): Remove.Kazu Hirata2-14/+10
* reload1.c (ior_hard_reg_set): Remove. (finish_spills): Use IOR_HARD_REG_SET instead of ior_hard_reg_set. From-SVN: r89258
2004-10-18sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently ↵Kazu Hirata1-0/+5
visited word to right. * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently visited word to right. From-SVN: r89257
2004-10-18ffi.c (ffi_prep_closure): Set T bit in trampoline for the function returning ↵Kaz Kojima3-6/+60
a structure pointed with R2. * src/sh/ffi.c (ffi_prep_closure): Set T bit in trampoline for the function returning a structure pointed with R2. * src/sh/sysv.S (ffi_closure_SYSV): Use R2 as the pointer to the structure return value if T bit set. Emit position independent code and EH data if PIC. From-SVN: r89254
2004-10-18re PR middle-end/18045 (signed integer remainder for power of 2 broken)Eric Botcazou4-12/+57
PR middle-end/18045 * expmed.c (expand_smod_pow2): Handle modes whose size is greater than that of HOST_WIDE_INT. From-SVN: r89253
2004-10-18c-parse.in (reservedwords): Add OBJC_TYPE_QUAL as alternative.Ziemowit Laski4-1/+26
[gcc/ChangeLog] 2004-10-18 Ziemowit Laski <zlaski@apple.com> * c-parse.in (reservedwords): Add OBJC_TYPE_QUAL as alternative. [gcc/testsuite/ChangeLog] 2004-10-18 Ziemowit Laski <zlaski@apple.com> * objc.dg/method-14.m: New test. From-SVN: r89252
2004-10-18re PR middle-end/17813 (ada bootstrap failure on i486-linux)Eric Botcazou4-4/+29
PR middle-end/17813 * dojump.c (discard_pending_stack_adjust): New function. (clear_pending_stack_adjust): Call it. * expr.h (discard_pending_stack_adjust): Declare it. * explow.c (emit_stack_save): Emit pending stack adjustments before saving the stack pointer. (emit_stack_restore): Discard pending stack adjustments before restoring the stack pointer. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r89251
2004-10-18pr17529.c: Fix test for non x86.Andrew Pinski2-1/+8
2004-10-18 Andrew Pinski <pinskia@physics.uc.edu> * gcc.c-torture/compile/pr17529.c: Fix test for non x86. Also xfail as the patch was reverted. From-SVN: r89249
2004-10-18c-common.c (handle_mode_attribute): Allow scalar->vector type changes yet.Richard Henderson2-1/+8
* c-common.c (handle_mode_attribute): Allow scalar->vector type changes yet. From-SVN: r89248
2004-10-18Fix typo.Andrew Pinski1-0/+2
From-SVN: r89247
2004-10-18* gnatvsn.ads: Set gnat library version to 4.0.Matthias Klose2-1/+5
From-SVN: r89246
2004-10-18expr.c (expand_expr_real_1): Don't request a value to expand_assignment.Kazu Hirata2-3/+9
* expr.c (expand_expr_real_1) [MODIFY_EXPR]: Don't request a value to expand_assignment. From-SVN: r89245
2004-10-18tree-cfg.c (cleanup_tree_cfg): Don't iterate on thread_jumps.Kazu Hirata2-7/+14
* tree-cfg.c (cleanup_tree_cfg): Don't iterate on thread_jumps. (thread_jumps): Iterate until no new forwarder block arises. From-SVN: r89244
2004-10-18tree-cfg.c (tree_forwarder_block_p): Don't set forwardable.Kazu Hirata2-27/+21
* tree-cfg.c (tree_forwarder_block_p): Don't set forwardable. (thread_jumps): Use forwardable as cache of tree_forwarder_block_p throughout the function. From-SVN: r89243
2004-10-18cfg.c (dump_flow_info): Remove redundant dump of reg life info.Andreas Krebbel2-8/+4
2004-10-18 Andreas Krebbel <krebbel1@de.ibm.com> * cfg.c (dump_flow_info): Remove redundant dump of reg life info. From-SVN: r89240
2004-10-18re PR middle-end/16973 (Differences between addresses of labels broken)Andrew Pinski2-0/+15
2004-10-18 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/16973 * gcc.dg/pr16973.c: New test. From-SVN: r89238
2004-10-18re PR middle-end/15014 (labels after are removed even though they are used)Andrew Pinski2-5/+31
2004-10-18 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/15014 PR middle-end/16973 * tree-cfg.c (remove_bb): If we have a label expression in the basic block and the label we have taken the address, move the label expression to the basic block which is previous in the linked list. (tree_verify_flow_info): Fix printing out the label name of the problematic label expression. From-SVN: r89237
2004-10-18Note PR rtl-optimization/18002.David Edelsohn1-0/+1
From-SVN: r89236
2004-10-18simplify-rtx.c (mode_signbit_p): Externalize function...Pat Haugen4-2/+29
2004-10-18 Pat Haugen <pthaugen@us.ibm.com> * simplify-rtx.c (mode_signbit_p): Externalize function... * rtl.h (mode_signbit_p): ... to here. * combine.c (simplify_shift_const): Recognize PLUS signbit as canonical form of XOR signbit and move to outer op. From-SVN: r89235
2004-10-18tree-cfg.c (bsi_for_stmt): Rename from stmt_for_bsi.Diego Novillo6-21/+17
* tree-cfg.c (bsi_for_stmt): Rename from stmt_for_bsi. Update all callers. * tree-ssa.c (replace_immediate_uses): Call bsi_for_stmt. Don't call fold_stmt more than once, use bsi_replace. From-SVN: r89234
2004-10-18re PR tree-optimization/17656 (internal compiler error: in ↵Diego Novillo4-2/+49
replace_immediate_uses, at tree-ssa.c:1041) PR tree-optimization/17656 * tree-ssa.c (replace_immediate_uses): When replacing a constant, if the call to fold_stmt produced a different statement, get an appropriate statement pointer by scanning STMT's basic block. PR tree-optimization/17656 * testsuite/gcc.c-torture/compile/pr17656.c: New test. From-SVN: r89233
2004-10-18cp-tree.h (UNIQUELY_DERIVED_FROM_P): Adjust lookup_base call.Nathan Sidwell12-70/+131
cp: * cp-tree.h (UNIQUELY_DERIVED_FROM_P): Adjust lookup_base call. (ACCESSIBLY_UNIQUELY_DERIVED_P): Remove. (PUBLICLY_UNIQUELY_DERIVED_P): Adjust lookup_base call. (enum base_access): Reorganize. (accessible_base_p, accessible_p): Add consider_local_p parameter. * call.c (standard_conversion): Update comment about DERIVED_FROM_P. (enforce_access): Adjust accessible_p call. (build_over_call): Adjust accessible_base_p call. * class.c (convert_to_base): Adjust lookup_base call. (build_vtbl_ref_1): Likewise. (warn_about_ambiguous_bases): Likewise. Add early exit. * cvt.c (convert_to_pointer_force) Adjust lookup_base call. * search.c (accessible_base_p): Add consider_local_p parameter. (lookup_base): Pass consider_local_p to accessible_base_p call. (friend_accessible_p): Check whether scope is a class member. Remove unnecessary class template check. (accessible_p): Add consider_local_p parameter. Use it. (adjust_result_of_qualified_name_lookup): Adjust lookup_base call. * tree.c (maybe_dummy_object): Likewise. * typeck.c (comp_except_type): Use PUBLICLY_UNIQUELY_DERIVED_P. (build_class_member_access_expr): Adjust lookup_base call. * typeck2.c (binfo_or_else): Likewise. * rtti.c (build_dynamic_cast_1): Access can consider friendship and current scope. testsuite: * g++.dg/eh/shadow1.C: New. From-SVN: r89232