aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2004-12-27re PR c++/19148 (ICE: gimplification failed)Mark Mitchell2-0/+17
PR c++/19148 * g++.dg/expr/cond7.C: New test. From-SVN: r92641
2004-12-27re PR c++/19148 (ICE: gimplification failed)Mark Mitchell2-5/+15
PR c++/19148 * gimplify.c (gimplify_cond_expr): Add post_p parameter. (gimplify_modify_expr_rhs): Adjust call to gimplify_cond_expr. (gimplify_expr): Likewise. From-SVN: r92640
2004-12-27* gfortran.dg/g77/select_no_compile.f: Remove.Paul Brook2-11/+4
From-SVN: r92639
2004-12-27i386.h (UNITS_PER_SIMD_WORD): Don't use MMX/3DNOW.Richard Henderson9-297/+13
* config/i386/i386.h (UNITS_PER_SIMD_WORD): Don't use MMX/3DNOW. * gcc.dg/vect/vect-27a.c, gcc.dg/vect/vect-29a.c, gcc.dg/vect/vect-48a.c, gcc.dg/vect/vect-56a.c, gcc.dg/vect/vect-72a.c, gcc.dg/vect/vect-77a.c: Remove. From-SVN: r92637
2004-12-26compat-common.h (CINT, CDBL): Use multiplication by 1i instead of token pasting.Richard Henderson2-2/+7
* gcc.dg/compat/compat-common.h (CINT, CDBL): Use multiplication by 1i instead of token pasting. From-SVN: r92635
2004-12-26i386.md (mov<MMXMODEI>_internal_rex64): New.Richard Henderson1-4/+50
* config/i386/i386.md (mov<MMXMODEI>_internal_rex64): New. (movv2sf_internal_rex64): New. (mov<MMXMODEI>_internal): Use no register preferences at all. (movv2sf_internal): Likewise. From-SVN: r92634
2004-12-26i386.c (ix86_gimplify_va_arg): Also pass the result of type_natural_mode to ↵Richard Henderson2-5/+15
examine_argument. * config/i386/i386.c (ix86_gimplify_va_arg): Also pass the result of type_natural_mode to examine_argument. From-SVN: r92633
2004-12-26simplify-rtx.c (simplify_relational_operation_1): Don't simplify plus/minus ↵Richard Henderson2-1/+7
across EQ for floating-point. * simplify-rtx.c (simplify_relational_operation_1): Don't simplify plus/minus across EQ for floating-point. From-SVN: r92631
2004-12-27re PR target/17643 (ICE in propagate_one_insn, at flow.c:1582)John David Anglin2-3/+11
PR target/17643 * pa.c (pa_function_ok_for_sibcall): Sibcalls are not ok when generating code for the portable runtime. From-SVN: r92629
2004-12-27Daily bump.GCC Administrator1-1/+1
From-SVN: r92626
2004-12-26re PR tree-optimization/17578 (Missed optimization--failure of ↵John David Anglin3-2/+9
gcc.c-torture/execute/ieee/compare-fp-3.c at -O1 and above) PR tree-optimization/17578 * gcc.c-torture/execute/ieee/compare-fp-3.x: Append -fno-trapping-math to additional_flags. * gcc.c-torture/execute/ieee/compare-fp-4.x: Likewise. From-SVN: r92623
2004-12-25expr.c (clear_storage): Validate CONST0_RTX extant.Richard Henderson2-17/+41
* expr.c (clear_storage): Validate CONST0_RTX extant. Special case complex modes. From-SVN: r92615
2004-12-25target-supports.exp (check_effective_target_vect_no_bitwise): Remove Alpha.Richard Henderson2-2/+6
* lib/target-supports.exp (check_effective_target_vect_no_bitwise): Remove Alpha. From-SVN: r92614
2004-12-26Daily bump.GCC Administrator1-1/+1
From-SVN: r92612
2004-12-25re PR rtl-optimization/19078 (Poor quality code after loop unrolling.)Zdenek Dvorak2-4/+38
PR rtl-optimization/19078 * tree-ssa-loop-ivopts.c (determine_use_iv_cost_generic, determine_use_iv_cost_outer): Fix computing of cost for the original bivs. (dump_use): Handle case related_cands == NULL. From-SVN: r92608
2004-12-25re PR target/19059 (Atmel AVR Tiny13 and Tiny2313 support corrupted)Marek Michalkiewicz4-7/+15
PR target/19059 * config/avr/avr.c (avr_mcu_types): Move attiny{13,2313} from avr4 to avr2. * config/avr/avr.h (LINK_SPEC): Ditto. * config/avr/t-avr (MULTILIB_MATCHES): Ditto. From-SVN: r92607
2004-12-25pr17055-1.c (dg-options): Add -fno-common to options on hppa*-*-hpux*.John David Anglin7-2/+24
* gcc.dg/pr17055-1.c (dg-options): Add -fno-common to options on hppa*-*-hpux*. * gcc.dg/pr17957.c (dg-options): Likewise. * gcc.dg/struct-ret-1.c: Add prototype for abort. * gcc.dg/tree-ssa/asm-2.c, gcc.dg/tree-ssa/asm-3.c: Use register 1 instead of 0 on __hppa__. * gcc.dg/tree-ssa/loop-1.c (dg-final): Check for five instances of "foo,%r" on hppa*-*-*. From-SVN: r92606
2004-12-25re PR target/19137 (ICE with load of TImode constant)Alan Modra2-33/+42
PR target/19137 * config/rs6000/rs6000.md (movti_power, movti_string): Relax operand[1] predicate to input_operand, and add r<-n alternative. Move TImode const_double_operand splitter to where it belongs. From-SVN: r92603
2004-12-25Daily bump.GCC Administrator1-1/+1
From-SVN: r92600
2004-12-25re PR target/19147 (invalid rlwinm patterns)Alan Modra2-54/+5
PR target/19147 * config/rs6000/rs6000.md (andsi3_internal7, andsi3_internal8): Delete. From-SVN: r92594
2004-12-24i386.md (*fix_trunc{d,s,h}i_1): Rename to *fix_trunc{d,s,h}i_i387.Uros Bizjak2-6/+12
* config/i386/i386.md (*fix_trunc{d,s,h}i_1): Rename to *fix_trunc{d,s,h}i_i387. (fix_trunc{d,s}fdi2): Reorder tests. From-SVN: r92586
2004-12-24re PR tree-optimization/14638 (Variables disappear from debug info at -O1)Daniel Berlin5-7/+41
2004-12-24 Daniel Berlin <dberlin@dberlin.org> Fix PR debug/14638 * tree.h (DECL_DEBUG_ALIAS_OF): New macro. * var-tracking.c (track_expr_p): Don't disqualify tracking of variables that are aliases of variables we want to track, unless the original variable is also ignored for debugging purposes. (VARIABLE_HASH_VAL): Use DECL_UID, so that this is deterministic. * tree-outof-ssa.c (create_temp): Note who we are a debug alias of. * dwarf2out.c (dwarf2out_var_location): Add us to the location of the decl we are an alias of. From-SVN: r92585
2004-12-24complex_write.f90: removed extraneous comma.Bud Davis1-1/+1
2004-12-23 Bud Davis <bdavis9659@comcast.net> * gfortran.dg/complex_write.f90: removed extraneous comma. From-SVN: r92584
2004-12-24re PR target/19142 (ppc-darwin no longer builds)Alan Modra2-1/+8
PR target/19142 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Allow DFmode for 32-bit again. From-SVN: r92583
2004-12-24re PR libfortran/19071 (complex formatted output has too many items)Bud Davis2-0/+20
2004-12-23 Bud Davis <bdavis9659@comcast.net> PR fortran/19071 * io/tranfer.c (formatted_transfer): moved check for format reversion inside the processing loop. * gfortran.dg/complex_write.f90: New test. From-SVN: r92582
2004-12-24Daily bump.GCC Administrator1-1/+1
From-SVN: r92580
2004-12-23gfortran.texi: Fix typo.Steven G. Kargl2-1/+5
2004-12-23 Steven G. Kargl <kargls@comcast.net> * gfortran.texi: Fix typo. From-SVN: r92575
2004-12-23reload.c (regno_clobbered_p): Add a gcc_assert that regno refers to a hard ↵Roger Sayle2-2/+12
register. * reload.c (regno_clobbered_p): Add a gcc_assert that regno refers to a hard register. From-SVN: r92574
2004-12-23re PR c++/17595 (Unfriendly error message/rejects legal #pragmas in the ↵Mark Mitchell2-0/+11
middle of a parameter list) PR c++/17595 * parser.c (cp_parser_error): Issue better messages about #pragma in locations where it is not permitted. PR c++/17595 * g++.dg/parse/pragma2.C: New test. From-SVN: r92573
2004-12-23re PR c++/17595 (Unfriendly error message/rejects legal #pragmas in the ↵Mark Mitchell2-0/+10
middle of a parameter list) PR c++/17595 * parser.c (cp_parser_error): Issue better messages about #pragma in locations where it is not permitted. From-SVN: r92572
2004-12-23gimplify.c (gimplify_modify_expr_rhs): Use types_compatible_p.Mark Mitchell4-2/+15
* gimplify.c (gimplify_modify_expr_rhs): Use types_compatible_p. * g++.dg/opt/temp1.C: Make memcpy actually copy bytes. From-SVN: r92571
2004-12-23Fixed incorrect PR number.Alexandre Oliva1-1/+1
From-SVN: r92569
2004-12-23* gcc.dg/empty2.c: Add missing dg-warning.Alexandre Oliva2-1/+5
From-SVN: r92566
2004-12-23genrecog.c (did_you_mean_codes): New.DJ Delorie2-0/+24
* genrecog.c (did_you_mean_codes): New. (compute_predicate_codes): Fail unmatched codes. From-SVN: r92565
2004-12-23re PR c++/17413 (local classes as template argument)Mark Mitchell5-4/+20
PR c++/17413 * pt.c (check_instantiated_args): Remove bogus SFINAE code. PR c++/17413 * g++.dg/template/local4.C: New test. * g++.dg/template/crash19.C: Add dg-error marker. From-SVN: r92562
2004-12-23mips.h (TARGET_CPU_CPP_BUILTINS): Add assert for machine=mips for !TARGET_IRIX.Eric Christopher5-4/+13
2004-12-23 Eric Christopher <echristo@redhat.com> * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add assert for machine=mips for !TARGET_IRIX. * config/mips/linux.h: Remove machine=mips assert. * config/mips/netbsd.h: Ditto. * config/mips/openbsd.h: Ditto. From-SVN: r92561
2004-12-23Fix ChangeLog entry from 2004-12-22 from 'dg-xfail-if' to 'dg-skip-if'Janis Johnson1-1/+1
From-SVN: r92558
2004-12-23* g++.dg/template/crash31.C: Correct embedded PR number.Mark Mitchell3-2/+6
From-SVN: r92557
2004-12-23* cvt.c (convert_to_void): Fix typo in comment.Mark Mitchell2-1/+5
From-SVN: r92556
2004-12-23re PR c++/16405 (Temporary aggregate copy not elided)Mark Mitchell2-0/+6
PR c++/16405 * gimplify.c (gimplify_modify_expr_rhs): Handle INDIRECT_REF/ADDR_EXPR combinations. From-SVN: r92555
2004-12-23tree.c (iterative_hash_expr): Canonicalize builtins.Dale Johannesen2-1/+17
2004-12-23 Dale Johannesen <dalej@apple.com> * tree.c (iterative_hash_expr): Canonicalize builtins. From-SVN: r92553
2004-12-23re PR c++/18962 (specialization of template class with inner template ↵Alexandre Oliva4-0/+37
members and parameter) gcc/cp/ChangeLog: PR c++/18962 * pt.c (check_explicit_specialization): Use the argument list from the definition in a template function specialization definition. gcc/testsuite/ChangeLog: * g++.dg/template/spec19.C: New. From-SVN: r92552
2004-12-23re PR target/16819 (ICE with empty struct as arg)Alexandre Oliva4-2/+28
gcc/ChangeLog: PR target/16819 * calls.c (load_register_parameters): Don't call use_regs when nregs is zero. gcc/testsuite/ChangeLog: PR target/16891 * gcc.dg/empty2.c: New. From-SVN: r92551
2004-12-23re PR middle-end/17746 (ICE when building the Ada RTS)Eric Botcazou2-2/+3
PR middle-end/17746 * expr.c (get_inner_reference): Add 'keep_aligning' parameter. Break on aligning VIEW_CONVERT_EXPR nodes on STRICT_ALIGNMENT platforms only if keep_aligning is true. (expand_assignment): Adjust call to get_inner_reference. (expand_expr_addr_expr_1): Likewise. (expand_expr_real_1): Likewise. * dojump.c (do_jump): Likewise. * dwarf2out.c (loc_descriptor_from_tree_1): Likewise. * fold-const.c (optimize_bit_field_compare): Likewise. (decode_field_reference): Likewise. (split_address_to_core_and_offset): Likewise. * tree-ssa-loop-ivopts.c (split_address_cost): Likewise. * tree.h (get_inner_reference): Adjust prototype. ada/ * trans.c (Attribute_to_gnu): Adjust call to get_inner_reference. * utils2.c (build_unary_op): Likewise. From-SVN: r92550
2004-12-23re PR middle-end/17746 (ICE when building the Ada RTS)Eric Botcazou9-20/+58
PR middle-end/17746 * expr.c (get_inner_reference): Add 'keep_aligning' parameter. Break on aligning VIEW_CONVERT_EXPR nodes on STRICT_ALIGNMENT platforms only if keep_aligning is true. (expand_assignment): Adjust call to get_inner_reference. (expand_expr_addr_expr_1): Likewise. (expand_expr_real_1): Likewise. * dojump.c (do_jump): Likewise. * dwarf2out.c (loc_descriptor_from_tree_1): Likewise. * fold-const.c (optimize_bit_field_compare): Likewise. (decode_field_reference): Likewise. (split_address_to_core_and_offset): Likewise. * tree-ssa-loop-ivopts.c (split_address_cost): Likewise. * expr.h (get_inner_reference): Adjust prototype. ada/ * trans.c (Attribute_to_gnu): Adjust call to get_inner_reference. * utils2.c (build_unary_op): Likewise. From-SVN: r92549
2004-12-23i386.c (override_options): Revert last change wrt fancy 387 math.Richard Henderson2-2/+6
* config/i386/i386.c (override_options): Revert last change wrt fancy 387 math. From-SVN: r92547
2004-12-23alpha.md (one_cmpl<mode>2, [...]): New macroized vector operate patterns.Richard Henderson2-0/+61
* config/alpha/alpha.md (one_cmpl<mode>2, and<mode>3, andnot<mode>3, ior<mode>3, iornot<mode>3, xor<mode>3, xornot<mode>3): New macroized vector operate patterns. From-SVN: r92545
2004-12-23target-supports.exp (check_effective_target_vect_no_align): Remove i?86 and ↵Richard Henderson2-3/+6
x86-64. * lib/target-supports.exp (check_effective_target_vect_no_align): Remove i?86 and x86-64. From-SVN: r92544
2004-12-23i386.c (ix86_expand_vector_move): Tidy.Richard Henderson4-33/+175
* config/i386/i386.c (ix86_expand_vector_move): Tidy. (ix86_expand_vector_move_misalign): New. (ix86_misaligned_mem_ok): Remove. (TARGET_VECTORIZE_MISALIGNED_MEM_OK): Remove. * config/i386/i386-protos.h: Update. * config/i386/i386.md (SSEMODEI): Rename from SSEINT16. (MMXMODEI): Rename from MMXINT8. (SSEMODE, MMXMODE, movmisalign<mode>): New. From-SVN: r92543
2004-12-23re PR c++/16405 (Temporary aggregate copy not elided)Mark Mitchell4-0/+77
PR c++/16405 * gimplify.c (gimplify_modify_expr_rhs): Handle INDIRECT_REF/ADDR_EXPR combinations. PR c++/16405 * g++.dg/opt/temp1.C: New test. From-SVN: r92539