aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-06-20(ARM Built-in Functions): New node.Nick Clifton2-0/+164
(ARM Built-in Functions): New node. Document ARM builtin functions for iWMMXt support. From-SVN: r68252
2003-06-20install.texi (--with-gnu-as): Mention SPARC/Solaris and SPARC64/Solaris as ↵Eric Botcazou2-7/+16
platforms where --with-gnu-as... * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and SPARC64/Solaris as platforms where --with-gnu-as makes a difference. (--with-as): Add @anchor. (--with-gnu-ld): Fix typo. (--with-ld): Add @uref to --with-as. From-SVN: r68249
2003-06-20tm.texi: Uniformly use @defmac for macros, rather than @table items.Zack Weinberg2-1463/+1298
* doc/tm.texi: Uniformly use @defmac for macros, rather than @table items. Minor formatting and editorial corrections. From-SVN: r68248
2003-06-20re PR c++/10939 (ICE with templated code)Mark Mitchell4-2/+34
PR c++/10939 * pt.c (tsubst_decl): Do not try to substitute into non-dependent functions. (value_dependent_expression_p): Correct logic for FUNCTION_DECLs. PR c++/10939 * g++.dg/template/func1.C: New test. From-SVN: r68244
2003-06-20* line-map.c, line-map.h: Convert to ISO prototypes.Neil Booth3-32/+20
From-SVN: r68242
2003-06-20re PR c++/9649 (ICE in finish_member_declaration at cp/semantics.c:1850 when ↵Mark Mitchell7-25/+61
redeclaring a static member variable) PR c++/9649 * cp-tree.h (pushdecl_class_level): Change prototype. (push_class_level_binding): Likewise. * decl.c (add_binding): Reject duplicate static data members. (pushdecl_class_level): Return a value indicating whether or not the binding was valid. (push_class_level_binding): Likewise. * semantics.c (finish_member_declaration): Don't keep invalid declarations. PR c++/9649 * g++.dg/template/static4.C: New test. * g++.old-deja/g++.other/anon7.C: Remove spurious error messages. From-SVN: r68240
2003-06-20re PR middle-end/11041 (ICE: const myclass &x = *x; (when operator*() defined))Mark Mitchell9-40/+101
PR c++/11041 * call.c (initialize_reference): Do not use cp_finish_decl to emit temporary variables. * cp-tree.h (static_aggregates): Declare. (pushdecl_top_level_and_finish): Likewise. * decl.c (pushdecl_top_level_1): New function. (pushdecl_top_level): Use it. (pushdecl_top_level_and_finish): New function. (initialize_local_var): Remove redundant code. (cp_finish_decl): Remove support for RESULT_DECLs. Don't check building_stmt_tree. * decl.h (static_aggregates): Remove. * decl2.c (get_guard): Use pushdecl_top_level_and_finish. * rtti.c (get_tinfo_decl): Use pushdecl_top_level_and_finish. (tinfo_base_init): Likewise. PR c++/11041 * g++.dg/init/ref7.C: New test. From-SVN: r68236
2003-06-20Fix for PR c++/11228, infinite loop for new int[n]().Matt Austern7-1/+125
From-SVN: r68235
2003-06-20Daily bump.GCC Administrator1-1/+1
From-SVN: r68232
2003-06-19* gcse.c (store_killed_in_insn): Fix.Zdenek Dvorak2-2/+5
From-SVN: r68230
2003-06-19target.h (asm_out.file_start, [...]): New hooks.Zack Weinberg111-980/+840
* target.h (asm_out.file_start, file_start_app_off, file_start_file_directive): New hooks. * target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE, TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START): New hook-definition macros. * doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START. * varasm.c (default_file_start): New. * output.h: Prototype it. * toplev.c (init_asm_output): Use targetm.asm_out.file_start. * system.h: Poison ASM_FILE_START. * config/alpha/alpha.c (alpha_write_verstamp): Delete. (alpha_file_start): New, define if !TARGET_ABI_UNICOSMK. (unicosmk_asm_file_start): Rename unicosmk_file_start, make static, take no arguments. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate. * config/alpha/unicosmk.h: Don't define ASM_FILE_START nor TARGET_ASM_FILE_END. Remove reference to ASM_FILE_START in comment. * config/arc/arc.c (arc_asm_file_start): Rename arc_file_start, take no arguments, make static. (TARGET_ASM_FILE_START): Set it. * config/arm/arm.c (aof_file_start): New static function. (TARGET_ASM_FILE_START): Set it, when appropriate. * config/arm/coff.h, config/arm/elf.h: Set TARGET_ASM_FILE_START_APP_OFF to true. * config/avr/avr.c (asm_file_start): Rename avr_file_start, take no arguments, make static. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set them. * config/c4x/c4x.c (c4x_file_start): New static function. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set them. * config/cris/cris.c (cris_file_start): New static function. (TARGET_ASM_FILE_START): Set it. * config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename dsp16xx_file_start, make static. (luxworks_dsp16xx_file_start): Delete. (TARGET_ASM_FILE_START): Set it. * config/h8300/h8300.c (asm_file_start): Rename h8300_file_start, make static, take no arguments. (TARGET_ASM_FILE_START): Set it. * config/i370/i370.c (i370_file_start): New static function. (TARGET_ASM_FILE_START): Set it. * config/i386/i386.c (x86_file_start): New static function. (TARGET_ASM_FILE_START): Set it. * config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE, X86_FILE_START_FLTUSED): New macros, default to false. * config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1. * config/i386/sysv4.h, config/i386/sco5.h: Override X86_FILE_START_VERSION_DIRECTIVE to true. * config/ia64/ia64.c (ia64_file_start): New static function. (TARGET_ASM_FILE_START): Set it. (emit_safe_across_calls): Take no arguments. * config/ia64/ia64.md: Update to match. * config/m32r/m32r.c (m32r_asm_file_start): Rename m32r_file_start, make static, take no arguments. (TARGET_ASM_FILE_START): Set it. * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename m68hc11_file_start, make static, take no arguments. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. (print_options): Delete. * config/m68k/m68k.c (m68k_hp320_file_start): New static function. (TARGET_ASM_FILE_START_APP_OFF): Set. * config/m68k/hp320.h: Set TARGET_ASM_FILE_START to m68k_hp320_file_start. * config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start): Make static, take no arguments. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. * config/mmix/mmix.c (mmix_asm_file_start): Rename mmix_file_start, make static, take no arguments. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. * config/mn10300/mn10300.c (asm_file_start): Rename mn10300_file_start, make static, take no arguments. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. * config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set. * config/pa/pa.c (pa_file_start_level, pa_file_start_space, pa_file_start_file, pa_file_start_mcount, pa_elf_file_start, pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start, pa_hpux64_hpas_file_start): New static functions. * config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start. * config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to pa_linux_file_start. * config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as appropriate. * config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start. * config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF. (rs6000_file_start): Make static, take no arguments. Reset default_cpu under certain conditions. (rs6000_xcoff_file_start): New function. * config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set. * config/rs6000/xcoff.h (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override. * config/sh/sh.c (output_file_start): Rename sh_file_start, make static, take no arguments. Merge in old code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. * config/sh/sh.c (TARGET_ELF): Define to 0. * config/sh/elf.h (TARGET_ELF): Redefine to 1. * config/v850/v850.c (asm_file_start): Delete. (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set. * config/vax/vax.c (vax_file_start): New static function. (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set. * config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false. * config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h * config/i386/att.h, config/i386/gas.h, config/i386/linux.h * config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h * config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h * config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true. * config/darwin.h, config/elfos.h, config/alpha/elf.h * config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h * config/arc/arc.h, config/arm/aof.h, config/arm/aout.h * config/arm/coff.h, config/arm/elf.h, config/arm/pe.h * config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h * config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h * config/i370/i370.h, config/i386/att.h, config/i386/gas.h * config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h * config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h * config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h * config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h * config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h * config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h * config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h * config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h * config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h * config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h * config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START. * config/alpha/alpha-protos.h, config/arc/arc-protos.h * config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h * config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h * config/mips/mips-protos.h, config/mmix/mmix-protos.h * config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h * config/sh/sh-protos.h, config/v850/v850-protos.h: Update. * xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h: Remove reference to ASM_FILE_START in comment. * config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h * config/arm/linux-gas.h, config/arm/netbsd-elf.h * config/arm/netbsd.h: Delete definition of ARM_OS_NAME. From-SVN: r68229
2003-06-19* gcc.c-torture/compile/simd-5.c: Don't XFAIL on H8.Kazu Hirata1-2/+0
From-SVN: r68228
2003-06-19* gcc.c-torture/compile/simd-5.c: Don't XFAIL on H8.Kazu Hirata1-0/+4
From-SVN: r68227
2003-06-19gcc.c (target_sysroot_suffix, [...]): New.Graeme Peterson3-3/+77
* gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix, SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec, sysroot_hdrs_suffix_spec): New. (static_specs): Initialize new variables. (add_sysroot_suffix_prefix, do_spec_1, main): Use new variables. * doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC): New macros. From-SVN: r68223
2003-06-19Fix typo in my last entry.Andreas Jaeger1-1/+1
From-SVN: r68219
2003-06-19c-aux-info.c: Convert to ISO C99.Andreas Jaeger12-1215/+752
* c-aux-info.c: Convert to ISO C99. * c-pragma.c: Likewise. * c-common.c: Likewise. * c-common.h: Likewise. * c-convert.c: Likewise. * c-cppbuiltin.c: Likewise. * c-dump.c: Likewise. * c-decl.c: Likewise * c-format.c: Likewise. * c-incpath.c: Likewise. * c-incpath.h: Likewise. From-SVN: r68218
2003-06-19builtins.c (expand_errno_check): Assume that flag_errno_math and HONOR_NANS ↵Roger Sayle2-85/+127
have been tested before calling here. * builtins.c (expand_errno_check): Assume that flag_errno_math and HONOR_NANS have been tested before calling here. Only try to set errno ourselves if the decl can't throw an exception. (expand_builtin_mathfn): Move the code to stabilize the arg after the main switch, so that that its only done when needed. BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative. Don't modify the original expr when stabilizing the argument. (expand_builtin_mathfn_2): Likewise, move the code to stabilize the args after the main switch, and don't modify the orginal exp. From-SVN: r68217
2003-06-19expr.c (const_vector_from_tree): Initialize remaining elements to 0.Aldy Hernandez2-0/+9
2003-06-19 Aldy Hernandez <aldyh@redhat.com> * expr.c (const_vector_from_tree): Initialize remaining elements to 0. From-SVN: r68210
2003-06-19spe.md ("spe_evfscfsi"): Change operand types.Aldy Hernandez2-2/+7
2003-06-19 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.md ("spe_evfscfsi"): Change operand types. Change "fix" to "float". From-SVN: r68195
2003-06-19simd-4.c (main): Make expected value endian-dependent.J"orn Rennecke2-1/+9
* gcc.c-torture/execute/simd-4.c (main): Make expected value endian-dependent. From-SVN: r68194
2003-06-19c-tree.h: Remove declaration of poplevel.Andreas Jaeger9-61/+24
* c-tree.h: Remove declaration of poplevel. * tree.h: Remove declaration of approx_sqrt. * c-lex.c: Remove redundant declaration of asm_out_file. * flags.h: Remove declaration of warn_unknown_pragma and main_input_filename. * rtl.h: Remove functions from fold-const.c since they're already declared in tree.h. * regs.h: Remove redundant declaration of reg_names. cp: * cp-tree.h: Remove duplicated declarations. From-SVN: r68193
2003-06-19* bt-load.c (migrate_btr_defs): Correct printf arguments.Andreas Jaeger2-2/+5
From-SVN: r68192
2003-06-19* protoize.c: Fix breakage from last patch.Andreas Jaeger2-4/+6
From-SVN: r68189
2003-06-19hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h has been included.J"orn Rennecke2-0/+13
* hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h has been included. From-SVN: r68188
2003-06-18* config/sparc/sparc.c: Update copyright year.James A Morrison2-1/+5
From-SVN: r68181
2003-06-19rs6000.c (init_cumulative_args): Limit CALL_LIBCALL to ABI_V4.David Edelsohn2-1/+7
* config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL to ABI_V4. From-SVN: r68179
2003-06-18re PR bootstrap/4068 ([linux-x86] bootstrapping on glibc2.0 systems)Joseph Myers2-1/+6
PR bootstrap/4068 * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0. From-SVN: r68177
2003-06-19h8300.c (TARGET_INITIALIZER and friends): Move to the end of the file.Kazu Hirata2-30/+29
* config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move to the end of the file. Remove unnecessary prototypes. From-SVN: r68176
2003-06-19pt.c: Convert to ISO C.Nathanael Nerode3-664/+399
* pt.c: Convert to ISO C. * semantics.c: Convert to ISO C. From-SVN: r68174
2003-06-19bt-load.c (migrate_btr_def): Conditionalize calls to insn_default_latency ↵Hans-Peter Nilsson2-1/+10
and result_ready_cost. * bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize calls to insn_default_latency and result_ready_cost. Initialize def_latency to 1. From-SVN: r68172
2003-06-19Daily bump.GCC Administrator1-1/+1
From-SVN: r68170
2003-06-18unwind-ia64.c (_Unwind_GetCFA): New.Richard Henderson2-1/+23
* config/ia64/unwind-ia64.c (_Unwind_GetCFA): New. (_Unwind_FindEnclosingFunction): Implement. From-SVN: r68168
2003-06-18toplev.c (rest_of_handle_sched): Hide the entire function if INSN_SCHEDULING ↵Kazu Hirata2-4/+11
is not defined. * toplev.c (rest_of_handle_sched): Hide the entire function if INSN_SCHEDULING is not defined. (rest_of_compilation): Call rest_of_handle_sched() only when INSN_SCHEDULING is defined. From-SVN: r68166
2003-06-18bt-load.c: New file.Stephen Clarke19-34/+1754
2003-06-18 Stephen Clarke <stephen.clarke@superh.com> J"orn Rennecke <joern.rennecke@superh.com> * bt-load.c: New file. * Makefile.in (OBJS): Include bt-load.o (bt-load.o): Add dependencies. * flags.h (flag_branch_target_load_optimize): Declare. (flag_branch_target_load_optimize2): Likewise. * hooks.c (hook_reg_class_void_no_regs): New function. (hook_bool_bool_false): Likewise. * hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare. * rtl.h (branch_target_load_optimize): Declare. * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Define. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. (TARGET_INITIALIZER): Include these. * target.h (struct gcc_target): Add branch_target_register_class and branch_target_register_callee_saved members. * toplev.c (enum dump_file_index): Add DFI_branch_target_load (dump_file) Add "tars" entry. (flag_branch_target_load_optimize): New variable. (flag_branch_target_load_optimize2): Likewise. (lang_independent_options): Add entries for new options. (rest_of_compilation): Call branch_target_load_optimize. * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Document. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. * doc/invoke.texi: Document -fbranch-target-load-optimize and -fbranch-target-load-optimize2. * rtl.h (epilogue_completed): Declare. * recog.c (epilogue_completed): New variable. * toplev.c (rest_of_compilation): Set it. * flow.c (mark_regs_live_at_end): Use it. * config/ia64/ia64.c (ia64_output_mi_thunk): Set it. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. * config/sh/sh.c (sh_output_mi_thunk): Likewise. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. * sh.c (shmedia_space_reserved_for_target_registers): New variable. (sh_target_reg_class): New function. (sh_optimize_target_register_callee_saved): Likwise. (shmedia_target_regs_stack_space): Likewise. (shmedia_reserve_space_for_target_registers_p): Likewise. (shmedia_target_regs_stack_adjust): Likewise. (TARGET_BRANCH_TARGET_REGISTER_CLASS): Override. (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise. (calc_live_regs): If flag_branch_target_load_optimize2 and TARGET_SAVE_ALL_TARGET_REGS is enabled, and we have space reserved for target registers, make sure that we save all target registers. (sh_expand_prologue, sh_expand_epilogue): Take target register optimizations into account. Collapse stack adjustments if that is beneficial. (initial_elimination_offset): Reserve space for target registers if necessary. * sh.h (SAVE_ALL_TR_BIT, TARGET_SAVE_ALL_TARGET_REGS): Define. (OPTIMIZATION_OPTIONS): Enable flag_branch_target_load_optimize. Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com> From-SVN: r68165
2003-06-18cp-tree.h (comp_except_specs, [...]): Return bool.Nathan Sidwell3-257/+164
* cp-tree.h (comp_except_specs, compparms, cp_has_mutable_p, at_least_as_qualified_p, more_qualified_p): Return bool. * typeck.c: ANSIFY function definitions. (comp_array_types): Take redeclaration bool parameter. (comptypes): Rearrange STRICT handling. (at_least_as_qualified_p, more_qualified_p, comp_cv_qualification): Cache cv quals. (compparms): Rearrange loop. From-SVN: r68164
2003-06-18config.gcc: Add an extra_header for ARM targets.Nick Clifton13-184/+4662
* config.gcc: Add an extra_header for ARM targets. Support configuring with --with-cpu=iwmmxt. * doc/invoke.texi: Document new value for -mcpu= ARM switch. * config/arm/aof.h (REGISTER_NAMES): Add iwmmxt register names. Fix formatting. * config/arm/aout.h (REGISTER_NAMES): Add iwmmxt register names. * config/arm/arm-protos.h (arm_emit_vector_const): New prototype. (arm_output_load_gr): New prototype. * config/arm/arm.c (extra_reg_names1): Delete. (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN, FL_IWMMXT, * arch_is_iwmmxt): Define. (all_cores, all_architecture): Add entry for iwmmxt. (arm_override_options): Add support for iwmmxt. (use_return_insn, arm_function_arg, arm_legitimate_index_p, arm_print_value, arm_rtx_costs_1, output_move_double, arm_compute_save_reg_mask, arm_output_epilogue, arm_get_frame_size, arm_expand_prologue, arm_print_operand, arm_assemble_integer, arm_hard_regno_ok, arm_regno_class): Likewise. (arm_init_cumulative_args): Count iwmmxt registers. (arm_function_ok_for_sibcall): Return false of sibcall_blocked has been set. (struct minipool_node): Add fix_size field. (add_minipool_forward_ref): Add support for 8-byte aligning of the pool. (add_minipool_backward_ref, add_minipool_offsets, dump_minipool, push_minipool_fix): Likewise. (struct builtin_description): New struct. (builtin_description): New array of iwmmxt builtin functions. (arm_init_iwmmxt_builtins): New function. (arm_init_builtins): New function. (safe_vector_operand): New function. (arm_expand_binop_builtin): New function. (arm_expand_unop_builtin): New function. (arm_expand_builtin): New function. (arm_emit_vector_const): New function. (arm_output_load_gr): New function. * config/arm/arm.h (TARGET_CPU_iwmmxt, TARGET_IWMMXT, TARGET_REALLY_IWMMXT, arm_arch_iwmmxt, IWMMXT_ALIGNMENT, TYPE_NEEDS_IWMMXT_ALIGNMENT, ADJUST_FIELD_ALIGN, DATA_ALIGNMENT, LOCAL_ALIGNMENT, VECTOR_MODE_SUPPORTED_P): Define. (BIGGEST_ALIGNMENT): Set to 64 if ATPCS support is enabled. (CPP_CPU_ARCH_SPEC): Add entries for iwmmxt. (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER, reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REG_CLASS_FOR_LETTER): Add iwmmxt registers. (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Disable iwmmxt registers unless the iwmmxt target is selected. (FIRST_IWMMXT_GR_REGNUM, LAST_IWMMXT_GR_REGNUM, FIRST_IWMMXT_REGNUM, LAST_IWMMXT_REGNUM, IS_IWMMXT_REGNUM, IS_IWMMXT_GR_REGNUM): Define. (FIRST_PSEUDO_REGISTER): Bump to 63. (struct machine_function): Add sibcall_blocked field. (Struct CUMULATIVE_ARGS): Add iwmmxt_nregs, named_count and nargs fields. (enum arm_builtins): New enum list. * config/arm/arm.md (UNSPEC_WSHUFH, UNSPEC_WACC, UNSPEC_TMOVMSK, UNSPEC_WSAD, UNSPEC_WSADZ, UNSPEC_WMACS, UNSPEC_WMACU, UNSPEC_WMACSZ, UNSPEC_WMACUZ, UNSPEC_CLRDI, UNSPEC_WMADDS, UNSPEC_WMADDU): New unspecs. (VUNSPEC_TMRC, VUNSPEC_TMCR, VUNSPEC_ALIGN8, VUNSPEC_WCMP_EQ, VUNSPEC_WCMP_GTU, VUNSPEC_WCMP_GT): New vunspecs. (movv2si, movv4hi, movv8qi): New expands for vector moves. Include iwmmxt.md. * config/arm/t-xscale-elf (MULTILIB_OPITONS): Add iwmmxt multilib. (MULTILIB_DIRNAMES, MULTILIB_REDUNDANT_DIRS): Likewise. * config/arm/mmintrin.h: New ARM specific header file. * config/arm/iwmmx.md: New iWMMXt specific machine patterns. From-SVN: r68157
2003-06-18cp-tree.h (COMPARE_RELAXED): Rename to ...Nathan Sidwell7-247/+215
* cp-tree.h (COMPARE_RELAXED): Rename to ... (COMPARE_DERIVED): ... here. Adjust comment. (resolve_typename_type_in_current_instantiation): Remove. (cp_tree_equal, comptypes): Return a bool. * cvt.c (convert_to_reference): Adjust comptypes call. * pt.c (template_args_equal, unify,): Adjust cp_tree_equal call. (resolve_typename_type_in_current_instantiation): Remove. * tree.c (cp_tree_equal): Return bool. Cope with TEMPLATE_DECLs and IDENTIFIER_NODEs. Abort if undeciderable. Adjust recursive calls. Refactor code. * typeck.c (comp_array_types): Return bool. Lose callback. parameter. Adjust cp_tree_equal calls. (comptypes): Return bool. Adjust strict handling. Remove relaxed enumeration and java type handling. Deal with typename types here. Adjust recursive and cp_tree_equals calls. Adjust base and derived checking. (comp_target_types): Remove unreachable code. Adjust same_or_base_type_p calls. (ptr_reasonably_similar): Adjust base and derived check. * typeck.c (maybe_warn_about_returning_address_of_local): Remove unused calculation. (check_return_expr): Adjust error messages. * cp-tree.def (SCOPE_REF): Correct comment. From-SVN: r68155
2003-06-18treetree.c (build_stmt): Remove VPARAMS.Nathan Sidwell2-2/+7
* treetree.c (build_stmt): Remove VPARAMS. (pedwarn_c99): Likewise. From-SVN: r68154
2003-06-18* toplev.c (Remaining -d letters summary): Update.J"orn Rennecke2-2/+6
From-SVN: r68147
2003-06-18mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string again.Mark Mitchell2-1/+6
* mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string again. From-SVN: r68141
2003-06-18rs6000.c (init_cumulative_args): Add and handle LIBCALL argument.Franz Sirl4-7/+27
2003-06-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * config/rs6000/rs6000.c (init_cumulative_args): Add and handle LIBCALL argument. (function_arg): Handle CALL_LIBCALL flag. * config/rs6000/rs6000-protos.h (init_cumulative_args): Update prototype. * config/rs6000/rs6000.h (CALL_LIBCALL): New macro. (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. (INIT_CUMULATIVE_ARGS): Add LIBCALL argument. (INIT_CUMULATIVE_INCOMING_ARGS): Likewise. From-SVN: r68139
2003-06-18Makefile.in: Update.Neil Booth6-111/+134
* Makefile.in: Update. * common.opt: New options. * opts.c (maybe_warn_unused_parameter, set_Wextra, handle_param, set_Wunused): New. (common_handle_option): Handle new options. * toplev.c (set_target_switch): Export. (set_Wextra, set_Wunused, maybe_warn_unused_parameter): Move to opts.c. (decode_W_option): -Wunused and -Wextra handled in opts.c now. (independent_decode_option): More options handled in opts.c now. Change prototype. * toplev.h (set_target_switch): New. From-SVN: r68138
2003-06-18re PR debug/4252 (cc1: Invalid option `-fdump-translation-unit')Robert Abeles7-9/+26
PR debug/4252 * c-opts.c (c_common_handle_option): Pass -fdump argument suffix to dump_switch_p(). * tree-dump.c (dump_switch_p): Remove redundant 'dump-' prefix from static strings in dump_files. cp: * optimize.c (dump_function): Form complete flag name by prefixing 'fdump-' to string returned by dump_flag_name(). java: * lang.c (java_handle_option): Likewise. From-SVN: r68137
2003-06-18g++.exp (g++_include_flags): Tweak path to testsuite_flags.Benjamin Kosnik2-14/+8
2003-06-17 Benjamin Kosnik <bkoz@redhat.com> * lib/g++.exp (g++_include_flags): Tweak path to testsuite_flags. Remove cruft. From-SVN: r68134
2003-06-18system.h (ANSI_PROTOTYPES, [...]): undef and poison these libiberty macros.Kaveh R. Ghazi2-0/+17
* system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these libiberty macros. From-SVN: r68131
2003-06-18Daily bump.GCC Administrator1-1/+1
From-SVN: r68128
2003-06-1820020604-1.c: Use dg-xfail-if for h8300.Kazu Hirata4-3/+12
* gcc.c-torture/compile/20020604-1.c: Use dg-xfail-if for h8300. * gcc.c-torture/compile/961203-1.c: Likewise. * gcc.c-torture/compile/980506-1.c: Likewise. From-SVN: r68126
2003-06-17mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string.Mark Mitchell2-1/+7
* mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string. From-SVN: r68124
2003-06-17re PR c++/10929 (-Winline warns about functions for which no definition is ↵Jason Merrill5-2/+19
visible) PR c++/10929 * tree-inline.c (expand_call_inline): Don't warn about failing to inline a function which was made inline by -finline-functions. * cp/decl.c (grokfndecl): Don't mark a function inline for -finline-functions if it isn't defined. From-SVN: r68122
2003-06-17h8300-protos.h: Update to ISO C.Kazu Hirata5-320/+195
* config/h8300/h8300-protos.h: Update to ISO C. * config/h8300/h8300.c: Likewise. * config/h8300/h8300.h: Likewise. * config/h8300/h8300.md: Likewise. From-SVN: r68121