Age | Commit message (Collapse) | Author | Files | Lines |
|
2005-11-13 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/24820
* testsuite/gcc.dg/pr24820.c: New test.
2005-11-13 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/24820
* builtins.c (integer_valued_real_p): Add break in
REAL_CST having TREE_OVERFLOW set.
From-SVN: r106851
|
|
modes during calculation of costs.
* tree-ssa-loop-ivopts.c (get_address_cost): Prevent splitting
addressing modes during calculation of costs.
* testsuite/gcc.dg/tree-ssa/loop-2.c: Fix outcome.
* testsuite/gcc.dg/tree-ssa/loop-3.c: Change type of loop control
variable.
From-SVN: r106842
|
|
testsuite/24614
* gcc.dg/nested-func-4.c: Add dg-options for hppa*-*-hpux*.
From-SVN: r106837
|
|
* gcc.dg/pr24445.c: Fix for 64-bit targets.
From-SVN: r106822
|
|
unexpected addressing modes)
PR middle-end/24750
* gcc.dg/torture/pr24750-1.c, gcc.target/cris/torture/pr24750-2.c:
New tests.
From-SVN: r106806
|
|
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
|
|
* gcc.dg/attr-weakref-1.c: Add exit (0) to avoid spurious
failures.
From-SVN: r106750
|
|
PR middle-end/22127
* calls.c (special_function_p): Set ECF_RETURNS_TWICE for getcontext.
From-SVN: r106739
|
|
* 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
|
|
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
|
|
2005-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.dg/pr24624.c: Disable for non S/390 targets.
From-SVN: r106691
|
|
last_save_gpr_slot.
2005-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (struct s390_frame_layout): New fields
first_save_gpr_slot and last_save_gpr_slot.
(cfun_grps_save_area_size, s390_frame_info, s390_emit_prologue,
s390_emit_epilogue, s390_initial_elimination_offset): Replaced
first_save_gpr and last_save_gpr with the _slot variants.
(s390_register_info): Calculate first_save_gpr_slot and
last_save_gpr_slot using regs_ever_live.
* testsuite/gcc.dg/pr24624.c: Testcase added.
From-SVN: r106688
|
|
libcpp/
PR c/24101
* init.c (read_original_filename): Temporarily set
state.in_directive before calling _cpp_lex_direct for
CPP_HASH tokens.
gcc/
PR c/24101
* toplev.c (process_options): Initialize debug_hooks early
in case lang_hooks.post_options ends up calling a debug_hook.
gcc/testsuite/
PR c/24101
* gcc.dg/pr24101-1.i, gcc.dg/pr24101-2.i: New tests.
* gcc.dg/dg.exp: Run main loop also for *.i files.
From-SVN: r106677
|
|
PR tree-optimization/23115
* tree-if-conv.c (find_phi_replacement_condition): Check domninated_by
relation.
* gcc.dg/tree-ssa/pr23115.c: New.
From-SVN: r106653
|
|
variables in clobbered)
2005-11-08 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/23382
* tree-ssa-alias.c (compute_may_aliases): Call
delete_old_heap_vars.
* tree-dfa.c (referenced_var_remove): New function.
* tree-ssa.c (delete_tree_ssa): Call delete_old_heap_vars.
* tree-flow.h (referenced_var_remove): Add prototype.
(delete_old_heap_vars): Ditto.
* tree-ssa-structalias.c (heapvars): New variable.
(oldheapvars): Ditto.
(get_constraint_for): Put heap vars on heapvars list.
(delete_old_heap_vars): New function.
From-SVN: r106643
|
|
-fsched2-use-traces on an x86 architecture.)
PR target/19340
* reg-stack.c (reg_to_stack): Update register liveness also
for flag_sched2_use_traces.
testsuite/
PR target/19340
* gcc.dg/pr19340.c: New test.
From-SVN: r106632
|
|
./: PR rtl-optimization/24683
* config/i386/i386.c (legitimize_pic_address): If constant operand
to PLUS is too large, put it in a register.
testsuite/:
PR rtl-optimization/24683
* gcc.dg/pr24683.c: New test.
From-SVN: r106601
|
|
* gcc.dg/vect/pr24225.c: Add cleanup-coverage-files.
* gcc.dg/vect/pr24300.c: Add cleanup-tree-dump.
From-SVN: r106592
|
|
2005-11-07 Paolo Bonzini <bonzini@gnu.org>
* c-typeck.c (build_c_cast): Try using a shared constant, and see
if TREE_OVERFLOW or TREE_CONSTANT_OVERFLOW really changed.
testsuite:
2005-11-07 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/overflow-2.c: New testcase.
From-SVN: r106587
|
|
PR 24670
* tree-vrp.c (fix_equivalence_set): New.
(extract_range_from_assert): Call it.
testsuite/
PR 24670
* gcc.dg/tree-ssa/pr24670.c: New test.
From-SVN: r106562
|
|
* gcc.target/alpha/asm-1.c: Move from gcc.dg/asm-5.c.
* gcc.target/alpha/cix-1.c, gcc.target/alpha/cix-2.c,
gcc.target/alpha/max-1.c, gcc.target/alpha/max-2.c,
gcc.target/alpha/base-1.c, gcc.target/alpha/base-2.c: Move
from gcc.dg/alpha-*.
* gcc.target/alpha/980217-1.c, gcc.target/alpha/20011018-1.c,
gcc.target/alpha/20000715-1.c: Move from gcc.dg/.
From-SVN: r106538
|
|
PR target/23424
* gcc.dg/torture/pr23424-1.c: New test.
From-SVN: r106507
|
|
* gcc.target/i386/20000609-1.c, gcc.target/i386/20000614-1.c,
gcc.target/i386/20000614-2.c, gcc.target/i386/20000720-1.c,
gcc.target/i386/20000807-1.c, gcc.target/i386/20000904-1.c,
gcc.target/i386/20001127-1.c, gcc.target/i386/20010202-1.c,
gcc.target/i386/20010520-1.c, gcc.target/i386/20011009-1.c,
gcc.target/i386/20011029-2.c, gcc.target/i386/20011107-1.c,
gcc.target/i386/20011119-1.c, gcc.target/i386/20020201-3.c,
gcc.target/i386/20020218-1.c, gcc.target/i386/20020224-1.c,
gcc.target/i386/20020426-1.c, gcc.target/i386/20020523-1.c,
gcc.target/i386/20020523-2.c, gcc.target/i386/20020531-1.c,
gcc.target/i386/20020616-1.c, gcc.target/i386/20020729-1.c,
gcc.target/i386/20030217-1.c, gcc.target/i386/20030926-1.c,
gcc.target/i386/20040112-1.c, gcc.target/i386/20050113-1.c,
gcc.target/i386/980211-1.c, gcc.target/i386/980226-1.c,
gcc.target/i386/980414-1.c, gcc.target/i386/980520-1.c,
gcc.target/i386/980709-1.c, gcc.target/i386/990117-1.c,
gcc.target/i386/990130-1.c, gcc.target/i386/990213-2.c,
gcc.target/i386/990214-1.c, gcc.target/i386/990424-1.c,
gcc.target/i386/990524-1.c, gcc.target/i386/991129-1.c,
gcc.target/i386/991209-1.c, gcc.target/i386/991214-1.c,
gcc.target/i386/991230-1.c, gcc.target/i386/pr12092-1.c,
gcc.target/i386/pr14289-1.c, gcc.target/i386/pr18614-1.c,
gcc.target/i386/pr19236-1.c, gcc.target/i386/pr20204.c,
gcc.target/i386/pr23943.c, gcc.target/i386/pr9771-1.c:
Move from gcc.dg/.
* gcc.target/i386/387-1.c, gcc.target/i386/387-2.c,
gcc.target/i386/387-3.c, gcc.target/i386/387-4.c,
gcc.target/i386/387-5.c, gcc.target/i386/387-6.c,
gcc.target/i386/387-7.c, gcc.target/i386/387-8.c,
gcc.target/i386/3dnow-1.c, gcc.target/i386/3dnow-2.c,
gcc.target/i386/3dnowA-1.c, gcc.target/i386/3dnowA-2.c,
gcc.target/i386/asm-2.c, gcc.target/i386/asm-3.c,
gcc.target/i386/asm-4.c, gcc.target/i386/bitfield1.c,
gcc.target/i386/bitfield2.c, gcc.target/i386/bitfield3.c,
gcc.target/i386/cadd.c, gcc.target/i386/call-1.c,
gcc.target/i386/clobbers.c, gcc.target/i386/cmov1.c,
gcc.target/i386/cmov2.c, gcc.target/i386/cmov3.c,
gcc.target/i386/cmov4.c, gcc.target/i386/cmov5.c,
gcc.target/i386/cvt-1.c, gcc.target/i386/fastcall-1.c,
gcc.target/i386/fpcvt-1.c, gcc.target/i386/fpcvt-2.c,
gcc.target/i386/fpcvt-3.c, gcc.target/i386/fpcvt-4.c,
gcc.target/i386/lea.c, gcc.target/i386/local.c,
gcc.target/i386/local2.c, gcc.target/i386/loop-1.c,
gcc.target/i386/loop-2.c, gcc.target/i386/loop-3.c,
gcc.target/i386/memset-1.c, gcc.target/i386/mmx-1.c,
gcc.target/i386/mmx-2.c, gcc.target/i386/mmx-3.c,
gcc.target/i386/mmx-4.c, gcc.target/i386/mmx-5.c,
gcc.target/i386/mmx-6.c, gcc.target/i386/mul.c,
gcc.target/i386/pentium4-not-mull.c, gcc.target/i386/pic-1.c,
gcc.target/i386/regparm.c, gcc.target/i386/rotate-1.c,
gcc.target/i386/sibcall-5.c, gcc.target/i386/signbit-1.c,
gcc.target/i386/signbit-2.c, gcc.target/i386/signbit-3.c,
gcc.target/i386/sse-10.c, gcc.target/i386/sse-11.c,
gcc.target/i386/sse-12.c, gcc.target/i386/sse-5.c,
gcc.target/i386/sse-6.c, gcc.target/i386/sse-7.c,
gcc.target/i386/sse-8.c, gcc.target/i386/sse-9.c,
gcc.target/i386/sse-vect-types.c, gcc.target/i386/ssefn-1.c,
gcc.target/i386/ssefn-2.c, gcc.target/i386/ssefn-3.c,
gcc.target/i386/ssefn-4.c, gcc.target/i386/ssefp-1.c,
gcc.target/i386/ssefp-2.c, gcc.target/i386/ssetype-1.c,
gcc.target/i386/ssetype-2.c, gcc.target/i386/ssetype-3.c,
gcc.target/i386/ssetype-4.c, gcc.target/i386/ssetype-5.c,
gcc.target/i386/unroll-1.c, gcc.target/i386/volatile-1.c,
gcc.target/i386/xorps.c: Move from gcc.dg/i386-*.
* gcc.target/i386/pr23376.c: Move from gcc.target/x86_64/pr23376.c.
* gcc.target/i386/asm-5.c: Move from gcc.dg/asm-1.c.
* gcc.target/i386/sse-13.c: Move from gcc.dg/i386-sse-1.c.
* gcc.target/i386/sse-14.c: Move from gcc.dg/i386-sse-2.c.
* gcc.target/i386/sse-15.c: Move from gcc.dg/i386-sse-3.c.
* gcc.target/i386/sse-16.c: Move from gcc.dg/i386-sse-4.c.
From-SVN: r106504
|
|
PR 24627
* tree-ssa-dce.c (pass_dce, pass_dce_loop, pass_cd_dce): Use
TODO_update_ssa instead of TODO_update_ssa_no_phi.
testsuite/
PR 24627
* gcc.dg/tree-ssa/pr24627.c: New test.
From-SVN: r106502
|
|
From-SVN: r106494
|
|
and gen_pic_add_dot_plus_eight.
gcc/
* config/arm/arm.c (arm_load_pic_register): Pass extra reg to
gen_pic_add_dot_plus_four and gen_pic_add_dot_plus_eight.
(arm_call_tls_get_addr, legitimize_tls_address): Likewise.
* config/arm/arm.md: Use match_operand in peephole input templates
and match_dup in peephole output templates.
gcc/testsuite/
* gcc.dg/tls/opt-10.c: New test.
From-SVN: r106493
|
|
* gcc.dg/format/unnamed-1.c: Add -msse for x86 compilation to
avoid extra warnings.
From-SVN: r106486
|
|
From-SVN: r106482
|
|
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR preprocessor/22042
* macro.c (_cpp_builtin_macro_text): Lower the needed max
buffer size.
(cpp_quote_string): Don't octalify non printable
charactors.
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR preprocessor/22042
* gcc.dg/cpp/strify4.c: New test.
From-SVN: r106463
|
|
* gcc.target/powerpc: New directory.
* gcc.target/powerpc/powerpc.exp: New file.
* gcc.dg/20020118-1.c, gcc.dg/20030218-1.c, gcc.dg/20030505.c,
gcc.dg/20040121-1.c, gcc.dg/20040622-1.c, gcc.dg/20041111-1.c,
gcc.dg/20050603-1.c, gcc.dg/20050603-3.c, gcc.dg/20050830-1.c,
gcc.dg/980827-1.c, gcc.dg/altivec-1.c, gcc.dg/altivec-10.c,
gcc.dg/altivec-11.c, gcc.dg/altivec-12.c, gcc.dg/altivec-13.c,
gcc.dg/altivec-14.c, gcc.dg/altivec-15.c, gcc.dg/altivec-16.c,
gcc.dg/altivec-17.c, gcc.dg/altivec-18.c, gcc.dg/altivec-19.c,
gcc.dg/altivec-2.c, gcc.dg/altivec-20.c, gcc.dg/altivec-21.c,
gcc.dg/altivec-22.c, gcc.dg/altivec-3.c, gcc.dg/altivec-4.c,
gcc.dg/altivec-5.c, gcc.dg/altivec-6.c, gcc.dg/altivec-7.c,
gcc.dg/altivec-8.c, gcc.dg/altivec-9.c, gcc.dg/altivec-pr22085.c,
gcc.dg/altivec-types-1.c, gcc.dg/altivec-types-2.c,
gcc.dg/altivec-types-3.c, gcc.dg/altivec-types-4.c,
gcc.dg/altivec-varargs-1.c, gcc.dg/altivec-vec-merge.c,
gcc.dg/altivec_check.h, gcc.dg/compress-float-ppc-pic.c,
gcc.dg/compress-float-ppc.c, gcc.dg/darwin-abi-1.c,
gcc.dg/darwin-abi-2.c, gcc.dg/darwin-bool-1.c,
gcc.dg/darwin-bool-2.c, gcc.dg/darwin-longdouble.c,
gcc.dg/darwin-longlong.c, gcc.dg/darwin-misaligned.c,
gcc.dg/doloop-1.c, gcc.dg/macho-lo-sum.c, gcc.dg/ppc-and-1.c,
gcc.dg/ppc-bitfield1.c, gcc.dg/ppc-compare-1.c, gcc.dg/ppc-eabi.c,
gcc.dg/ppc-fmadd-1.c, gcc.dg/ppc-fmadd-2.c, gcc.dg/ppc-fmadd-3.c,
gcc.dg/ppc-fsel-1.c, gcc.dg/ppc-fsel-2.c, gcc.dg/ppc-fsel-3.c,
gcc.dg/ppc-ldstruct.c, gcc.dg/ppc-mov-1.c, gcc.dg/ppc-sdata-1.c,
gcc.dg/ppc-sdata-2.c, gcc.dg/ppc-spe.c, gcc.dg/ppc-spe64-1.c,
gcc.dg/ppc-stackalign-1.c, gcc.dg/ppc-stfiwx.c,
gcc.dg/ppc-vector-memcpy.c, gcc.dg/ppc-vector-memset.c,
gcc.dg/ppc64-abi-1.c, gcc.dg/ppc64-abi-2.c, gcc.dg/ppc64-abi-3.c,
gcc.dg/ppc64-toc.c, gcc.dg/pr16155.c, gcc.dg/pr16286.c,
gcc.dg/pr18096-1.c, gcc.dg/rs6000-fpint-2.c,
gcc.dg/rs6000-fpint.c, gcc.dg/rs6000-ldouble-1.c,
gcc.dg/rs6000-ldouble-2.c, gcc.dg/rs6000-power2-1.c,
gcc.dg/rs6000-power2-2.c, gcc.dg/spe1.c,
gcc.dg/stabs-attrib-vect-darwin.c: Move to gcc.target/powerpc.
From-SVN: r106453
|
|
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/23155
* g++.dg/ext/c99struct1.C: New test.
* gcc.dg/union-cast-1.c: New test.
* gcc.dg/union-cast-2.c: New test.
* gcc.dg/union-cast-3.c: New test.
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/23155
* gimplifier.c (gimplify_expr): Create a temporary for lvalue
CONSTRUCTOR.
From-SVN: r106438
|
|
From-SVN: r106429
|
|
PR rtl-optimization/23585
* rtlanal.c (rtx_addr_can_trap_p_1) <PLUS>: Return 0 for an address
that can't trap plus a constant integer, if the mode has zero size.
From-SVN: r106427
|
|
ChangeLog:
PR target/24620
* config/s390/s390.md ("*insv<mode>_reg_imm"): Accept any CONST_INT
as operand 2.
("*insv<mode>_reg_extimm"): Likewise.
testsuite/ChangeLog:
PR target/24620
* gcc.dg/pr24620.c: New test.
From-SVN: r106422
|
|
PR c/24329
* c-pretty-print.c (pp_c_type_specifier): Do not recurse if
c_common_type_for_mode returns an unnamed type.
testsuite:
* gcc.dg/format/unnamed-1.c: New test.
From-SVN: r106421
|
|
PR target/23303
* i386.md: Add peep2 for simplyfing array accesses.
* gcc.dg/i386-lea.c: New test
From-SVN: r106406
|
|
at config/s390/s390.c:4025)
ChangeLog:
PR target/24615
* config/s390/s390-protos.h (s390_decompose_shift_count): Declare.
* config/s390/s390.c (s390_decompose_shift_count): New function.
(s390_extra_constraint_str) ['Y']: Use s390_decompose_shift_count.
(print_shift_count_operand): Use s390_decompose_shift_count.
* config/s390/predicates.md ("setmem_operand", "shift_count_operand"):
Use s390_decompose_shift_count. Do not accept any non-base hard regs.
testsuite/ChangeLog:
PR target/24615
* gcc.dg/pr24615.c: New test.
From-SVN: r106405
|
|
ChangeLog:
PR target/24600
* loop.c (loop_givs_rescan): Use force_operand to expand
complex GIVs.
testsuite/ChangeLog:
PR target/24600
* gcc.dg/pr24600.c: New test.
From-SVN: r106404
|
|
gcc.dg/bitfld-4.c and g++.dg/abi/bitfield4.C)
PR target/18338
* gcc.dg/bitfld-4.c, g++.dg/abi/bitfield4.C: Gate on
pcc_bitfield_type_matters || default_packed.
From-SVN: r106377
|
|
(check_effective_target_pcc_bitfield_type_matters): New proc.
* gcc.dg/bitfld-3.c: Gate on target pcc_bitfield_type_matters.
From-SVN: r106375
|
|
From-SVN: r106337
|
|
tmpdir-gcc.dg-struct-layout-1)
PR target/18482
* gcc.dg/compat/struct-layout-1_generate.c (switchfiles, main):
For mmix-*-*, pass with dg-options an additional -mno-base-addresses.
From-SVN: r106026
|
|
From-SVN: r105988
|
|
the function needs a static chain.
* config/ia64/ia64.c (ia64_output_function_profiler): Emit an
indirect call to _mcount if the function needs a static chain.
From-SVN: r105917
|
|
From-SVN: r105864
|
|
PR tree-optimization/24225
gcc/
* profile.c (branch_prob): Look from end to start through a
basic block when looking for a locus.
testsuite/
* gcc.dg/pr24225.c: New test.
From-SVN: r105857
|
|
2005-10-24 Paul Brook <paul@codesourcery.com>
PR 24107
* gcc.dg/20050922-1.c: Provide definition of uint32_t without using
stdint.h.
From-SVN: r105847
|
|
From-SVN: r105820
|
|
* gcc.dg/tree-ssa/20040204-1.c: Adjust XFAIL for CRIS and MMIX.
* gcc.dg/tree-ssa/loop-1.c: Adjust "call foo"-scanning for CRIS.
From-SVN: r105797
|
|
From-SVN: r105795
|