platform/upstream/gcc.git
19 years agos390.h: Move xxx_REGNUM definitions to s390.md.
Adrian Straetling [Mon, 9 May 2005 17:37:42 +0000 (17:37 +0000)]
s390.h: Move xxx_REGNUM definitions to s390.md.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.h: Move xxx_REGNUM definitions to s390.md.
* config/s390/s390.md: ("SIBCALL_REGNUM", "BASE_REGNUM",
"RETURN_REGNUM", "CC_REGNUM", "TP_REGNUM"): New constants.
Replace every occurrence of '(reg:<MODE> 33)' by '(reg:<MODE>
CC_REGNUM)'.
("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): Replace
'(reg:<MODE> 36)' by '(reg:<MODE> TP_REGNUM)'.
("*sibcall_br", "*sibcall_value_br"): Replace '(reg:DI 1)' by '(reg:DI
REG_SC)'.

From-SVN: r99459

19 years agos390.md: ("gf") New mode attribute.
Adrian Straetling [Mon, 9 May 2005 17:32:20 +0000 (17:32 +0000)]
s390.md: ("gf") New mode attribute.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md: ("gf") New mode attribute.
("fixuns_truncdfdi2", "fixuns_truncdfsi2", "fixuns_truncsfdi2",
"fixuns_truncsfsi2"): Merge.
("fix_truncdfdi2", "fix_truncsfdi2"): Merge.
("fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee", "fix_truncsfdi2_ieee",
"fix_truncsfsi2_ieee"): Merge.

From-SVN: r99458

