Eric Botcazou
e0759b7392
alpha.c (alpha_gp_save_rtx): Insert the insns at the entry by means of emit_insn_at_entry.
...
* config/alpha/alpha.c (alpha_gp_save_rtx): Insert the insns at the
entry by means of emit_insn_at_entry.
From-SVN: r122480
2007-03-02 18:01:37 +00:00
Richard Henderson
962f383322
expr.h (promoted_input_arg): Remove decl.
...
* expr.h (promoted_input_arg): Remove decl.
* function.c (promoted_input_arg): Merge into ...
* combine.c (setup_incoming_promotions): ... only caller.
Rearrange to avoid double loop.
From-SVN: r122479
2007-03-02 09:49:58 -08:00
Paolo Carlini
1769232d26
re PR libstdc++/28080 (header dependencies)
...
2007-03-02 Paolo Carlini <pcarlini@suse.de>
* testsuite/thread/pthread1.cc: Include <pthread.h>.
* testsuite/thread/pthread2.cc: Likewise.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.
* testsuite/thread/pthread7-rope.cc: Likewise.
2007-03-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/28080 (partial)
* include/tr1/random (class random_device): Rework to use simple
<cstdio> input, do not include <fstream>.
* include/tr1/random.tcc (all inserters and extractors): Refer
to ios_base as base class of basic_istream or basic_ostream.
From-SVN: r122478
2007-03-02 16:21:30 +00:00
Ben Elliston
7393f7f8d0
dfp.md: New file.
...
* config/rs6000/dfp.md: New file.
* config/rs6000/rs6000.md: Include dfp.md.
(add<mode>3_internal1): Disable for DECIMAL_FLOAT_MODE_P operands.
* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Handle DDmode
and TDmode decimal float modes in FP registers.
(num_insns_constant): Likewise.
(rs6000_legitimate_offset_address_p): Likewise.
(rs6000_legitimize_address): Likewise.
(rs6000_legitimize_reload_address): Likewise.
(rs6000_legitimate_address): Likewise.
(rs6000_emit_move): Likewise.
(function_arg_boundary): Likewise.
(function_arg_advance): Likewise.
(rs6000_darwin64_record_arg_recurse): Likewise.
(function_arg): Likewise.
(rs6000_gimplify_va_arg): Likewise.
(rs6000_split_multireg_move): Likewise.
(rs6000_output_function_epilogue): Likewise.
(rs6000_output_function_epilogue): Likewise.
(rs6000_register_move_cost): Likewise.
(rs6000_function_value): Likewise.
(rs6000_libcall_value): Likewise.
Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com>
From-SVN: r122477
2007-03-02 09:57:08 -06:00
Uros Bizjak
0fa4c37026
i386.c (override_options): Put initialization of ix86_tune_mask and ix86_arch_mask to the correct place.
...
* config/i386/i386.c (override_options): Put initialization of
ix86_tune_mask and ix86_arch_mask to the correct place.
From-SVN: r122476
2007-03-02 14:36:54 +01:00
Richard Sandiford
1f24ba024d
t-vxworks (LIMITS_H_TEST): Define to true for VxWorks.
...
gcc/
* config/t-vxworks (LIMITS_H_TEST): Define to true for VxWorks.
From-SVN: r122475
2007-03-02 12:38:32 +00:00
Richard Sandiford
c3c9a5d23e
t-vxworks (LIBGCC2_INCLUDES): Pass -nostdinc.
...
gcc/
* config/t-vxworks (LIBGCC2_INCLUDES): Pass -nostdinc.
Use $MULTIDIR to choose between the kernel and RTP headers,
and use $WIND_BASE and $WIND_USR to locate them.
From-SVN: r122474
2007-03-02 12:37:31 +00:00
Uros Bizjak
8691cea396
re PR target/31019 (Microoptimization of the i386 and x86_64 compilers)
...
PR target/31019
* config/i386/i386.h (TUNEMASK): Redefine to use ix86_tune_mask.
(ARCHMASK): Define.
(TARGET_CMOVE): Use ARCHMASK.
(TARGET_CMPXCHG): Ditto.
(TARGET_CMPXCHG8B): Ditto.
(TARGET_XADD): Ditto.
(TARGET_BSWAP): Ditto.
* config/i386/i386.c (ix86_tune_mask): New global variable.
(ix86_arch_mask): Ditto.
(override_options): Initialize ix86_tune_mask and
ix86_arch_mask. Use ARCHMASK to clear MASK_NO_FANCY_MATH_387 in
target_flags.
Co-Authored-By: Michael Meissner <michael.meissner@amd.com>
From-SVN: r122473
2007-03-02 13:26:55 +01:00
Manuel López-Ibáñez
4e2238672f
typeck.c (common_base_type): Delete unused function.
...
2007-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* typeck.c (common_base_type): Delete unused function.
From-SVN: r122472
2007-03-02 11:09:52 +00:00
Andrew Haley
7ac5faca97
AnnotationInvocationHandler.java: Whitespace only changes.
...
2007-03-02 Andrew Haley <aph@redhat.com>
* sun/reflect/annotation/AnnotationInvocationHandler.java:
Whitespace only changes.
2007-03-02 Andrew Haley <aph@redhat.com>
* sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
from Classpath to libgcj local.
From-SVN: r122471
2007-03-02 11:01:19 +00:00
Andrew Haley
b2c6e79798
AnnotationInvocationHandler.java: Moved from Classpath to libgcj local.
...
2007-03-02 Andrew Haley <aph@redhat.com>
* sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
from Classpath to libgcj local.
From-SVN: r122470
2007-03-02 10:58:26 +00:00
Ben Elliston
cee690f184
re PR middle-end/30992 (Scaling error in decimal floating-point arithmetic blows conversions to integers)
...
2007-03-02 Ben Elliston <bje@au.ibm.com>
PR 30992
* config/dfp-bit.c (DFP_TO_INT): Initialise qval with "1.".
From-SVN: r122469
2007-03-02 16:28:06 +11:00
Joseph Myers
37ea0b7e74
target.h (init_dwarf_reg_sizes_extra): New target hook.
...
* target.h (init_dwarf_reg_sizes_extra): New target hook.
* target-def.h (TARGET_INIT_DWARF_REG_SIZES_EXTRA): New default.
* doc/tm.texi (TARGET_INIT_DWARF_REG_SIZES_EXTRA): Document.
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Call this
hook.
* config/rs6000/rs6000.c (TARGET_INIT_DWARF_REG_SIZES_EXTRA,
rs6000_init_dwarf_reg_sizes_extra): New.
* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Support
SPE register high parts.
testsuite:
* gcc.target/powerpc/spe-unwind-1.c, g++.dg/eh/simd-5.C: New
tests.
From-SVN: r122468
2007-03-02 01:55:06 +00:00
Brooks Moses
9c4d24932e
configure.ac: Add "--with-pdfdir" configure option, which defines pdfdir variable.
...
* configure.ac: Add "--with-pdfdir" configure option,
which defines pdfdir variable.
* Makefile.def (target=fixincludes): Add install-pdf to
missing targets.
(recursive_targets): Add install-pdf target.
(flags_to_pass): Add pdfdir.
* Makefile.tpl: Add pdfdir handling, add do-install-pdf
target.
* configure: Regenerate
* Makefile.in: Regenerate
From-SVN: r122467
2007-03-01 16:28:09 -08:00
Brooks Moses
bcc3d150be
Makefile.in: Add install-pdf target as copied from automake v1.10 rules.
...
* Makefile.in: Add install-pdf target as
copied from automake v1.10 rules.
* configure.ac: Add install-pdf to target list.
* configure: Regenerate.
From-SVN: r122466
2007-03-01 16:23:20 -08:00
Brooks Moses
c279aa90a7
Make-lang.in: Add install-pdf target as copied from automake v1.10 rules.
...
* Make-lang.in: Add install-pdf target as copied from
automake v1.10 rules.
From-SVN: r122465
2007-03-01 16:20:39 -08:00
Brooks Moses
b782689322
Make-lang.in: Add install-pdf target as copied from automake v1.10 rules.
...
* Make-lang.in: Add install-pdf target as copied from
automake v1.10 rules.
From-SVN: r122464
2007-03-01 16:19:35 -08:00
Brooks Moses
ba3e26e86c
Make-lang.in: Add install-pdf target as copied from automake v1.10 rules.
...
* Make-lang.in: Add install-pdf target as copied from
automake v1.10 rules.
From-SVN: r122463
2007-03-01 16:18:47 -08:00
Brooks Moses
e1eefa15ef
Make-lang.in: Add install-pdf target as copied from automake v1.10 rules.
...
* Make-lang.in: Add install-pdf target as copied from
automake v1.10 rules.
From-SVN: r122461
2007-03-01 16:17:38 -08:00
GCC Administrator
cb29729809
Daily bump.
...
From-SVN: r122460
2007-03-02 00:17:31 +00:00
Brooks Moses
7fe3e184e4
* Make-lang.in: Add dummy lang.install-pdf target.
...
From-SVN: r122457
2007-03-01 16:16:37 -08:00
Brooks Moses
5fbc626626
* Make-lang.in: Add dummy lang.install-pdf target.
...
From-SVN: r122456
2007-03-01 16:16:06 -08:00
Brooks Moses
95506ebf3c
* Make-lang.in: Add dummy lang.install-pdf target.
...
From-SVN: r122455
2007-03-01 16:15:32 -08:00
Brooks Moses
1c94084af2
Makefile.am: Add dummy install-pdf target.
...
* Makefile.am: Add dummy install-pdf target.
* Makefile.in: Regenerate
* include/Makefile.in: Regenerate
* testsuite/Makefile.in: Regenerate
* gcj/Makefile.in: Regenerate
From-SVN: r122454
2007-03-01 16:14:33 -08:00
Brooks Moses
00189cc66f
* Makefile.in: Add dummy install-pdf target.
...
From-SVN: r122453
2007-03-01 16:05:13 -08:00
Brooks Moses
ac84c17282
Makefile.in: Add install-html and install-pdf dummy targets.
...
* Makefile.in: Add install-html and install-pdf dummy
targets.
From-SVN: r122452
2007-03-01 16:04:17 -08:00
Brooks Moses
c4dc950de7
Makefile.am: Add install-pdf target as copied from automake v1.10 rules.
...
* Makefile.am: Add install-pdf target as copied from
automake v1.10 rules.
* Makefile.in: Regenerate
From-SVN: r122451
2007-03-01 16:03:11 -08:00
Brooks Moses
49c683a52c
* Makefile.in: Add dummy install-pdf target.
...
From-SVN: r122450
2007-03-01 16:01:53 -08:00
Brooks Moses
c0781449fe
Makefile.am: Add dummy install-pdf target.
...
* Makefile.am: Add dummy install-pdf target.
* Makefile.in: Regenerate
From-SVN: r122449
2007-03-01 16:00:52 -08:00
Brooks Moses
dd8e0a66b6
Makefile.am: Add dummy install-pdf target.
...
* Makefile.am: Add dummy install-pdf target.
* Makefile.in: Regenerate
From-SVN: r122448
2007-03-01 15:59:35 -08:00
Brooks Moses
385931236c
* Makefile.in: Add dummy install-pdf target.
...
From-SVN: r122447
2007-03-01 15:58:28 -08:00
Brooks Moses
e6e3b4b35e
Makefile.am: Add dummy install-pdf target.
...
* Makefile.am: Add dummy install-pdf target.
* Makefile.in: Regenerate
From-SVN: r122446
2007-03-01 15:57:32 -08:00
Brooks Moses
4fcb360b62
* Makefile.in: Add dummy install-pdf target.
...
From-SVN: r122445
2007-03-01 15:56:24 -08:00
Brooks Moses
32f1ac6d59
* Makefile.in: Add dummy install-pdf target.
...
From-SVN: r122444
2007-03-01 15:55:34 -08:00
Brooks Moses
b31f84844a
* Makefile.in: Add dummy install-pdf target.
...
From-SVN: r122443
2007-03-01 15:54:44 -08:00
Brooks Moses
86c43ef0c9
Makefile.am: Add dummy install-pdf target.
...
* Makefile.am: Add dummy install-pdf target.
* Makefile.in: Regenerate
From-SVN: r122442
2007-03-01 15:53:35 -08:00
Brooks Moses
4426724a02
Makefile.am: Add dummy install-pdf target.
...
* Makefile.am: Add dummy install-pdf target.
* Makefile.in: Regenerate
From-SVN: r122441
2007-03-01 15:52:38 -08:00
Brooks Moses
b5f8d49b84
Makefile.am: Add dummy install-pdf target.
...
* Makefile.am: Add dummy install-pdf target.
* Makefile.in: Regenerate
From-SVN: r122440
2007-03-01 15:51:37 -08:00
Brooks Moses
877f144b6b
Makefile.am: Add dummy install-pdf target.
...
* Makefile.am: Add dummy install-pdf target.
* Makefile.in: Regenerate
From-SVN: r122439
2007-03-01 15:50:30 -08:00
Brooks Moses
267686a745
Makefile.in: Add install-pdf target as copied from automake v1.10 rules.
...
* Makefile.in: Add install-pdf target as copied from
automake v1.10 rules.
* testsuite/Makefile.in: Add dummy install-pdf target.
From-SVN: r122438
2007-03-01 15:47:02 -08:00
Paul Brook
fe2d934b4b
arm.c (arm_legitimate_index_p): Limit iWMMXt addressing modes to LDRD for DImode.
...
2007-03-01 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_legitimate_index_p): Limit iWMMXt addressing
modes to LDRD for DImode.
(output_move_double): Fixup out of range ldrd/strd.
(vfp_secondary_reload_class): Rename...
(coproc_secondary_reload_class): ... to this. Add wb argument.
* config/arm/arm.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use
coproc_secondary_reload_class for CLASS_IWMMXT.
(SECONDARY_INPUT_RELOAD_CLASS): Ditto.
* arm-protos.h (coproc_secondary_reload_class): Update prototype.
From-SVN: r122437
2007-03-01 22:58:40 +00:00
Zdenek Dvorak
2711355fbc
tree-ssa-loop-prefetch.c (determine_unroll_factor): Bound the unroll factor by the estimated number of iterations.
...
* tree-ssa-loop-prefetch.c (determine_unroll_factor): Bound the unroll
factor by the estimated number of iterations.
(loop_prefetch_arrays): Do not prefetch in loops that iterate less than
prefetch latency.
* gcc.dg/tree-ssa/prefetch-4.c: New test.
From-SVN: r122435
2007-03-01 22:14:23 +00:00
Simon Baldwin
41dc91a890
re PR c++/23689 (Malformed typedef silently ignored)
...
cp/:
PR c++/23689
* decl.c (check_tag_decl): Added new warning for typedef ignored
when it precedes an otherwise valid non-typedef declaration.
testsuite/:
PR c++/23689
* warn/ignored_typedef.C: New.
* init/ctor8.C: Added dg-warning to consume ignored typedef
warning.
* template/typedef2.C: Ditto. Moved dg-error onto its own line
and added an explicit line number.
From-SVN: r122434
2007-03-01 19:13:02 +00:00
Richard Henderson
ceca734e8f
expr.c (emit_move_complex_push): Export.
...
* expr.c (emit_move_complex_push): Export.
(emit_move_complex_parts): Split out from ...
(emit_move_complex): ... here.
* expr.h (emit_move_complex_push, emit_move_complex_parts): Declare.
* config/i386/i386.md (movcdi): New.
From-SVN: r122432
2007-03-01 08:30:38 -08:00
Peter Breitenlohner
5f81370d9f
re PR other/16513 (Libiberty doesn't honor the multi-os-directory settings)
...
PR other/16513
* Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
Install headers in multilib independent location.
Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
From-SVN: r122430
2007-03-01 15:30:27 +00:00
Uros Bizjak
93de7743ba
i386.c (ix86_modes_tieable_p): Fix typo, use also size of mode1 to check for tieable modes in MMX case.
...
* config/i386/i386.c (ix86_modes_tieable_p): Fix typo, use also
size of mode1 to check for tieable modes in MMX case.
From-SVN: r122429
2007-03-01 11:54:52 +01:00
Richard Sandiford
7ffb5e7879
Makefile.in (rtlanal.o): Depend on tree.h.
...
gcc/
* Makefile.in (rtlanal.o): Depend on tree.h.
* rtl.h (offset_within_section_p, split_const): Declare.
* rtlanal.c: Include tree.h.
(offset_within_block_p): New function, taken from
mips_offset_within_object_p.
(split_const): New function, taken from mips_split_const.
* config/m68k/m68k-protos.h (m68k_illegitimate_symbolic_constant_p):
Declare.
* config/m68k/m68k.h (M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): Define.
(CONSTANT_ADDRESS_P): Only accept legitimate constants.
(LEGITIMATE_CONSTANT_P): Check m68k_illegitimate_symbolic_constant_p.
* config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Define.
(m68k_illegitimate_symbolic_constant_p): New function.
* config/m68k/m68k.md (movsi): Remove misleading predicates.
If M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P and the source is a
symbolic constant that might be outside the symbol's section,
move the symbol first and then add the offset.
* config/m68k/uclinux.h (M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P):
Override.
* config/mips/mips.c (mips_split_const): Delete.
(mips_offset_within_object_p): Delete.
(mips_symbolic_constant_p): Use offset_within_section_p and
split_const instead of mips_offset_within_object_p and
mips_split_const.
(mips_cannot_force_const_mem, mips_const_insns, mips_unspec_address)
(mips_legitimize_const_move, print_operand_reloc)
(mips_dangerous_for_la25_p): Use split_const instead of
mips_split_const.
From-SVN: r122428
2007-03-01 09:58:12 +00:00
Paolo Carlini
96e7e5ad47
re PR libstdc++/31005 (build failure on powerpc-darwin while building codecvt.cc)
...
2007-03-01 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31005
* include/bits/localefwd.h: Include <cctype>.
From-SVN: r122424
2007-03-01 09:03:30 +00:00
Tobias Burnus
9c3e90e346
re PR fortran/30865 ([4.1, 4.2 only] optional argument passed on to size(...,dim=))
...
2007-03-01 Tobias Burnus <burnus@net-b.de>
PR fortran/30865
* trans-intrinsic.c (gfc_conv_intrinsic_size): Compare pointers.
From-SVN: r122423
2007-03-01 09:19:09 +01:00
GCC Administrator
aedcd69592
Daily bump.
...
From-SVN: r122419
2007-03-01 00:17:17 +00:00