- 19 Feb, 2004 30 commits
-
-
* 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
Richard Henderson committed -
* 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
David Edelsohn committed -
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
David Daney committed -
* 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
Kazu Hirata committed -
* 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
Zack Weinberg committed -
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
Aldy Hernandez committed -
* config/rs6000/spe.md (spe_fixunssfsi2): Rename to spe_fixuns_truncsfsi2. * config/rs6000/rs6000.md (fixunssfsi2): Rename to fixuns_truncsfsi2. From-SVN: r78114
Aldy Hernandez committed -
* config/ia64/ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro. * testsuite/gcc.dg/20040219-1.c: New test. From-SVN: r78113
Steve Ellcey committed -
* config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc", "*subsf3_cconly"): Subtraction is not commutative. From-SVN: r78110
Ulrich Weigand committed -
* 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
Zack Weinberg committed -
fold-const.c (invert_truthvalue): Do not call invert_tree_comparison for unordered comparison codes. * fold-const.c (invert_truthvalue): Do not call invert_tree_comparison for unordered comparison codes. From-SVN: r78103
Jeff Law committed -
From-SVN: r78101
Joseph Myers committed -
* 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
Ian Lance Taylor committed -
* g++.dg/parse/attr-ctor1.C: XFAIL on hppa. * g++.dg/opt/template1.C: Robustify assembler regexp From-SVN: r78097
Nathan Sidwell committed -
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
Hans-Peter Nilsson committed -
From-SVN: r78094
Kazu Hirata committed -
* 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
Kazu Hirata committed -
* 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
Kazu Hirata committed -
* 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
Kazu Hirata committed -
From-SVN: r78090
Kazu Hirata committed -
* 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
Eric Botcazou committed -
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
Eric Botcazou committed -
From-SVN: r78080
Alan Modra committed -
* function.c (assign_parms): When building decl_rtl for SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer. From-SVN: r78079
Alan Modra committed -
PR target/14209 * gcc.c-torture/execute/20040218-1.c: New test. From-SVN: r78078
Hans-Peter Nilsson committed -
expr.c (is_aligning_offset): Check if we are aligning the expressions's 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
Olivier Hainque committed -
* 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
Matt Austern committed -
PR c++/14181 * g++.dg/parse/new2.C: New test. From-SVN: r78068
Giovanni Bajo committed -
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
Giovanni Bajo committed -
From-SVN: r78064
GCC Administrator committed
-
- 18 Feb, 2004 10 commits
-
-
* 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
Zack Weinberg committed -
* config/i386/i386.c (override_options): Don't imply 3DNow! for -m64 by default. From-SVN: r78059
Jakub Jelinek committed -
* 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
Ulrich Weigand committed -
* config/s390/s390.c (s390_mainpool_start): Delete the main pool placeholder insn when chunkifying the pool. From-SVN: r78054
Ulrich Weigand committed -
* pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not generating PIC code. From-SVN: r78053
John David Anglin committed -
* 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
Kazu Hirata committed -
* 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
Kazu Hirata committed -
* 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
Per Bothner committed -
* config/h8300/h8300.md (four define_peephole2's): Use h8300_regs_ok_for_stm(). From-SVN: r78048
Kazu Hirata committed -
* 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
Kazu Hirata committed
-