aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-02-20re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib)Nathanael Nerode3-238/+304
PR bootstrap/11932 * mkinstalldirs, install-sh: Import from automake CVS HEAD. From-SVN: r78143
2004-02-20* Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.Nathanael Nerode3-6/+15
From-SVN: r78142
2004-02-19Fix latent problem found by Mostafa Hagog.James E Wilson2-2/+10
* config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand for operand2. Add condition that requires register_operand operand2 before reload. From-SVN: r78140
2004-02-20Daily bump.GCC Administrator2-2/+2
From-SVN: r78137
2004-02-19Fix attribution in last delta.Richard Sandiford1-0/+1
From-SVN: r78132
2004-02-19mips.c (mips_address_insns): Treat BLKmode specially.Richard Sandiford3-2/+16
* config/mips/mips.c (mips_address_insns): Treat BLKmode specially. * config/mips/mips.md: Expand comment above unaligned loads and stores. From-SVN: r78129
2004-02-19Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros.Richard Henderson10-120/+243
* Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros. * tree.c (build0, build1, build2, build3, build4): Split out from... (build): ... here. Call them. * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New. * convert.c (convert_to_integer): Remove extra build argument. * tree-inline.c (expand_call_inline): Likewise. ada/ * misc.c (record_code_position): Add third build arg for RTL_EXPR. java/ * parse.y (switch_label): Use make_node for DEFAULT_EXPR. From-SVN: r78126
2004-02-19c-opts.c (warn_variadic_macros): New.Richard Henderson6-2/+36
* c-opts.c (warn_variadic_macros): New. (c_common_handle_option): Set it. (sanitize_cpp_opts): Copy it to cpp_opts. * c.opt (Wvariadic-macros): New. * cpplib.h (struct cpp_options): Add warn_variadic_macros. * cppinit.c (cpp_create_reader): Initialize it. * cppmacro.c (parse_params): Check it. From-SVN: r78125
2004-02-192.cc: Change input-charset from iso-8859-1 to ISO8859-1.David Edelsohn10-9/+22
* 22_locale/collate/compare/wchar_t/2.cc: Change input-charset from iso-8859-1 to ISO8859-1. * 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same. * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same. * 22_locale/collate/hash/wchar_t/2.cc: Same. * 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same. * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same. * 22_locale/collate/transform/wchar_t/2.cc: Same. * 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same. * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same. From-SVN: r78124
2004-02-19re PR preprocessor/14198 ([3.4.0][MIPS]FAIL: gcc.dg/cpp/assert4.c (test for ↵David Daney2-0/+7
excess errors)) 2004-02-19 David Daney <ddaney@avtrex.com> PR preprocessor/14198 * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add builtin_assert ("machine=mips") From-SVN: r78123
2004-02-19opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS.Kazu Hirata6-22/+11
* opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS. * system.h (DEFAULT_SHORT_ENUMS): Poison. * config/cris/cris.h: Remove a comment about DEFAULT_SHORT_ENUMS. * config/ip2k/ip2k.h: Likewise. * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove. From-SVN: r78122
2004-02-19ia64.c (ia64_function_arg): In big-endian mode...Zack Weinberg2-17/+36
* config/ia64/ia64.c (ia64_function_arg): In big-endian mode, when passing single SFmode quantities in general registers, put them in the high half. From-SVN: r78119
2004-02-19md.texi (Standard Names): Document additional dependency on fix pattern.Aldy Hernandez3-11/+22
2004-02-19 Aldy Hernandez <aldyh@redhat.com> * doc/md.texi (Standard Names): Document additional dependency on fix pattern. * optabs.c (ftruncify): Remove. (expand_fix): Manually inline ftruncify above. (can_fix_p): Add FIXME note. From-SVN: r78116
2004-02-19spe.md (spe_fixunssfsi2): Rename to spe_fixuns_truncsfsi2.Aldy Hernandez3-4/+12
* config/rs6000/spe.md (spe_fixunssfsi2): Rename to spe_fixuns_truncsfsi2. * config/rs6000/rs6000.md (fixunssfsi2): Rename to fixuns_truncsfsi2. From-SVN: r78114
2004-02-19ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.Steve Ellcey3-0/+86
* config/ia64/ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro. * testsuite/gcc.dg/20040219-1.c: New test. From-SVN: r78113
2004-02-19s390.md ("*subdf3_cc", [...]): Subtraction is not commutative.Ulrich Weigand2-4/+9
* config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc", "*subsf3_cconly"): Subtraction is not commutative. From-SVN: r78110
2004-02-19sdbout.c (preinit_symbols, [...]): New statics.Zack Weinberg2-3/+37
* sdbout.c (preinit_symbols, sdbout_initialized): New statics. (sdbout_symbol): If called before sdbout_init, queue DECL for later and return. (sdbout_init): Set sdbout_initialized true, process decls queued earlier by sdbout_symbol. (sdbout_finish): Use size_t for index variable. From-SVN: r78109
2004-02-19fold-const.c (invert_truthvalue): Do not call invert_tree_comparison for ↵Jeff Law2-0/+13
unordered comparison codes. * fold-const.c (invert_truthvalue): Do not call invert_tree_comparison for unordered comparison codes. From-SVN: r78103
2004-02-19* fr.po: Update.Joseph Myers2-384/+322
From-SVN: r78101
2004-02-19reload1.c (reload): Correct comment.Ian Lance Taylor3-18/+12
* reload1.c (reload): Correct comment. (scan_paradoxical_subregs): Remove #if 0 and old comment. * doc/extend.texi (Local Reg Vars): Remove obsolete comment that register variables are not used by reload. From-SVN: r78100
2004-02-19attr-ctor1.C: XFAIL on hppa.Nathan Sidwell3-2/+9
* g++.dg/parse/attr-ctor1.C: XFAIL on hppa. * g++.dg/opt/template1.C: Robustify assembler regexp From-SVN: r78097
2004-02-19re PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)Hans-Peter Nilsson2-4/+12
PR target/14209 * config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak constraints to not match postincrement. Adjust the predicate to exclude a volatile memory reference. From-SVN: r78095
2004-02-19* config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove.Kazu Hirata2-19/+4
From-SVN: r78094
2004-02-19hooks.c (hook_void_tree_int): Remove.Kazu Hirata5-30/+11
* hooks.c (hook_void_tree_int): Remove. (hook_void_constcharptr): Likewise. (hook_int_void_0): Likewise. * hooks.h: Remove the prototypes for the above three functions. * targhooks.c (hook_bool_machine_mode_true): Remove. * targhooks.h: Remove the prototype for hook_bool_machine_mode_true. From-SVN: r78093
2004-02-19emit-rtl.c (subreg_realpart_p): Remove.Kazu Hirata3-50/+7
* emit-rtl.c (subreg_realpart_p): Remove. (reorder_insns_with_line_notes): Likewise. (end_full_sequence): Likewise. * rtl.h: Remove the prototype for the above functions. From-SVN: r78092
2004-02-19arc.h, [...]: Remove commented-out or useless definitions of ↵Kazu Hirata12-66/+9
CASE_VECTOR_PC_RELATIVE. * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h, config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, config/iq2000/iq2000.h, config/m32r/m32r.h, config/pdp11/pdp11.h, config/sparc/sparc.h, config/xtensa/xtensa.h: Remove commented-out or useless definitions of CASE_VECTOR_PC_RELATIVE. From-SVN: r78091
2004-02-19* loop.c (all_sets_invariant_p): Remove.Kazu Hirata2-31/+4
From-SVN: r78090
2004-02-19simd-4.x: Remove.Eric Botcazou9-45/+32
* gcc.c-torture/execute/simd-4.x: Remove. * gcc.c-torture/execute/va-arg-25.x: Likewise. * gcc.dg/compat/vector-1_x.c: Do not XFAIL on SPARC. Guard with #ifndef SKIP_ATTRIBUTE. * gcc.dg/compat/vector-1_y.c: Likewise. * gcc.dg/compat/vector-2_x.c: Likewise. * gcc.dg/compat/vector-2_y.c: Likewise. * g++.dg/eh/simd-1.C: Do not XFAIL on SPARC. * g++.dg/eh/simd-2.C: Likewise. From-SVN: r78089
2004-02-19re PR target/12916 (No vector ABI)Eric Botcazou3-205/+275
PR target/12916 * config/sparc/sparc.h (NPARM_REGS): Delete. (BASE_RETURN_VALUE_REG): Likewise. (BASE_OUTGOING_VALUE_REG): Likewise. (BASE_PASSING_ARG_REG): Likewise. (BASE_INCOMING_ARG_REG): Likewise. * config/sparc/sparc.c (sparc_strict_argument_naming): Test TARGET_ARCH64, not TARGET_V9. (function_arg_slotno): Dispatch based on the mode class. Handle vector modes like floating-point modes. (function_arg_record_value_1): Handle vector types like floating-point types. (function_arg_record_value_2): Likewise. Calculate regno after mode transformation. (function_arg): Handle vector modes like floating-point modes. (function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX. If ARCH64, do not recheck alignment. (function_arg_pass_by_reference): Reorder the conditions. (sparc_return_in_memory): Move after function_arg_padding. Implement calling conventions for vector modes. (sparc_struct_value_rtx): Move after sparc_return_in_memory. (function_value): Move scope of 'regbase'. Implement calling conventions for vector modes. (sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST. (sparc_va_arg): Use function_arg_pass_by_reference to test whether the argument is passed by reference. (sparc_type_code): Handle vector types. From-SVN: r78087
2004-02-19New test.Alan Modra2-0/+16
From-SVN: r78080
2004-02-19function.c (assign_parms): When building decl_rtl for SPLIT_COMPLEX_ARGS...Alan Modra2-9/+26
* function.c (assign_parms): When building decl_rtl for SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer. From-SVN: r78079
2004-02-19re PR target/14209 (Bug in cris.md, shrinking access size of postincrement.)Hans-Peter Nilsson2-0/+42
PR target/14209 * gcc.c-torture/execute/20040218-1.c: New test. From-SVN: r78078
2004-02-19expr.c (is_aligning_offset): Check if we are aligning the expressions's ↵Olivier Hainque2-1/+8
address over BIGGEST_ALIGNMENT in... * expr.c (is_aligning_offset): Check if we are aligning the expressions's address over BIGGEST_ALIGNMENT in bytes, not in bits. From-SVN: r78076
2004-02-19gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined...Matt Austern3-4/+27
* gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined, and LIBGCC_SPEC isn't, set LIBGCC_SPEC to REAL_LIBGCC_SPEC. (init_gcc_spec): Don't define or call if REAL_LIBGCC_SPEC is defined. Instead use REAL_LIBGCC_SPEC, unmodifed, as the libgcc spec string. * doc/tm.texi (REAL_LIBGCC_SPEC): Document. From-SVN: r78072
2004-02-19re PR c++/14181 (Cryptic error message for code that compiled without ↵Giovanni Bajo2-0/+14
warnings in 3.3.x) PR c++/14181 * g++.dg/parse/new2.C: New test. From-SVN: r78068
2004-02-19re PR c++/14181 (Cryptic error message for code that compiled without ↵Giovanni Bajo2-0/+16
warnings in 3.3.x) PR c++/14181 * parser.c (cp_parser_new_expression): Parse an ill-formed direct-new-declarator after a parenthesized type-id to emit good diagnostic. From-SVN: r78067
2004-02-19Daily bump.GCC Administrator2-2/+2
From-SVN: r78064
2004-02-18dwarf2out.c (loclabel_num): Move outside #ifdef DWARF2_DEBUGGING_INFO and ↵Zack Weinberg3-43/+53
mark with GTY(()). * dwarf2out.c (loclabel_num): Move outside #ifdef DWARF2_DEBUGGING_INFO and mark with GTY(()). * config/ia64/ia64.c (struct extern_func_list,extern_func_head): Mark with GTY(()). (ia64_hpux_add_extern_decl): Save the decl, not the name string. Allocate memory with ggc_alloc. No need to copy anything. (ia64_hpux_file_end): Update to match. From-SVN: r78061
2004-02-19i386.c (override_options): Don't imply 3DNow!Jakub Jelinek2-1/+8
* config/i386/i386.c (override_options): Don't imply 3DNow! for -m64 by default. From-SVN: r78059
2004-02-18s390.md ("divmodtidi3"): Use canonical RTL.Ulrich Weigand2-52/+62
* config/s390/s390.md ("divmodtidi3"): Use canonical RTL. ("divmodtisi3"): Likewise. ("udivmoddi4", "udivmodtidi3"): Likewise. ("divmodsi4", "divmoddisi3"): Likewise. ("udivmodsi4", "udivmoddisi3"): Likewise. ("udivsi3", "umodsi3"): Likewise. From-SVN: r78057
2004-02-18s390.c (s390_mainpool_start): Delete the main pool placeholder insn when ↵Ulrich Weigand2-0/+9
chunkifying the pool. * config/s390/s390.c (s390_mainpool_start): Delete the main pool placeholder insn when chunkifying the pool. From-SVN: r78054
2004-02-18pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not generating ↵John David Anglin2-2/+8
PIC code. * pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not generating PIC code. From-SVN: r78053
2004-02-18h8300-protos.h: Add a prototype for h8300_expand_branch.Kazu Hirata4-60/+43
* config/h8300/h8300-protos.h: Add a prototype for h8300_expand_branch. * config/h8300/h8300.c (h8300_expand_branch): New. * config/h8300/h8300.md (ble, bleu, bge, bgeu, blt, bltu, bgt, bgtu, beq, bne): Call h8300_expand_branch(). From-SVN: r78052
2004-02-18h8300-protos.h: Add prototypes for h8300_hard_regno_nregs and ↵Kazu Hirata4-22/+42
h8300_hard_regno_mode_ok. * config/h8300/h8300-protos.h: Add prototypes for h8300_hard_regno_nregs and h8300_hard_regno_mode_ok. * config/h8300/h8300.c (h8300_hard_regno_nregs): New. (h8300_hard_regno_mode_ok): Likewise. * config/h8300/h8300.h (HARD_REGNO_NREGS): Call h8300_hard_regno_nregs(). (HARD_REGNO_MODE_OK): Call h8300_hard_regno_mode_ok(). From-SVN: r78050
2004-02-18re PR preprocessor/14103 (ICEs on "gcc -E -imacros foo.h baz.c")Per Bothner7-26/+61
* cpphash.h (struct cpp_buffer): Restore return_at_eof field. This partly reverts my 2003-10-01 change, because we're back to logically including <command line> inside the main line. * cpplex.c (_cpp_get_fresh_line): Check return_at_eof field. * cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer. Fixes PR preprocessor/14103. * cppfiles.c (_cpp_stack_include): When appropriate decrement line_table's highest_location, fixing LAST_SOURCE_LINE_LOCATION. (cpp_push_include): Don't need to increment pfile's line field. * line-map.h (LAST_SOURCE_LINE_LOCATION): Only decrement by 1. * c-ppoutput.c (print struct): New first_time field. (init_pp_output): Set print.first_time. (pp_file_change): Use print.first_time, rather than MAIN_FILE_P, which is set also for (say) <command line>. Clear print.first_time. * cppfiles.c (struct _cpp_file): Comment and type for pch field does not match the code, so fix both. (should_stack_file): Inline include_pch_p function. (include_pch_p): Remove pointless function. * cpphash.h (struct cpp_buffer): Remove unused search_cached field. From-SVN: r78049
2004-02-18h8300.md (four define_peephole2's): Use h8300_regs_ok_for_stm().Kazu Hirata2-26/+11
* config/h8300/h8300.md (four define_peephole2's): Use h8300_regs_ok_for_stm(). From-SVN: r78048
2004-02-18h8300-protos.h: Update the prototype for expand_a_rotate().Kazu Hirata4-5/+13
* config/h8300/h8300-protos.h: Update the prototype for expand_a_rotate(). * config/h8300/h8300.c (expand_a_rotate): Remove the first argument. * config/h8300/h8300.md: Update all callers. From-SVN: r78047
2004-02-18simplify-rtx.c (simplify_unary_operation): Deal with logicals on floats.Jan Hubicka3-189/+241
* simplify-rtx.c (simplify_unary_operation): Deal with logicals on floats. (simplify_binary_operation): Deal with logicals on floats. * i386.md (SSE fabs splitters): Emit new patterns. (SSE cmov splitters): Likewise. (sse_andv4sf3, sse_nandv4sf3, sse_iorv4sf3, sse_xorv4sf3 (sse_andv2df3, sse_nandv2df3, sse_iorv2df3, sse_xorv2df3): Do not use subregs. (sse_andsf3, sse_nandsf3, sse_xorsf3): Kill. (sse_anddf3, sse_nanddf3, sse_xordf3): Kill. From-SVN: r78045
2004-02-18h8300.c (expand_a_rotate): Don't generate insns by hand.Kazu Hirata3-11/+42
* config/h8300/h8300.c (expand_a_rotate): Don't generate insns by hand. (output_a_rotate): Tweak a comment. * config/h8300/h8300.md (*rotlqi3_1): Change to rotlqi3_1. (*rotlhi3_1): Change to rotlhi3_1. (*rotlsi3_1): Change to rotlsi3_1. From-SVN: r78043
2004-02-18re PR target/13866 (ICE in extract_insn, at recog.c:2083)Richard Earnshaw2-2/+7
PR target/13866 * arm.c (load_multiple_operation): Don't insist that the source reg of a post-increment component is the same as the destination. (store_multiple_operation): Likewise. From-SVN: r78041