19 years agos390.md: ("FPR") New mode macro.
Adrian Straetling [Mon, 9 May 2005 17:29:33 +0000 (17:29 +0000)]
s390.md: ("FPR") New mode macro.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md: ("FPR") New mode macro.
("de", "dee"): New mode attributes.
("cmpdf", "cmpsf"): Merge.
("*cmpdf_ccs_0", "*cmpsf_ccs_0"): Merge.
("*cmpdf_ccs_0_ibm", "*cmpdf_ccs_0_ibm"): Merge.
("*cmpdf_ccs", "*cmpsf_ccs"): Merge.
("*cmpdf_ccs_ibm", "*cmpsf_ccs_ibm"): Merge.
("floatdidf2", "floatdisf2"): Merge.
("adddf3", "addsf3"): Merge.
("*adddf3", "*addsf3"): Merge.
("*adddf3_cc", "*addsf3_cc"): Merge.
("*adddf3_cconly", "*addsf3_cconly"): Merge.
("*adddf3_ibm", "*addsf3_ibm"): Merge.
("subdf3", "subsf3"): Merge.
("*subdf3", "*subsf3"): Merge.
("*subdf3_cc", "*subsf3_cc"): Merge.
("*subdf3_cconly", "*subsf3_cconly"): Merge.
("*subdf3_ibm", "*subsf3_ibm"): Merge.
("muldf3", "mulsf3"): Merge.
("*muldf3", "*mulsf3" "): Merge.
("*muldf3_ibm", "*mulsf3_ibm"): Merge.
("*fmadddf", "*fmaddsf"): Merge.
("*fmsubdf", "*fmsubsf"): Merge.
("divdf3", "divsf3"): Merge.
("*divdf3", "*divsf3"): Merge.
("*divdf3_ibm", "*divsf3_ibm"): Merge.
("negdf2", "negsf2"): Merge.
("*negdf2_cc", "*negsf2_cc"): Merge.
("*negdf2_cconly", "*negsf2_cconly"): Merge.
("*negdf2", "*negsf2"): Merge.
("*negdf2_ibm", "*negsf2_ibm"): Merge.
("absdf2", "abssf2"): Merge.
("*absdf2_cc", "*abssf2_cc"): Merge.
("*absdf2_cconly", "*abssf2_cconly"): Merge.
("*absdf2", "*abssf2"): Merge.
("*absdf2_ibm", "*abssf2_ibm"): Merge.
("*negabsdf2_cc", "*negabssf2_cc"): Merge.
("*negabsdf2_cconly", "*negabssf2_cconly"): Merge.
("*negabsdf2", "*negabssf2"): Merge.
("sqrtdf2", "sqrtsf2"): Merge.

From-SVN: r99457

19 years agos390.c: (s390_adjust_priority): Adapt to changed attribute names.
Adrian Straetling [Mon, 9 May 2005 17:24:37 +0000 (17:24 +0000)]
s390.c: (s390_adjust_priority): Adapt to changed attribute names.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.c: (s390_adjust_priority): Adapt to changed
attribute names.
* config/s390/2084.md: ("x_fsimpd", "x_fsimps", "x_fdivd", "x_fdivs",
"x_floadd", "x_floads", "x_fstored", "x_fstores"): Rename to
("x_fsimpdf", "x_fsimpsf", "x_fdivdf", "x_fdivsf", "x_floaddf",
"x_floadsf", "x_fstoredf", "x_fstoresf") and replace 'type'
attribute names.
* config/s390/s390.md: ("type"): Rename "fsimpd, fsimps, floadd, floads,
fstored, fstores, fmuld, fmuls, fdivd, fdivs, fsqrtd, fsqrts" to
"fsimpdf, fsimpsf, floaddf, floadsf, fstoredf, fstoresf, fmuldf,
fmulsf, fdivdf, fdivsf, fsqrtdf, fsqrtsf".
("*cmpdf_ccs_0", "*cmpdf_css_0_ibm", "*cmpdf_ccs",
"*cmpdf_ccs_ibm", "*cmpsf_ccs_0", "*cmpsf_css_0_ibm",
"*cmpsf_ccs", "*cmpsf_ccs_ibm", "*movdi_64", "*movdi_31",
"*movsi_zarch", "*movsi_esa", "*movdf_64", "*movdf_31", "movsf",
"*muldf3", "*muldf3_ibm", "*fmadddf", "*fmsubdf", "*mulsf3",
"mulsf3_ibm", "*fmaddsf", "fmsubsf", "*divdf3", "*divdf3_ibm",
"*negdf2_cc", "*negdf2_cconly", "*negdf2", "*negdf2_ibm",
"*negsf2_cc", "*negsf2_cconly", "*negsf2", "*absdf2_cc",
"*absdf2_cconly", "*absdf2", "*absdf2_ibm", "*abssf2_cc",
"*abssf2_cconly", "*abssf2", "*abssf2_ibm", "*negabsdf2_cc",
"*negabsdf2_cconly", "*negabsdf2", "*negabssf2_cc",
"*negabssf2_cconly", "*negabssf2", "sqrtdf2", "sqrtsf2"): Rename
'type' value.
("*divsf3"): Additionally rename second pattern to
"*divsf3_ibm".
("truncdfsf2_ibm", "extendsfdf2_ieee", "extendsfdf2_ibm",
"*adddf3", "*adddf3_cc", "*adddf3_cconly", "*adddf3_ibm",
"*addsf3", "*addsf3_cc", "*addsf3_cconly", "*subdf3",
"subdf3_cc", "*subdf3_cconly", "*subdf3_ibm", "*subsf3",
"subsf3_cc", "*subsf3_cconly", "*subsf3_ibm"): Merge identical
'type values' and rename 'type' value.
("*addsf3"): Additionally rename second pattern to
"*addsf3_ibm".

From-SVN: r99456

19 years agos390.md: ("SHIFT"): New mode macro.
Adrian Straetling [Mon, 9 May 2005 17:21:03 +0000 (17:21 +0000)]
s390.md: ("SHIFT"): New mode macro.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md: ("SHIFT"): New mode macro.
("lr", "shift"): New mode attributes.
("ashldi3", "lshrdi3"): Merge.
("*ashldi3_31", "*lshrdi3"_31): Merge.
("*ashldi3_64", "*lshrdi3"_64): Merge.
("ashlsi3", "lshrsi3"): Merge.

From-SVN: r99455

19 years agos390.md: ("DSI", "SCOND"): New mode macros.
Adrian Straetling [Mon, 9 May 2005 17:18:00 +0000 (17:18 +0000)]
s390.md: ("DSI", "SCOND"): New mode macros.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md: ("DSI", "SCOND"): New mode
macros.
("E", "g"): New mode attributes.
("*adddi3_alc_cc", "*addsi3_alc_cc"): Merge.
("*adddi3_alc", "*addsi3_alc"): Merge.
("*subdi3_slb_cc", "*subsi3_slb_cc"): Merge.
("*subdi3_slb", "*subsi3_slb"): Merge.
("adddicc", "addsicc"): Merge.
("*sconddi", "*scondsi"): Merge.
("*sconddi_neg", "*scondsi_neg"): Merge.
("sltu", "sgtu", "sleu", "sgeu"): Merge.
("negdi2", "negsi2"): Extract expander pattern from
"negsi2" and merge with "negdi2".
("*negdi2"): Merge with instruction pattern of "negsi2".
("*negdi2_cc", "*negsi2_cc"): Merge.
("*negdi2_cconly", "*negsi2_cconly"): Merge.
("rotldi3", "rotlsi3"): Merge.

From-SVN: r99454

19 years agos390.md: ("hc"): New mode attribute.
Adrian Straetling [Mon, 9 May 2005 17:14:22 +0000 (17:14 +0000)]
s390.md: ("hc"): New mode attribute.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md: ("hc"): New mode attribute.
("extendhidi2", "extendqidi2"): Merge.
("*extendhidi2", "*extendqidi2"): Merge.
("extendhisi2", "extendqisi2"): Merge.
("zero_extendhidi2", "zero_extendqidi2"): Merge.
("*zero_extendhidi2", "*zero_extendqidi2"): Merge.
Merged 2 define_split.
("*zero_extendhisi2", "*zero_extendqisi2"): Merge.
("*zero_extendhisi2_64", "*zero_extendqisi2_64"): Merge.

From-SVN: r99453

19 years agos390.md: ("COMPARE"): New mode macro.
Adrian Straetling [Mon, 9 May 2005 17:11:23 +0000 (17:11 +0000)]
s390.md: ("COMPARE"): New mode macro.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md: ("COMPARE"): New mode macro.
("beq", "bne", "bgt", "bgtu", "blt", "bltu", "bge", "bgeu",
"ble", "bleu", "bunordered", "bordered", "buneq", "bunlt",
"bungt", "bunle", "bunge", "bltgt"): Merge.

From-SVN: r99452

19 years agos390.md: ("INT"): New mode macro.
Adrian Straetling [Mon, 9 May 2005 17:07:57 +0000 (17:07 +0000)]
s390.md: ("INT"): New mode macro.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md: ("INT"): New mode macro.
("one_cmpldi2", "one_cmplsi2", "one_cmplhi2", "one_cmplqi2"):
Merge.

From-SVN: r99451

19 years agos390.md: ("GPR", "P"): New mode macros.
Adrian Straetling [Mon, 9 May 2005 17:04:41 +0000 (17:04 +0000)]
s390.md: ("GPR", "P"): New mode macros.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md: ("GPR", "P"): New mode macros.
("cmpdi", "cmpsi"): Merge.
("strlendi", "strlensi"): Merge.
("*strlendi", "*strlensi"): Merge.
("movmemdi", "movmemsi"): Merge.
("clrmemdi", "clrmemsi"): Merge.

From-SVN: r99450

19 years agos390.md: ("HQI"): New mode macro.
Adrian Straetling [Mon, 9 May 2005 17:01:36 +0000 (17:01 +0000)]
s390.md: ("HQI"): New mode macro.

2005-05-09  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md: ("HQI"): New mode macro.
("icm_lo", "icm_hi", "max_uint"): New mode attributes.
("*tmhi_full", "*tmqi_full"): Merge.
("*tsthiCCT", "*tstqiCCT"): Merge.
("*tsthi", "*tstqi"): Merge.
("*tsthi_cconly", "tstqi_cconly"): Merge.
("*sethighhisi", "*sethighqisi"): Merge.

From-SVN: r99449

19 years agolibjava.exp (libjava_find_gij): Use $objdir/..
Bryce McKinlay [Mon, 9 May 2005 16:52:36 +0000 (17:52 +0100)]
libjava.exp (libjava_find_gij): Use $objdir/..

2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>

* testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to
find gij if get_multilibs fails.

From-SVN: r99448

19 years agocrtstuff.c, [...]: Update copyright.
Kazu Hirata [Mon, 9 May 2005 16:26:26 +0000 (16:26 +0000)]
crtstuff.c, [...]: Update copyright.

* crtstuff.c, integrate.h, tree-scalar-evolution.h,
config/alpha/unicosmk.h, config/arc/arc.md,
config/arm/bpabi.h, config/arm/coff.h, config/arm/elf.h,
config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
config/arm/semi.h, config/arm/uclinux-elf.h,
config/arm/wince-pe.h, config/fr30/fr30.c,
config/rs6000/altivec.h: Update copyright.

From-SVN: r99447

19 years agopdp11.c (pdp11_output_function_prologue): Use gcc_assert and gcc_unreachable as appro...
Nathan Sidwell [Mon, 9 May 2005 15:58:56 +0000 (15:58 +0000)]
pdp11.c (pdp11_output_function_prologue): Use gcc_assert and gcc_unreachable as appropriate.

* config/pdp11/pdp11.c (pdp11_output_function_prologue): Use
gcc_assert and gcc_unreachable as appropriate.
(pdp11_output_function_epilogue, output_move_double,
output_move_quad, print_operand_address, output_jump,
output_addr_const_pdp11): Likewise.
* config/pdp11/pdp11.h (FUNCTION_PROFILER,
ASM_OUTPUT_ALIGN): Likewise.
* config/pdp11/pdp11.md: Likewise.
(extendhisi2, subhi3, subqi3): Likewise.

From-SVN: r99446

19 years agore PR middle-end/21237 (unnecessary __cmpdi2 usage?)
David Edelsohn [Mon, 9 May 2005 14:44:51 +0000 (10:44 -0400)]
re PR middle-end/21237 (unnecessary __cmpdi2 usage?)

PR middle-end/21237
* dojump.c (do_jump, MINUS_EXPR): Build NE_EXPR and fall through
to NE_EXPR case.

From-SVN: r99444

19 years agodojump.c (do_jump, MINUS_EXPR): Build NE_EXPR and fall through to NE_EXPR case.
David Edelsohn [Mon, 9 May 2005 14:43:09 +0000 (14:43 +0000)]
dojump.c (do_jump, MINUS_EXPR): Build NE_EXPR and fall through to NE_EXPR case.

* dojump.c (do_jump, MINUS_EXPR): Build NE_EXPR and fall through
to NE_EXPR case.

From-SVN: r99443

19 years ago* config/ia64/ia64.c: Fix a comment typo.
Kazu Hirata [Mon, 9 May 2005 14:38:07 +0000 (14:38 +0000)]
* config/ia64/ia64.c: Fix a comment typo.

From-SVN: r99442

19 years agore PR target/21397 (arm: -march overrides -mtune)
Richard Earnshaw [Mon, 9 May 2005 14:15:47 +0000 (14:15 +0000)]
re PR target/21397 (arm: -march overrides -mtune)

PR target/21397
* arm.c (ARM_OPT_SET_CPU, ARM_OPT_SET_ARCH, ARM_OPT_SET_TUNE): Define.
(arm_override_options): Use them instead of manifest constants.  Don't
allow -march to override the -mtune setting.

From-SVN: r99441

19 years ago* MAINTAINERS: Remove self, add Nick Clifton as iq2000 maintainer.
Stan Cox [Mon, 9 May 2005 13:34:05 +0000 (13:34 +0000)]
* MAINTAINERS: Remove self, add Nick Clifton as iq2000 maintainer.

From-SVN: r99435

19 years agoDR 434.
Jonathan Wakely [Mon, 9 May 2005 12:45:05 +0000 (13:45 +0100)]
DR 434.

DR 434. bitset::to_string() hard to use [Ready]
* include/debug/bitset (to_string): Add three overloads, taking
fewer template arguments.

From-SVN: r99433

19 years agoiq2000.c (abort_with_insn): Use fancy_abort.
Nathan Sidwell [Mon, 9 May 2005 12:10:29 +0000 (12:10 +0000)]
iq2000.c (abort_with_insn): Use fancy_abort.

* config/iq2000/iq2000.c (abort_with_insn): Use fancy_abort.
(gen_int_relational): Use gcc_unreachable and gcc_assert as necessary.
(function_arg_advance, function_arg, save_restore_insns,
iq2000_expand_prologue, iq2000_output_conditional_branch,
expand_one_builtin, print_operand):
* config/iq2000/iq2000.md (tablejump): Likewise.

From-SVN: r99432

19 years agore PR c++/21427 ([3.4/4.0 only] Failure in make_thunk, cp/method.c:145 when compiling...
Nathan Sidwell [Mon, 9 May 2005 11:52:44 +0000 (11:52 +0000)]
re PR c++/21427 ([3.4/4.0 only] Failure in make_thunk, cp/method.c:145 when compiling with multiply-inherited members)

PR c++/21427
* g++.dg/inherit/covariant13.C: New.

From-SVN: r99431

19 years agomips.h (processor_type): Add names for the 24K.
David Ung [Mon, 9 May 2005 11:43:50 +0000 (11:43 +0000)]
mips.h (processor_type): Add names for the 24K.

* config/mips/mips.h (processor_type): Add names for the 24K.
* config/mips/mips.c (mips_cpu_info_table): Add names for the 24K
processor family.
* config/mips/mips.md (cnv_mode): New attribute for recording the
conversion types of float convert insns.
(cpu): Add 24k and 24kx.
(include): Include 24k.md file.
(truncdfsf2, extendsfdf2, fix_truncdfsi2_insn, fix_truncdfsi2_macro)
(fix_truncdfdi2, fix_truncsfdi2, floatsidf2, floatdidf2, floatsisf2)
(floatdisf2): Setup cnv_mode.
(fix_truncsfsi2_insn, fix_truncsfsi2_macro): Changed mode to SF and
setup cnv_mode.
* config/mips/24k.md: New file, contains 24k DFA pipeline
description.

From-SVN: r99429

19 years agosh.c (print_operand_address): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Mon, 9 May 2005 11:24:17 +0000 (11:24 +0000)]
sh.c (print_operand_address): Use gcc_assert and gcc_unreachable as appropriate.

* config/sh/sh.c (print_operand_address): Use gcc_assert and
gcc_unreachable as appropriate.
(print_operand, prepare_move_operands, prepare_scc_operands,
output_movedouble, output_branch, shift_insns_rtx, gen_shifty_op,
gen_shl_and, shl_sext_kind, gen_datalabel_ref, dump_table,
fixup_mova, gen_far_branch, sh_reorg, split_branches,
final_prescan_insn, output_stack_adjust, sh_expand_epilogue,
sh_set_return_address, sh_setup_incoming_varargs,
initial_elimination_offset, sh_pch_valid_p, get_free_reg,
sh_expand_builtin, sh_output_mi_thunk, extract_sfunc_addr,
check_use_sfunc_addr): Likewise.
* config/sh/netbsd-elf.h (FUNCTION_PROFILER): Likewise.
* config/sh/sh.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise.
* config/sh/symbian.c (sh_symbian_mark_dllexport,
sh_symbian_mark_dllimport): Likewise.
* config/sh/sh.md: Likewise.
(movdicc, call_pop, call_value_pop, casesi_worker_1,
casesi_worker_2, casesi_shift_media, casesi_load_media,
return_media): Likewise.

From-SVN: r99425

19 years agore PR libfortran/19155 ([4.0 only] blanks not treated as zeros in 'E' format read...
Francois-Xavier Coudert [Mon, 9 May 2005 11:21:01 +0000 (13:21 +0200)]
re PR libfortran/19155 ([4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR))

PR libfortran/19155
* io/read.c (read_f): Accept 'e', 'E', 'd' and 'D' as first
non-blank characters of a real number.
* gfortran.dg/pr19155.f: New test.

From-SVN: r99424

19 years agore PR inline-asm/8788 (ICE in emit_move_insn, at expr.c:3089)
Roger Sayle [Mon, 9 May 2005 05:15:50 +0000 (05:15 +0000)]
re PR inline-asm/8788 (ICE in emit_move_insn, at expr.c:3089)

PR inline-asm/8788
* stmt.c (expand_asm_operands): Avoid calling force_reg on BLKmode
operands.

* gcc.dg/pr8788-1.c: New testcase.

From-SVN: r99422

19 years ago* config/alpha/alpha.c (adjust_address): Fix typo last change.
Richard Henderson [Mon, 9 May 2005 04:34:43 +0000 (21:34 -0700)]
* config/alpha/alpha.c (adjust_address): Fix typo last change.

From-SVN: r99421

19 years agoDaily bump.
GCC Administrator [Mon, 9 May 2005 00:16:36 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99419.2

19 years agore PR libffi/21285 (gij fails to handle NullPointerException exception)
Richard Henderson [Sun, 8 May 2005 23:23:50 +0000 (16:23 -0700)]
re PR libffi/21285 (gij fails to handle NullPointerException exception)

        PR libffi/21285
        * src/alpha/osf.S: Update unwind into to match code.

From-SVN: r99415

19 years ago* de.po: Update.
Joseph Myers [Sun, 8 May 2005 23:02:20 +0000 (00:02 +0100)]
* de.po: Update.

From-SVN: r99413

19 years agom68hc11.h (REG_VALID_P): A regno must be >= 0 and -1 can happen in reg_renumber when...
Stephane Carrez [Sun, 8 May 2005 21:56:29 +0000 (23:56 +0200)]
m68hc11.h (REG_VALID_P): A regno must be >= 0 and -1 can happen in reg_renumber when...

* config/m68hc11/m68hc11.h (REG_VALID_P): A regno must be >= 0
and -1 can happen in reg_renumber when no hard register is assigned.

From-SVN: r99411

19 years agoPR tree-optimization/14841, tree-optimization/15838
Steven Bosscher [Sun, 8 May 2005 21:22:21 +0000 (21:22 +0000)]
PR tree-optimization/14841, tree-optimization/15838

gcc/
PR tree-optimization/14841, tree-optimization/15838
* tree-ssa-ccp.c (fold_const_aggregate_ref): New.
(evaluate_stmt): Call it.

testsuite/
PR tree-optimization/14841, tree-optimization/15838
* gcc.dg/tree-ssa/pr14841.c: New.

Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu>
From-SVN: r99410

19 years agoia64.c (ia64_override_options): Don't set ia64_flag_var_tracking and clear flag_var_t...
Jakub Jelinek [Sun, 8 May 2005 21:19:16 +0000 (23:19 +0200)]
ia64.c (ia64_override_options): Don't set ia64_flag_var_tracking and clear flag_var_tracking here...

* config/ia64/ia64.c (ia64_override_options): Don't set
ia64_flag_var_tracking and clear flag_var_tracking here...
(ia64_file_start): ... but here.

From-SVN: r99408

19 years agom68hc11.c (m68hc11_emit_libcall): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Sun, 8 May 2005 20:58:31 +0000 (20:58 +0000)]
m68hc11.c (m68hc11_emit_libcall): Use gcc_assert and gcc_unreachable as appropriate.

* config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use gcc_assert
and gcc_unreachable as appropriate.
(expand_prologue, expand_epilogue, m68hc11_gen_lowpart,
m68hc11_gen_highpart, print_operand, print_operand_address,
m68hc11_expand_compare, m68hc11_expand_compare_and_branch,
m68hc11_gen_movhi): Likewise.
* config/m68hc11/m68hc11.h (HARD_X_REGNUM): Reword comment.
* config/m68hc11/m68hc11.md: Reword comment.

From-SVN: r99407

19 years agore PR target/21281 (ICE with building newlib)
Stephane Carrez [Sun, 8 May 2005 20:04:52 +0000 (22:04 +0200)]
re PR target/21281 (ICE with building newlib)

PR target/21281
* config/m68hc11/predicates.md (splitable_operand): An immediate is
allowed.

From-SVN: r99406

19 years agopredicates.md (reg_or_some_mem_operand): Do not allow the 68HC12 address indirect...
Stephane Carrez [Sun, 8 May 2005 19:53:42 +0000 (21:53 +0200)]
predicates.md (reg_or_some_mem_operand): Do not allow the 68HC12 address indirect addressing mode as it is not supported...

* config/m68hc11/predicates.md (reg_or_some_mem_operand): Do not allow
the 68HC12 address indirect addressing mode as it is not supported by
bset and bclr.
* config/m68hc11/m68hc11-protos.h (m68hc11_valid_addressing_p): Declare.
(m68hc11_add_mode): Declare.
* config/m68hc11/m68hc11.c (m68hc11_valid_addressing_p): Rename from
register_indirect_p and export it.
(m68hc11_z_replacement): Use emit_insn_after when adding the save Z
instruction so that it is part of the good BB.
(m68hc11_gen_movhi): Fix invalid generation of indexed indirect
addressing with movw.
(m68hc11_gen_movqi): Use pula and pulb instead of lda and ldb for
68HC12.
* config/m68hc11/m68hc11.h (ADDR_STRICT, ADDR_INCDEC, ADDR_INDEXED,
ADDR_OFFSET, ADDR_INDIRECT, ADDR__CONST): Moved from m68hc11.c.
* config/m68hc11/m68hc11.md ("movhi_const0"): Use this pattern only
for 68HC11.
("*movhi_68hc12"): Handle movhi_const0.
("*subhi3", "subqi3"): Use general_operand for operand 1.
("*subhi3_zext"): Likewise.

From-SVN: r99405

19 years agore PR target/19051 (m6811-elf-gcc ICE)
Stephane Carrez [Sun, 8 May 2005 17:52:22 +0000 (19:52 +0200)]
re PR target/19051 (m6811-elf-gcc ICE)

PR target/19051
* config/m68hc11/m68hc11.md ("mulqi3"): Use general_operand for operand
1 and fix constraints.
("mulqihi3"): Use general_operand for operand 2.

From-SVN: r99399

19 years ago* README.SCO: Update the URL.
Matt Kraai [Sun, 8 May 2005 17:49:46 +0000 (17:49 +0000)]
* README.SCO: Update the URL.

From-SVN: r99398

19 years agoconfigure.ac: Set ld_vers_major, ld_vers_minor and ld_vers_patch for GNU linker.
Julian Brown [Sun, 8 May 2005 16:58:03 +0000 (16:58 +0000)]
configure.ac: Set ld_vers_major, ld_vers_minor and ld_vers_patch for GNU linker.

        * configure.ac: Set ld_vers_major, ld_vers_minor and ld_vers_patch for
        GNU linker. Support linker version x.x.x.x.x. Require GNU linker
        20050308/2.16.0 or newer for comdat group.
        * configure: Regenerated.
        * config.in: Regenerated.
        * varasm.c (default_function_rodata_section): Put .rodata section in
        COMDAT group when necessary.
        (default_elf_asm_named_section): Rename HAVE_GAS_COMDAT_GROUP to
        HAVE_COMDAT_GROUP.
        (default_unique_section_1): Don't use .gnu.linkonce when COMDAT is
        available.

Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r99395

19 years ago* intrinsic.texi: Fix typos.
Kazu Hirata [Sun, 8 May 2005 15:30:38 +0000 (15:30 +0000)]
* intrinsic.texi: Fix typos.

From-SVN: r99394

19 years agotree-dfa.c (referenced_vars, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Sun, 8 May 2005 15:07:23 +0000 (15:07 +0000)]
tree-dfa.c (referenced_vars, [...]): Use VEC instead of VARRAY.

* tree-dfa.c (referenced_vars, add_referenced_var): Use VEC
instead of VARRAY.
* tree-flow.h (num_referenced_var, referenced_var): Likewise.
* tree-into-ssa.c (mark_def_site_blocks): Likewise.
* tree-ssa.c (init_tree_ssa, delete_tree_ssa): Likewise.
* tree-tailcall.c (suitable_for_tail_opt_p): Likewise.

From-SVN: r99393

19 years agoUse dg-mips-options instead of dg-options.
Richard Sandiford [Sun, 8 May 2005 12:06:55 +0000 (12:06 +0000)]
Use dg-mips-options instead of dg-options.

From-SVN: r99391

19 years agore PR target/16925 (ICE when building a m68hc11 cross-compiler on 64-bit architectures)
Stephane Carrez [Sun, 8 May 2005 10:23:39 +0000 (12:23 +0200)]
re PR target/16925 (ICE when building a m68hc11 cross-compiler on 64-bit architectures)

PR target/16925
* config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Handle split of
64-bit constants on 64-bit hosts.
(m68hc11_split_logical): Simplify.
(m68hc11_split_move): Likewise.

From-SVN: r99388

19 years agoMakefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh
Nathan Sidwell [Sun, 8 May 2005 10:13:19 +0000 (10:13 +0000)]
Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh

* Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh
* aclocal.m4 (GCC_TARGET_TEMPLATE, AH_TEMPLATE): New.
* configure.ac (enable_checking): Fix typos in runtime_checking.
(ENABLE_RUNTIME_CHECKING): Mark as target template.
(xm_file): Prepend auto-host.h
(HAVE_GAS_HIDDEN, HAVE_LD_EH_FRAME_HDR): Mark as target template.
* mkconfig.sh: Do not automatically define USED_FOR_TARGET in
tconfig.h.
* crtstuff.c: Do not include auto-host.h.
(IN_LIBGCC2): Do not define.
* gcov-io.h: Include tconfig.h, not auto-host.h.
* libgcc2.c: Do not include auto-host.h.
(abort): Do not undefine.
* libgcov.c: Remove unneeded comment about config.h.
* unwind-dw2-fde-glibc.c: Do not inlude auto-host.h.
* config.in, configure: Regenerated.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r99386

19 years agoalpha.c (tls_symbolic_operand_1): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Sun, 8 May 2005 09:48:22 +0000 (09:48 +0000)]
alpha.c (tls_symbolic_operand_1): Use gcc_assert and gcc_unreachable as appropriate.

* config/alpha/alpha.c (tls_symbolic_operand_1): Use gcc_assert
and gcc_unreachable as appropriate.
(get_aligned_mem, get_unaligned_address,
alpha_emit_set_long_const, alpha_emit_conditional_branch,
alpha_emit_setcc, alpha_emit_conditional_move,
alpha_lookup_xfloating_lib_func, alpha_compute_xfloating_mode_arg,
alpha_emit_xfloating_libcall, alpha_split_tfmode_pair,
alpha_expand_unaligned_load, alpha_expand_block_move,
alpha_expand_zap_mask, get_trap_mode_suffix,
get_round_mode_suffix, get_some_local_dynamic_name,
print_operand_address, function_arg, alpha_return_in_memory,
function_value, alpha_expand_builtin,
alpha_initial_elimination_offset, alpha_expand_epilogue,
summarize_insn, alpha_handle_trap_shadows, alphaev5_insn_pipe,
alphaev5_next_group, alpha_align_insns,
unicosmk_initial_elimination_offset, unicosmk_unique_section,
unicosmk_ssib_name): Likewise.
* config/alpha/alpha.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* config/alpha/unicosmk.h (TRAMPOLINE_TEMPLATE,
ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_DIFF_VEC): Likewise.
* config/alpha/vms.h (INITIAL_ELIMINATION_OFFSET,
ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
* config/alpha/alpha.md (*divmodsi_internal_er,
*divmoddi_internal_er, ashldi3, *insxl, sibcall, call_osf,
call_nt, call_umk, call_vms, call_value, sibcall_value,
call_value_osf, call_value_nt, call_value_vms, call_value_umk,
*call_vms_1, *movmemdi_1, *clrmemdi_1, *call_value_vms_1): Likewise.
* config/alpha/predicates.md (input_operand): Likewise.

Co-Authored-By: Falk Hueffner <falk@debian.org>
From-SVN: r99384

19 years agofrv.c (frv_default_flags_for_cpu): Use gcc_assert and gcc_unreachable, as appropriate.
Nathan Sidwell [Sun, 8 May 2005 09:40:45 +0000 (09:40 +0000)]
frv.c (frv_default_flags_for_cpu): Use gcc_assert and gcc_unreachable, as appropriate.

* config/frv/frv.c (frv_default_flags_for_cpu): Use gcc_assert and
gcc_unreachable, as appropriate.
(frv_function_prologue, frv_alloc_temp_reg,
frv_initial_elimination_offset, frv_expand_block_move,
frv_expand_block_clear, frv_print_operand_jump_hint,
frv_legitimize_tls_address, unspec_got_name, frv_emit_move,
frv_emit_movsi, frv_split_cond_move, frv_split_minmax,
frv_ifcvt_modify_insn, frv_ifcvt_modify_final,
frv_adjust_field_align, frv_insn_unit, frv_cond_flags,
frv_sort_insn_group, frv_reorder_packet, frv_matching_accg_mode,
frv_in_small_data_p, frv_asm_out_constructor,
frv_asm_out_destructor, frv_output_dwarf_dtprel): Likewise.
* config/frv/frv.md (reload_incc_fp, *cond_exec_si_binary1,
*cond_exec_si_binary2, *cond_exec_si_divide, *cond_exec_si_unary1,
*cond_exec_sf_conv, *cond_exec_sf_add, call, sibcall, call_value,
sibcall_value, casesi): Likewise.

From-SVN: r99383

19 years agomn10300.c (print_operand): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Sun, 8 May 2005 09:37:17 +0000 (09:37 +0000)]
mn10300.c (print_operand): Use gcc_assert and gcc_unreachable as appropriate.

* config/mn10300/mn10300.c (print_operand): Use gcc_assert and
gcc_unreachable as appropriate.
(print_operand_address, mn10300_print_reg_list, expand_prologue,
expand_epilogue, notice_update_cc, initial_offset,
mn10300_address_cost_1): Likewise.
* config/mn10300/mn10300.md: Likewise.
(absdf2, abssf2, negdf2, negsf2): Likewise.

From-SVN: r99382

19 years agoAdd PR number to last changelog.
Richard Sandiford [Sun, 8 May 2005 09:27:18 +0000 (09:27 +0000)]
Add PR number to last changelog.

From-SVN: r99381

19 years agomips.c (mips_emit_compare): Don't reverse UNGE and UNGT comparisons.
Richard Sandiford [Sun, 8 May 2005 09:24:45 +0000 (09:24 +0000)]
mips.c (mips_emit_compare): Don't reverse UNGE and UNGT comparisons.

* config/mips/mips.c (mips_emit_compare): Don't reverse UNGE and UNGT
comparisons.
* config/mips/mips.md (swapped_fcond): New code macro and attribute.
(sgt_<mode>, sge_<mode>): Generalize to all members of swapped_fcond,
including sunge_<mode> and sungt_<mode>.

From-SVN: r99380

19 years agointegrate.h (get_hard_reg_initial_val): Change type of register parameter from int...
Richard Sandiford [Sun, 8 May 2005 09:16:47 +0000 (09:16 +0000)]
integrate.h (get_hard_reg_initial_val): Change type of register parameter 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

19 years agoexcept.c (eh_status): Change the type of ttype_data to VEC(tree,gc)*.
Kazu Hirata [Sun, 8 May 2005 04:22:42 +0000 (04:22 +0000)]
except.c (eh_status): Change the type of ttype_data to VEC(tree,gc)*.

* 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

19 years ago* config/rs6000/rs6000.md (popcount<mode>2): Fix non-C90 constant.
David Edelsohn [Sun, 8 May 2005 02:35:49 +0000 (02:35 +0000)]
* config/rs6000/rs6000.md (popcount<mode>2): Fix non-C90 constant.

From-SVN: r99377

19 years agoclass.c (vtbl_init_data_s): Change the type of fns to VEC(tree,gc)*.
Kazu Hirata [Sun, 8 May 2005 02:17:54 +0000 (02:17 +0000)]
class.c (vtbl_init_data_s): Change the type of fns to VEC(tree,gc)*.

* 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

19 years agoMakefile.in: Fix dependencies.
Paul Brook [Sun, 8 May 2005 01:15:17 +0000 (01:15 +0000)]
Makefile.in: Fix dependencies.

2005-05-07  Paul Brook  <paul@codesourcery.com>

* Makefile.in: Fix dependencies.
(GCOV_IO_H, VARRAY_H): Set.

From-SVN: r99375

19 years agoDaily bump.
GCC Administrator [Sun, 8 May 2005 00:16:34 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99373.2

19 years agore PR bootstrap/21403 (Canadian cross build fails.)
Anthony Green [Sat, 7 May 2005 22:31:59 +0000 (22:31 +0000)]
re PR bootstrap/21403 (Canadian cross build fails.)

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

19 years ago* de.po, zh_CN.po: Update.
Joseph Myers [Sat, 7 May 2005 20:42:09 +0000 (21:42 +0100)]
* de.po, zh_CN.po: Update.

From-SVN: r99366

19 years agointrinsic.texi: Document ASSOCIATED and ATAN2.
Steven G. Kargl [Sat, 7 May 2005 20:37:20 +0000 (20:37 +0000)]
intrinsic.texi: Document ASSOCIATED and ATAN2.

* intrinsic.texi:  Document ASSOCIATED and ATAN2.  Update Bessel function
  descriptions to include info about scalar arguments.

From-SVN: r99365

19 years agopa-hpux11.h (TARGET_OS_CPP_BUILTINS): Do not define inappropriate feature test macros...
Joseph Myers [Sat, 7 May 2005 20:14:42 +0000 (21:14 +0100)]
pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Do not define inappropriate feature 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

19 years ago* config/ia64/hpux.h (NO_IMPLICIT_EXTERN_C): Define.
Joseph Myers [Sat, 7 May 2005 20:12:07 +0000 (21:12 +0100)]
* config/ia64/hpux.h (NO_IMPLICIT_EXTERN_C): Define.

From-SVN: r99362

19 years agore PR target/21441 (CRIS: gcc.c-torture/execute/20040703-1.c compilation, -Os and...
Hans-Peter Nilsson [Sat, 7 May 2005 19:40:25 +0000 (19:40 +0000)]
re PR target/21441 (CRIS: gcc.c-torture/execute/20040703-1.c compilation,  -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

19 years ago* config/cris/cris.md ("*movdi_insn", "*mov_sidesisf_biap")
Hans-Peter Nilsson [Sat, 7 May 2005 19:37:15 +0000 (19:37 +0000)]
* 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: r99359

19 years agointegrate.c (get_func_hard_reg_initial_val): Delete.
Richard Sandiford [Sat, 7 May 2005 19:05:33 +0000 (19:05 +0000)]
integrate.c (get_func_hard_reg_initial_val): Delete.

* 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

19 years agoopt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask if variable name exists.
David Edelsohn [Sat, 7 May 2005 19:03:22 +0000 (19:03 +0000)]
opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask if variable name exists.

        * opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask
        if variable name exists.

From-SVN: r99357

19 years agoconfig.gcc ({powerpc,rs6000}-ibm-aix*): Remove rs6000/aix.opt from extra_options.
David Edelsohn [Sat, 7 May 2005 18:51:50 +0000 (18:51 +0000)]
config.gcc ({powerpc,rs6000}-ibm-aix*): Remove rs6000/aix.opt from 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

19 years ago* Makefile.in (c-gimplify.o): Depend on $(RTL_H) instead of rtl.h.
Matt Kraai [Sat, 7 May 2005 16:56:28 +0000 (16:56 +0000)]
* Makefile.in (c-gimplify.o): Depend on $(RTL_H) instead of rtl.h.

From-SVN: r99355

19 years agore PR target/21412 (ICE loading TLS address)
Richard Henderson [Sat, 7 May 2005 16:46:08 +0000 (09:46 -0700)]
re PR target/21412 (ICE loading TLS address)

        PR target/21412
        * config/rs6000/rs6000.c (rs6000_emit_move): Look for tls addresses
        with constant offsets.

From-SVN: r99352

19 years agov850.c (print_operand): Use gcc_assert and gcc_unreachable, as appropriate.
Nathan Sidwell [Sat, 7 May 2005 15:32:16 +0000 (15:32 +0000)]
v850.c (print_operand): Use gcc_assert and gcc_unreachable, as appropriate.

* 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

19 years agotree-ssa-loop-ivcanon.c, [...]: Fix comment typos.
Kazu Hirata [Sat, 7 May 2005 14:43:55 +0000 (14:43 +0000)]
tree-ssa-loop-ivcanon.c, [...]: Fix comment typos.

* tree-ssa-loop-ivcanon.c, config/i386/i386.c,
config/rs6000/rs6000.h: Fix comment typos.

From-SVN: r99350

19 years agoGtkVolatileImage.java: Add imports.
Matthias Klose [Sat, 7 May 2005 13:17:00 +0000 (13:17 +0000)]
GtkVolatileImage.java: Add imports.

2005-05-07  Matthias Klose  <doko@debian.org>

        * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.

From-SVN: r99349

19 years agoinvoke.texi: Remove documentation for MIPS' -mint64 option.
Richard Sandiford [Sat, 7 May 2005 09:48:29 +0000 (09:48 +0000)]
invoke.texi: Remove documentation for MIPS' -mint64 option.

* 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

19 years agomangle.c (globals): Change the type of substitutions to VEC(tree,gc)*.
Kazu Hirata [Sat, 7 May 2005 04:12:06 +0000 (04:12 +0000)]
mangle.c (globals): Change the type of substitutions to VEC(tree,gc)*.

* 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

19 years agodecl.c (wrapup_globals_for_namespace): Use VEC instead of VARRAY.
Kazu Hirata [Sat, 7 May 2005 02:29:34 +0000 (02:29 +0000)]
decl.c (wrapup_globals_for_namespace): Use VEC instead of VARRAY.

* 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

19 years agofix typo
R. Kelley Cook [Sat, 7 May 2005 01:21:13 +0000 (01:21 +0000)]
fix typo

From-SVN: r99345

19 years agoaclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
Kelley Cook [Sat, 7 May 2005 01:18:14 +0000 (01:18 +0000)]
aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.

2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>

* aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
* configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
* configure: Regenerate.

From-SVN: r99344

19 years agoconfigure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
Kelley Cook [Sat, 7 May 2005 01:08:27 +0000 (01:08 +0000)]
configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.

2005-05-06  Kelley Cook  <kcook@gcc.gnu.org>

* configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
* aclocal.m4: Don't include accross.m4.
* configure, config.in: Regenerate.

From-SVN: r99343

19 years agoDaily bump.
GCC Administrator [Sat, 7 May 2005 00:17:00 +0000 (00:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r99341.2

19 years agomips.opt: Remove -mint64 option.
Eric Christopher [Fri, 6 May 2005 23:41:07 +0000 (23:41 +0000)]
mips.opt: Remove -mint64 option.

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

19 years agoMakefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
Thomas Fitzsimmons [Fri, 6 May 2005 23:06:18 +0000 (23:06 +0000)]
Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.

2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>

* Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
* Makefile.in: Regenerate.
* gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
(createCompatibleVolatileImage(int,int)): Implement.
(createCompatibleVolatileImage(int,int,ImageCapabilities)):
Likewise.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
New fields.
(createVolatileImage): Implement.
(createBuffers): Likewise.
(getBackBuffer): Likewise.
(flip): Likewise.
(destroyBuffers): Likewise.
* gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
* java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
(CanvasFlipBufferStrategy): Likewise.
(createBufferStrategy(int)): New method.
(createBufferStrategy(int,BufferCapabilities)): Likewise.
* java/awt/Component.java (BltBufferStrategy): Implement and
document class.
(FlipBufferStrategy): Likewise.
* java/awt/Window.java (WindowBltBufferStrategy): New class.
(WindowFlipBufferStrategy): Likewise.
(createBufferStrategy(int)): New method.
(createBufferStrategy(int,BufferCapabilities)): Likewise.
(getBufferStrategy): Likewise.
* java/awt/BufferCapabilities.java (BufferCapabilities): Rename
front to frontCaps and back to backCaps.

From-SVN: r99336

19 years agore PR tree-optimization/19401 (Trivial loop not unrolled)
Zdenek Dvorak [Fri, 6 May 2005 21:11:29 +0000 (23:11 +0200)]
re PR tree-optimization/19401 (Trivial loop not unrolled)

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

19 years agore PR rtl-optimization/21254 (Incorrect code with -funroll-loops for multiple targets...
Zdenek Dvorak [Fri, 6 May 2005 20:24:00 +0000 (22:24 +0200)]
re PR rtl-optimization/21254 (Incorrect code with -funroll-loops for 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

19 years agosysv4.opt: Fix typo.
Pat Haugen [Fri, 6 May 2005 19:34:10 +0000 (19:34 +0000)]
sysv4.opt: Fix typo.

2005-05-06  Pat Haugen  <pthaugen@us.ibm.com>

* config/rs6000/sysv4.opt: Fix typo.

From-SVN: r99331

19 years agore PR target/21329 (optimize i386 block copy)
Denis Vlasenko [Fri, 6 May 2005 19:31:13 +0000 (19:31 +0000)]
re PR target/21329 (optimize i386 block copy)

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

19 years agodecl2.c (pending_statics, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Fri, 6 May 2005 19:03:35 +0000 (19:03 +0000)]
decl2.c (pending_statics, [...]): Use VEC instead of VARRAY.

* decl2.c (pending_statics, note_vague_linkage_var,
cp_finish_file): Use VEC instead of VARRAY.
(pending_statics_used): Remove.

From-SVN: r99329

19 years agoRevert accidental commit
Mark Mitchell [Fri, 6 May 2005 17:04:16 +0000 (17:04 +0000)]
Revert accidental commit

From-SVN: r99326

19 years agotestsuite_hooks.cc (try_mkfifo): Remove.
Mark Mitchell [Fri, 6 May 2005 17:03:10 +0000 (17:03 +0000)]
testsuite_hooks.cc (try_mkfifo): Remove.

* 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

19 years agore PR tree-optimization/21380 (ICE compiling with -O)
Jeff Law [Fri, 6 May 2005 16:43:58 +0000 (10:43 -0600)]
re PR tree-optimization/21380 (ICE compiling with -O)

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

19 years agoFix backslash expression in here string
Bruce Korb [Fri, 6 May 2005 16:33:18 +0000 (16:33 +0000)]
Fix backslash expression in here string

[[Split portion of a mixed commit.]]

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r99322.2

19 years agodecl2.c (ssdf_decls, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Fri, 6 May 2005 14:24:20 +0000 (14:24 +0000)]
decl2.c (ssdf_decls, [...]): Use VEC instead of VARRAY.

* decl2.c (ssdf_decls, start_static_storage_duration_function,
generate_ctor_or_dtor_function): Use VEC instead of VARRAY.

From-SVN: r99319

19 years ago* decl2.c (spew_debug): Remove.
Kazu Hirata [Fri, 6 May 2005 14:10:35 +0000 (14:10 +0000)]
* decl2.c (spew_debug): Remove.

From-SVN: r99317

19 years agotree-ssa-operands.c (clobbered_v_may_defs, [...]): Use VEC instead of VARRAY.
Kazu Hirata [Fri, 6 May 2005 14:04:11 +0000 (14:04 +0000)]
tree-ssa-operands.c (clobbered_v_may_defs, [...]): Use VEC instead of VARRAY.

* 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

19 years agomcore.c (mcore_print_operand_address): Use gcc_assert and gcc_unreachable as appropriate.
Nathan Sidwell [Fri, 6 May 2005 13:58:17 +0000 (13:58 +0000)]
mcore.c (mcore_print_operand_address): Use gcc_assert and gcc_unreachable as 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

19 years agolinux64.h: Remove MASK_PROFILE_KERNEL, and TARGET_PROFILE_KERNEL.
Aldy Hernandez [Fri, 6 May 2005 13:40:30 +0000 (13:40 +0000)]
linux64.h: Remove MASK_PROFILE_KERNEL, and TARGET_PROFILE_KERNEL.

* 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

19 years agom32r.c (m32r_encode_section_info): Use gcc_assert and gcc_unreachable, as appropriate.
Nathan Sidwell [Fri, 6 May 2005 10:23:03 +0000 (10:23 +0000)]
m32r.c (m32r_encode_section_info): Use gcc_assert and gcc_unreachable, as 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

19 years agore PR c++/20961 (ICE on pragma weak/__attribute__((weak)))
Jakub Jelinek [Fri, 6 May 2005 09:16:24 +0000 (11:16 +0200)]
re PR c++/20961 (ICE on pragma weak/__attribute__((weak)))

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

19 years ago* config/rs6000/sysv4.h (EXTRA_SUBTARGET_SWITCHES): Delete.
Richard Sandiford [Fri, 6 May 2005 07:41:44 +0000 (07:41 +0000)]
* config/rs6000/sysv4.h (EXTRA_SUBTARGET_SWITCHES): Delete.

From-SVN: r99305

19 years ago2005-05-06 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 6 May 2005 07:12:38 +0000 (07:12 +0000)]
2005-05-06  Michael Koch  <konqueror@gmx.de>

* java/awt/BufferCapabilities.java
(BufferCapabilities): Merged javadoc.

From-SVN: r99304

19 years ago2005-05-06 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 6 May 2005 06:52:44 +0000 (06:52 +0000)]
2005-05-06  Michael Koch  <konqueror@gmx.de>

* java/util/Locale.java
(defaultLocale): Use gnu.classpath.SystemProperties to get properties.
(getLocale): New methods. Use it everywhere where instances of Locales
are needed.
(getDisplayLanguage): Merged javadoc.
(getDisplayCountry): Likewise.
(getDisplayVariant): Likewise.

From-SVN: r99303

19 years agognu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid exhausting...
Archie Cobbs [Fri, 6 May 2005 06:10:18 +0000 (06:10 +0000)]
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: use DeleteLocalRef() to avoid exhausting local native references.

2005-05-06  Archie Cobbs  <archie@dellroad.org>

* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
use DeleteLocalRef() to avoid exhausting local native references.

From-SVN: r99302

19 years ago[multiple changes]
Michael Koch [Fri, 6 May 2005 06:07:01 +0000 (06:07 +0000)]
[multiple changes]

2005-05-06  Mark Wielaard  <mark@klomp.org>

* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
(window_delete_cb): Don't use C++ style comments.

2005-05-06  Robert Schuster  <thebohemian@gmx.net>

* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
copyright header.

2005-05-06  Robert Schuster  <thebohemian@gmx.net>

* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
(window_delete_cb): Made the function return TRUE.

From-SVN: r99301