Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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
|
|
From-SVN: r89314
|
|
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-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
|
|
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
|
|
[[Split portion of a mixed commit.]]
From-SVN: r89306.2
|
|
[[Split portion of a mixed commit.]]
From-SVN: r89305.2
|
|
* 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
|
|
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
|
|
From-SVN: r89297
|
|
From-SVN: r89289
|
|
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
|
|
From-SVN: r89285
|
|
PR 17962
* stor-layout.c (layout_type): Set TYPE_ALIGN for vectors.
From-SVN: r89284
|
|
* include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
Add prototype.
From-SVN: r89283
|
|
expand the result.
* builtins.c (expand_builtin_memmove): If fold_builtin_memmove
succeeds, only expand the result.
From-SVN: r89282
|
|
PR middle-end/17885
* tree.c (recompute_tree_invarant_for_addr_expr): Always poll address
of INDIRECT_REF.
From-SVN: r89280
|
|
* tree-cfg.c (thread_jumps): Use a do-while loop instead of a
loop with goto.
From-SVN: r89276
|
|
* 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
|
|
maintainers.
* MAINTAINERS: Remove from Write After Approval those that are
already maintainers.
From-SVN: r89274
|
|
* expr.c (expand_expr_real_1) <MODIFY_EXPR>: Remove
unnecessary assignments to temp. Return const0_rtx.
From-SVN: r89273
|
|
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
|
|
From-SVN: r89271
|
|
From-SVN: r89270
|
|
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
|
|
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
|
|
[[Split portion of a mixed commit.]]
From-SVN: r89262.2
|
|
[[Split portion of a mixed commit.]]
From-SVN: r89261.2
|
|
visited word to right.
* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting
the currently visited word to right.
From-SVN: r89259
|
|
* reload1.c (ior_hard_reg_set): Remove.
(finish_spills): Use IOR_HARD_REG_SET instead of
ior_hard_reg_set.
From-SVN: r89258
|
|
visited word to right.
* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting
the currently visited word to right.
From-SVN: r89257
|
|
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
|
|
PR middle-end/18045
* expmed.c (expand_smod_pow2): Handle modes whose size
is greater than that of HOST_WIDE_INT.
From-SVN: r89253
|
|
[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
|
|
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-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
|
|
* c-common.c (handle_mode_attribute): Allow scalar->vector
type changes yet.
From-SVN: r89248
|
|
From-SVN: r89247
|
|
From-SVN: r89246
|
|
* expr.c (expand_expr_real_1) [MODIFY_EXPR]: Don't request a
value to expand_assignment.
From-SVN: r89245
|
|
* tree-cfg.c (cleanup_tree_cfg): Don't iterate on
thread_jumps.
(thread_jumps): Iterate until no new forwarder block arises.
From-SVN: r89244
|
|
* 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-18 Andreas Krebbel <krebbel1@de.ibm.com>
* cfg.c (dump_flow_info): Remove redundant dump of reg life info.
From-SVN: r89240
|
|
2004-10-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/16973
* gcc.dg/pr16973.c: New test.
From-SVN: r89238
|
|
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
|
|
From-SVN: r89236
|
|
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
|
|
* 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
|
|
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
|
|
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
|