aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-05-08integrate.h (get_hard_reg_initial_val): Change type of register parameter ↵Richard Sandiford3-9/+13
from int to unsigned int. * integrate.h (get_hard_reg_initial_val): Change type of register parameter from int to unsigned int. (has_hard_reg_initial_val): Likewise. * integrate.c (get_hard_reg_initial_val): Likewise. (has_hard_reg_initial_val): Likewise. Remove cast to unsigned int. From-SVN: r99379
2005-05-08except.c (eh_status): Change the type of ttype_data to VEC(tree,gc)*.Kazu Hirata2-8/+15
* except.c (eh_status): Change the type of ttype_data to VEC(tree,gc)*. (add_ttypes_entry, assign_filter_values, output_function_exception_table): Use VEC instead of VARRAY. From-SVN: r99378
2005-05-07* config/rs6000/rs6000.md (popcount<mode>2): Fix non-C90 constant.David Edelsohn2-3/+9
From-SVN: r99377
2005-05-08class.c (vtbl_init_data_s): Change the type of fns to VEC(tree,gc)*.Kazu Hirata2-7/+12
* class.c (vtbl_init_data_s): Change the type of fns to VEC(tree,gc)*. (build_vtbl_initializer, add_vcall_offset, add_vcall_offset): Use VEC instead of VARRAY. From-SVN: r99376
2005-05-08Makefile.in: Fix dependencies.Paul Brook2-369/+473
2005-05-07 Paul Brook <paul@codesourcery.com> * Makefile.in: Fix dependencies. (GCOV_IO_H, VARRAY_H): Set. From-SVN: r99375
2005-05-08Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r99373.2
2005-05-07re PR bootstrap/21403 (Canadian cross build fails.)Anthony Green3-2/+9
2005-05-07 Anthony Green <green@redhat.com> PR bootstrap/21403 * configure.ac (STMP_FIXPROTO): Fix [ ] consumption problem in x$STMP_FIXPROTO test. * configure: Rebuilt. From-SVN: r99370
2005-05-07* de.po, zh_CN.po: Update.Joseph Myers3-1085/+694
From-SVN: r99366
2005-05-07intrinsic.texi: Document ASSOCIATED and ATAN2.Steven G. Kargl2-31/+160
* intrinsic.texi: Document ASSOCIATED and ATAN2. Update Bessel function descriptions to include info about scalar arguments. From-SVN: r99365
2005-05-07pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Do not define inappropriate feature ↵Joseph Myers2-3/+11
test macros if flag_iso. * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Do not define inappropriate feature test macros if flag_iso. From-SVN: r99363
2005-05-07* config/ia64/hpux.h (NO_IMPLICIT_EXTERN_C): Define.Joseph Myers2-0/+7
From-SVN: r99362
2005-05-07re PR target/21441 (CRIS: gcc.c-torture/execute/20040703-1.c compilation, ↵Hans-Peter Nilsson1-0/+1
-Os and libstdc++ setup) PR target/21441 * config/cris/cris.md ("*movdi_insn", "*mov_sidesisf_biap") ("*mov_sidesisf", "*mov_sidesisf_biap_mem", "*mov_sidesisf_mem"): Handle moved operand being in special register. ("smulsi3_highpart", "umulsi3_highpart"): Change .error into presumed working insn. (mover2side): Add FIXME. From-SVN: r99360
2005-05-07* config/cris/cris.md ("*movdi_insn", "*mov_sidesisf_biap")Hans-Peter Nilsson2-36/+58
("*mov_sidesisf", "*mov_sidesisf_biap_mem", "*mov_sidesisf_mem"): Handle moved operand being in special register. ("smulsi3_highpart", "umulsi3_highpart"): Change .error into presumed working insn. (mover2side): Add FIXME. From-SVN: r99359
2005-05-07integrate.c (get_func_hard_reg_initial_val): Delete.Richard Sandiford2-30/+38
* integrate.c (get_func_hard_reg_initial_val): Delete. (has_func_hard_reg_initial_val): Delete. (get_hard_reg_initial_val): Inline the old implementation of get_func_hard_reg_initial_val. Use has_hard_reg_initial_val instead of has_func_hard_reg_initial_val to test for an existing pseudo. Only create an rtx if a new initial value entry is needed. (has_hard_reg_initial_val): Scan the initial value list directly. Don't create an rtx. From-SVN: r99358
2005-05-07opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask if variable ↵David Edelsohn2-2/+10
name exists. * opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask if variable name exists. From-SVN: r99357
2005-05-07config.gcc ({powerpc,rs6000}-ibm-aix*): Remove rs6000/aix.opt from ↵David Edelsohn10-66/+184
extra_options. * config.gcc ({powerpc,rs6000}-ibm-aix*): Remove rs6000/aix.opt from extra_options. * config.in (HAVE_AS_POPCNTB): New. * configure.ac (HAVE_AS_MFCRF): Add .machine "pwr5" to AIX test. (HAVE_AS_POPCNTB): New. * configure: Regenerated. * config/rs6000/aix.h (TARGET_XL_COMPAT): Delete. * config/rs6000/rs6000.c (rs6000_override_options, power5): Add MASK_POPCNTB. Uncomment rs6000_sched_restricted_insns_priority and rs6000_sched_costly_dep. * config/rs6000/rs6000.h (TARGET_POPCNTB): New. (TARGET_XL_COMPAT): Delete. * config/rs6000/rs6000.md (UNSPEC_POPCNTB): New. (popcount<mode>2): New. (popcntb<mode>2): New. * config/rs6000/rs6000.opt (mpopcntb): New. From-SVN: r99356
2005-05-07* Makefile.in (c-gimplify.o): Depend on $(RTL_H) instead of rtl.h.Matt Kraai2-1/+5
From-SVN: r99355
2005-05-07re PR target/21412 (ICE loading TLS address)Richard Henderson3-4/+35
PR target/21412 * config/rs6000/rs6000.c (rs6000_emit_move): Look for tls addresses with constant offsets. From-SVN: r99352
2005-05-07v850.c (print_operand): Use gcc_assert and gcc_unreachable, as appropriate.Nathan Sidwell4-152/+132
* config/v850/v850.c (print_operand): Use gcc_assert and gcc_unreachable, as appropriate. (print_operand_address, v850_handle_data_area_attribute, v850_encode_data_area, construct_restore_jr, construct_save_jarl, v850_insert_attributes, construct_prepare_instruction): Likewise. * config/v850/v850.h (INITIAL_ELIMINATION_OFFSET): Likewise. * config/v850/v850.md (movsicc, *sasf_1): Likewise. From-SVN: r99351
2005-05-07tree-ssa-loop-ivcanon.c, [...]: Fix comment typos.Kazu Hirata4-3/+8
* tree-ssa-loop-ivcanon.c, config/i386/i386.c, config/rs6000/rs6000.h: Fix comment typos. From-SVN: r99350
2005-05-07invoke.texi: Remove documentation for MIPS' -mint64 option.Richard Sandiford5-54/+15
* doc/invoke.texi: Remove documentation for MIPS' -mint64 option. * config/mips/mips.c (TARGET_SCALAR_MODE_SUPPORTED_P): Delete. (mips_scalar_mode_supported_p): Delete. cp/ * mangle.c: Remove a reference to the MIPS -mint64 option. From-SVN: r99348
2005-05-07mangle.c (globals): Change the type of substitutions to VEC(tree,gc)*.Kazu Hirata2-11/+17
* mangle.c (globals): Change the type of substitutions to VEC(tree,gc)*. (dump_substitution_candidates, add_substitution, find_substitution, finish_mangling, init_mangle): Use VEC instead of VARRAY. From-SVN: r99347
2005-05-07decl.c (wrapup_globals_for_namespace): Use VEC instead of VARRAY.Kazu Hirata4-10/+18
* decl.c (wrapup_globals_for_namespace): Use VEC instead of VARRAY. * name-lookup.c (add_decl_to_level, begin_scope): Likewise. * name-lookup.h (cp_binding_level): Change the type of static_decls to VEC(tree,gc)*. From-SVN: r99346
2005-05-07fix typoR. Kelley Cook1-1/+1
From-SVN: r99345
2005-05-07Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r99341.2
2005-05-06mips.opt: Remove -mint64 option.Eric Christopher6-46/+37
2005-05-06 Eric Christopher <echristo@redhat.com> * config/mips/mips.opt: Remove -mint64 option. * config/mips/mips.c (override_options): Remove -mint64 handling. * config/mips/mips.h (INT_TYPE_SIZE): Define to 32. * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Remove 64-bit integer handling. * doc/invoke.texi (Option Summary): Remove -mint64 for mips. From-SVN: r99337
2005-05-06re PR tree-optimization/19401 (Trivial loop not unrolled)Zdenek Dvorak4-19/+94
PR tree-optimization/19401 * tree-flow.h (tree_unroll_loops_completely): Declaration changed. * tree-ssa-loop-ivcanon.c (enum unroll_level): New. (estimated_unrolled_size): New function. (try_unroll_loop_completely, canonicalize_loop_induction_variables, tree_unroll_loops_completely): Always unroll loops if the code size does not increase. * tree-ssa-loop.c (tree_complete_unroll): Indicate whether all loops should be unrolled completely. (gate_tree_complete_unroll): Run complete unrolling unconditionally. From-SVN: r99334
2005-05-06re PR rtl-optimization/21254 (Incorrect code with -funroll-loops for ↵Zdenek Dvorak3-14/+47
multiple targets with same code) PR rtl-optimization/21254 * loop-iv.c (iv_number_of_iterations): Simplify infiniteness assumptions for loops that otherwise do not roll. (find_simple_exit): Prefer # of iterations that is guaranteed not to be infinite. * loop-unroll.c (decide_peel_once_rolling, decide_peel_completely): Check whether the loop is infinite. From-SVN: r99332
2005-05-06sysv4.opt: Fix typo.Pat Haugen2-1/+5
2005-05-06 Pat Haugen <pthaugen@us.ibm.com> * config/rs6000/sysv4.opt: Fix typo. From-SVN: r99331
2005-05-06re PR target/21329 (optimize i386 block copy)Denis Vlasenko2-13/+50
2005-05-06 Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> Jakub Jelinek <jakub@redhat.com> PR target/21329 * config/i386/i386.c (ix86_expand_movmem): Don't use rep; movsb for -Os if (movsl;)*(movsw;)?(movsb;)? sequence is shorter. Don't use rep; movs{l,q} if the repetition count is really small, instead use a sequence of movs{l,q} instructions. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r99330
2005-05-06decl2.c (pending_statics, [...]): Use VEC instead of VARRAY.Kazu Hirata2-14/+14
* decl2.c (pending_statics, note_vague_linkage_var, cp_finish_file): Use VEC instead of VARRAY. (pending_statics_used): Remove. From-SVN: r99329
2005-05-06Revert accidental commitMark Mitchell1-1/+1
From-SVN: r99326
2005-05-06testsuite_hooks.cc (try_mkfifo): Remove.Mark Mitchell4-1/+75
* testsuite/testsuite_hooks.cc (try_mkfifo): Remove. * testsuite/testsuite_hooks.h (try_mkfifo): Likewise. * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with mkfifo. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. * lib/target-supports-dg.exp (dg-require-fork): New function. (dg-require-mkfifo): Likewise. * lib/target-supports.exp (check_function_available): New function. (check_fork_available): Likewise. (check_mkfifo_available): Likewise. From-SVN: r99325
2005-05-06re PR tree-optimization/21380 (ICE compiling with -O)Jeff Law4-1/+54
PR tree-optimization/21380 * tree-ssa-threadupdate.c (thread_through_all_blocks): Do not thread through a block with no preds. * gcc.c-torture/compile/pr21380.c: New test. From-SVN: r99324
2005-05-06decl2.c (ssdf_decls, [...]): Use VEC instead of VARRAY.Kazu Hirata2-23/+23
* decl2.c (ssdf_decls, start_static_storage_duration_function, generate_ctor_or_dtor_function): Use VEC instead of VARRAY. From-SVN: r99319
2005-05-06* decl2.c (spew_debug): Remove.Kazu Hirata2-4/+4
From-SVN: r99317
2005-05-06tree-ssa-operands.c (clobbered_v_may_defs, [...]): Use VEC instead of VARRAY.Kazu Hirata2-43/+30
* tree-ssa-operands.c (clobbered_v_may_defs, clobbered_vuses, ro_call_vuse, fini_ssa_operands, add_call_clobber_ops, add_call_read_ops): Use VEC instead of VARRAY. From-SVN: r99316
2005-05-06mcore.c (mcore_print_operand_address): Use gcc_assert and gcc_unreachable as ↵Nathan Sidwell4-87/+68
appropriate. * config/mcore/mcore.c (mcore_print_operand_address): Use gcc_assert and gcc_unreachable as appropriate. (mcore_print_operand, mcore_gen_compare_reg, mcore_output_call, mcore_output_andn, output_inline_const, mcore_output_move, mcore_output_movedouble, mcore_expand_block_move, layout_mcore_frame, mcore_initial_elimination_offset, mcore_expand_prolog, mcore_mark_dllexport, mcore_mark_dllimport): Likewise. * config/mcore/mcore.h (switch_to_section): Likewise. * config/mcore/mcore.md: Likewise. From-SVN: r99315
2005-05-06linux64.h: Remove MASK_PROFILE_KERNEL, and TARGET_PROFILE_KERNEL.Aldy Hernandez3-8/+12
* config/rs6000/linux64.h: Remove MASK_PROFILE_KERNEL, and TARGET_PROFILE_KERNEL. * config/rs6000/rs6000.c (output_profile_hook): Add comment to TARGET_PROFILE_KERNEL use. From-SVN: r99314
2005-05-06m32r.c (m32r_encode_section_info): Use gcc_assert and gcc_unreachable, as ↵Nathan Sidwell4-44/+44
appropriate. * config/m32r/m32r.c (m32r_encode_section_info): Use gcc_assert and gcc_unreachable, as appropriate. (gen_compare, gen_split_move_double, m32r_setup_incoming_varargs, m32r_expand_prologue, m32r_output_function_epilogue, m32r_legitimize_pic_address, m32r_print_operand_address, emit_cond_move, m32r_function_symbol, m32r_output_block_move): Likewise. * config/m32r/m32r.h (INITIAL_ELIMINATION_OFFSET): Likewise. * config/m32r/m32r.md ( *movsi_insn, *zero_branch_insn, *rev_zero_branch_insn): Likewise. From-SVN: r99309
2005-05-06re PR c++/20961 (ICE on pragma weak/__attribute__((weak)))Jakub Jelinek4-1/+43
PR c++/20961 * varasm.c (merge_weak): Remove NEWDECL from WEAK_DECLS chain if both NEWDECL and OLDDECL are already weak. * g++.dg/ext/weak3.C: New test. From-SVN: r99306
2005-05-06* config/rs6000/sysv4.h (EXTRA_SUBTARGET_SWITCHES): Delete.Richard Sandiford2-3/+4
From-SVN: r99305
2005-05-06Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r99296.2
2005-05-05Update ChangeLog to reflect darwin.opt translation.David Edelsohn1-2/+3
From-SVN: r99291
2005-05-05decl2.c (deferred_fns, [...]): Use VEC instead of VARRAY.Kazu Hirata2-12/+10
* decl2.c (deferred_fns, note_vague_linkage_fn, cp_finish_file): Use VEC instead of VARRAY. From-SVN: r99290
2005-05-05darwin.opt translationDavid Edelsohn1-0/+3
From-SVN: r99289
2005-05-05* config/rs6000/darwin.h ({MASK,TARGET}_MACHO_DYNAMIC_NO_PIC) Remove.Aldy Hernandez2-8/+3
From-SVN: r99288
2005-05-05sh.c (sh_builtin_saveregs): Use copy_to_mode_reg and plus_constant.J"orn Rennecke2-4/+9
* config/sh/sh.c (sh_builtin_saveregs): Use copy_to_mode_reg and plus_constant. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r99287
2005-05-05config.gcc: Add .opt magic for the rs6000 ports.Aldy Hernandez20-642/+919
2005-05-05 Aldy Hernandez <aldyh@redhat.com> * config.gcc: Add .opt magic for the rs6000 ports. * doc/invoke.texi: Document -mabi= option properly. Document -misel and -mno-sel. Document -mspe and -mno-spe. Document -mvrsave and -mno-vrsave. Document deprecation of -mspe= and -misel=. * config/rs6000/aix.h: Remove XL_COMPAT stuff. Remove SUBTARGET_SWITCHES and SUBSUBTARGET_SWITCHES. Define TARGET_XL_COMPAT. * config/rs6000/aix.opt: New. * config/rs6000/aix41.opt: New. * config/rs6000/aix64.opt: New. * config/rs6000/darwin.opt: New. * config/rs6000/linux64.opt: New. * config/rs6000/rs6000.opt: New. * config/rs6000/sysv4.opt: New. * config/rs6000/sysv4.h: Delete definitions of MASK_* and associated TARGET_*. Remove SUBTARGET_OPTIONS, SUBTARGET_SWITCHES. Define TARGET_USES_SYSV4_OPT. * config/rs6000/aix41.h: Remove SUBSUBTARGET_SWITCHES. * config/rs6000/aix43.h: Remove SUBSUBTARGET_SWITCHES. Define TARGET_USES_AIX64_OPT. * config/rs6000/aix51.h: Same. * config/rs6000/aix52.h: Same. * config/rs6000/darwin.h: Remove SUBTARGET_SWITCHES. Use TARGET_ALTIVEC_VRSAVE instead of rs6000_altivec_vrsave. * config/rs6000/linux64.h: Use rs6000_explicit_options. Remove EXTRA_SUBTARGET_SWITCHES. * config/rs6000/rs6000.c: Remove definitions of rs6000_sched_restricted_insns_priority, rs6000_long_double_size_string, rs6000_altivec_vrsave, rs6000_altivec_vrsave_string, rs6000_isel, rs6000_spe, rs6000_float_gprs_string, rs6000_isel_string, rs6000_spe_string, rs6000_abi_string, rs6000_warn_altivec_long, rs6000_longcall, rs6000_alignment_string. Define rs6000_explicit_options. (rs6000_parse_abi_options): Remove. (rs6000_parse_alignment_option): Remove. (rs6000_parse_float_gprs_option): Remove. (rs6000_handle_option): New. Define TARGET_HANDLE_OPTION. Define TARGET_DEFAULT_TARGET_FLAGS. (rs6000_override_options): Revamp to use new .opt machinery. * config/rs6000/rs6000.h: Remove old MASK_* and TARGET_* in favor of new .opt machinery. Remove target_flags. Redefine TARGET_MFCRF and TARGET_POWERPC64. Remove TARGET_SWITCHES, SUBTARGET_SWITCHES, TARGET_OPTIONS, SUBTARGET_OPTIONS, rs6000_float_gprs_string, rs6000_isel_string, rs6000_spe_string, rs6000_altivec_vrsave_string, rs6000_altivec_vrsave, rs6000_longcall_switch, rs6000_default_long_calls, rs6000_sched_costly_dep_str, rs6000_sched_costly_dep, rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch, and TARGET_ALTIVEC_VRSAVE. From-SVN: r99284
2005-05-05config.gcc (hppa1.1-*-rtems*): Remove.Ralf Corsepius3-45/+5
2005-05-05 Ralf Corsepius <ralf.corsepius@rtems.org> * config.gcc (hppa1.1-*-rtems*): Remove. * config/pa/rtems.h: Remove. From-SVN: r99282