Steven Bosscher
80fcc7bcae
function.c (update_epilogue_consts): Don't use PARAMS.
...
* function.c (update_epilogue_consts): Don't use PARAMS.
* rtl.h (web_main): Ditto.
* target.h (is_costly_dependence): Ditto
From-SVN: r74099
2003-12-01 13:07:14 +00:00
Arnaud Charlet
c613599451
* 5wsystem.ads: Disable zero cost exception, not ready yet.
...
From-SVN: r74098
2003-12-01 10:39:57 +01:00
Andreas Tobler
d18c338615
re PR libffi/13221 (libffi's closure couldn't pass sequence of char and/or short arguments.)
...
2003-12-01 Andreas Tobler <a.tobler@schweiz.ch>
PR other/13221
* testsuite/libffi.call/cls_multi_sshort.c: New test case.
* testsuite/libffi.call/cls_multi_sshortchar.c: Likewise.
* testsuite/libffi.call/cls_multi_uchar.c: Likewise.
* testsuite/libffi.call/cls_multi_schar.c: Likewise.
* testsuite/libffi.call/cls_multi_ushortchar.c: Likewise.
* testsuite/libffi.call/cls_multi_ushort.c: Likewise.
* testsuite/libffi.special/unwindtest.cc: Cosmetics.
From-SVN: r74093
2003-12-01 08:23:28 +01:00
Eric Botcazou
e82407b5bb
re PR middle-end/7847 (pragma pack / attribute(packed): unaligned access to packed structure)
...
PR middle-end/7847
* expr.c (expand_expr) [normal_inner_ref]: When 'offset' is non-zero,
do not recheck that 'op0' is a MEM. Move comment. When testing for
unaligned objects, take also into account the alignment of 'op0' and
'mode1' if 'op0' is a MEM.
From-SVN: r74092
2003-12-01 07:15:31 +00:00
Mark Mitchell
a668c6adec
re PR c++/9849 (Missing keyword 'template' produces ICE with no diagnostic on 3.3 (and unreadable diagnostic on 3.4))
...
PR c++/9849
* g++.dg/template/error4.C: New test.
* g++.dg/template/nested3.C: Adjust error markers.
PR c++/9849
* parser.c (cp_lexer_prev_token): New function.
(cp_parser_skip_to_closing_parenthesis): Add consume_paren
parameter.
(cp_parser_nested_name_specifier_opt): Add is_declaration
parameter.
(cp_parser_nested_name_specifier): Likewise.
(cp_parser_class_or_namespace_name): Likewise.
(cp_parser_class_name): Likewise.
(cp_parser_template_id): Likewise.
(cp_parser_template_name): Likewise.
(cp_parser_id_expression): Adjust calls to
cp_parser_nested_name_specifier_op, cp_parser_template_id,
cp_parser_class_name.
(cp_parser_unqualified_id): Likewise.
(cp_parser_postfix_expression): Likewise.
(cp_parser_pseudo_destructor_name): Likewise.
(cp_parser_cast_expression): Likewise.
(cp_parser_mem_initializer_id): Likewise.
(cp_parser_simple_type_specifier): Likewise.
(cp_parser_type_name): Likewise.
(cp_parser_elaborated_type_specifier): Likewise.
(cp_parser_qualified_namespace_specifier): Likewise.
(cp_parser_using_declaration): Likewise.
(cp_parser_using_directive): Likewise.
(cp_parser_ptr_operator): Likewise.
(cp_parser_declarator_id): Likewise.
(cp_parser_class_head): Likewise.
(cp_parser_base_specifier): Likewise.
(cp_parser_constructor_declarator_p): Likewise.
(cp_parser_direct_declarator): Fix typo in comment.
(cp_parser_parenthesized_expression_list): Adjust call to
cp_parser_skip_to_closing_parenthesis.
(cp_parser_selection_statement): Likewise.
From-SVN: r74087
2003-12-01 05:58:23 +00:00
Gabriel Dos Reis
8786882bd0
* doc/c-tree.texi (Function Bodies): Update HANDLER documentation.
...
From-SVN: r74084
2003-12-01 03:22:35 +00:00
Kelley Cook
53d60c042d
Makefile.am: Define AM_MAKINFOFLAGS.
...
fastjar/
2003-12-01 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am: Define AM_MAKINFOFLAGS. Remove Automake 1.4 hack.
* Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools.
* aclocal.m4, config.h.in, configure: Likewise.
* install-sh, missing, mkinstalldirs, stamp-h.in: Remove.
gcc/
2003-12-01 Kelley Cook <kcook@gcc.gnu.org>
* doc/install.texi: Note that fastjar is built with automake 1.7.x
and autoconf 2.57.
From-SVN: r74082
2003-12-01 02:58:36 +00:00
GCC Administrator
ae954fc6cc
Daily bump.
...
From-SVN: r74080
2003-12-01 00:16:07 +00:00
Alan Modra
c3a77bf9c6
linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test target_flags directly rather than using TARGET_* defines.
...
* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test
target_flags directly rather than using TARGET_* defines.
From-SVN: r74078
2003-12-01 10:13:05 +10:30
Kaveh R. Ghazi
0e73769eec
* gcc.dg/cpp/assert4.c: Check more #system assertions.
...
From-SVN: r74076
2003-11-30 22:32:38 +00:00
Michael Koch
d7f16c2b3b
2003-11-30 Jeff Sturm <jsturm@one-point.com>
...
* java/net/InetAddress.java:
(static): Don'f force DNS request for ANY_IF address.
2003-11-30 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java,
java/net/natInetAddressNoNet.cc,
java/net/natInetAddressPosix.cc,
java/net/natInetAddressWin32.cc:
Reverted my last patch.
From-SVN: r74074
2003-11-30 21:02:56 +00:00
Ben Elliston
b97366d9b3
* doschk.c: Remove.
...
From-SVN: r74072
2003-12-01 07:25:46 +11:00
Richard Sandiford
936b13179f
re PR c++/12727 (mipsisa64-elf -mips32 regression: g++.dg/eh/registers1.C)
...
PR target/12727
* config/mips/mips.c (mips_save_reg): Fix frame information for sdc1
on 32-bit big-endian targets.
From-SVN: r74071
2003-11-30 19:30:14 +00:00
Kazu Hirata
85a45cbb94
* genemit.c (register_constraints): Remove.
...
From-SVN: r74070
2003-11-30 19:12:12 +00:00
Paolo Carlini
1644f06da7
codecvt_members.cc (codecvt::do_in, [...]): More minor tweaks.
...
2003-11-30 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/codecvt_members.cc (codecvt::do_in,
codecvt::do_length): More minor tweaks.
From-SVN: r74069
2003-11-30 19:10:50 +00:00
Andreas Krebbel
f19a9af7e1
s390.md ("tmdi_reg", [...]): Insns now use multiple letter constraints.
...
2003-11-30 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md ("tmdi_reg", "tmsi_reg", "*movdi_64", "*movdi_31",
"iordi3"): Insns now use multiple letter constraints.
("*movdi_lhi", "*movdi_lli", "*movdi_lay"): Insns deleted. They are now
covered by "*movdi_64".
("*movsi_lhi", "*movsi_lli", "*movsi_lay"): Insns deleted. They are now
covered by "*movsi_zarch" and "*movsi_esa".
("*movsi_zarch", "*movsi_!zarch"): New insns.
("*llgt_sisi_split", "*llgt_didi_split"): Insns deleted. Now covered
by "*andsi3_zarch" and "anddi3".
("*anddi3_ni"): Insn merged with "anddi3".
("*andsi3_ni"): Insn merged with "*andsi3_zarch".
("*andsi3_zarch", "*andsi3_esa"): New insns.
("*iordi3_oi"): Insn merged with "iordi3".
("*iorsi3_oi"): Insn merged with "*iorsi3_zarch".
("*iorsi3_zarch", "*iorsi3_esa"): New insns.
* config/s390/s390.c (s390_single_qi, s390_single_hi): Functions
merged to s390_single_part.
(s390_single_part): New function.
NOTE: Semantics have changed a bit. Now the value of the part must
be different from the others to get a non-negative return value.
(s390_extract_qi, s390_extract_hi): Functions merged to
s390_extract_part.
(s390_extract_part, s390_extra_constraint_str,
s390_const_ok_for_constraint_p): New functions. The L constraint got a
new meaning and the N constraint was added as a multiple letter
constraint.
(s390_extra_constraint): Function deleted.
(print_operand): New output modifier 'i' and 'j' added.
All uses of CONST_OK_FOR_LETTER_P were replaced by
CONST_OK_FOR_CONSTRAINT_P.
* config/s390/s390-protos.h: Function prototypes adapted.
* doc/md.texi: Documentation for new constraint letters added.
From-SVN: r74061
2003-11-30 15:51:36 +00:00
Paolo Carlini
11816ba280
codecvt_members.cc (codecvt::do_in): Minor stylistic tweak.
...
2003-11-30 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/codecvt_members.cc (codecvt::do_in):
Minor stylistic tweak.
From-SVN: r74060
2003-11-30 15:18:27 +00:00
Andreas Schwab
6a09dded44
* Makefile.in ($(DESTDIR)$(infodir)/%.info): Fix missing semicolon.
...
From-SVN: r74059
2003-11-30 14:56:26 +00:00
Paolo Carlini
6c39c2075a
locale_facets.tcc (num_put::do_put(..., bool)): Minor tweaks, consistent with the style used in other facets.
...
2003-11-30 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_put::do_put(..., bool)):
Minor tweaks, consistent with the style used in other facets.
From-SVN: r74056
2003-11-30 11:33:23 +00:00
Andreas Jaeger
c6d43186e5
* Make-lang.in (f77.rebuilt): Fix dependency on g77.info.
...
From-SVN: r74055
2003-11-30 12:29:56 +01:00
James E Wilson
348d71c7cf
Fix ia64 libunwind gnatmake link error.
...
* gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name
instead of in shared_name.
From-SVN: r74054
2003-11-30 00:23:23 -08:00
James E Wilson
5583e33da8
Make NON_SAVING_SETJMP usable again.
...
* final.c (final_start_function): Delete code for NON_SAVING_SETJMP.
* reload1.c (reload): Re-add it here.
From-SVN: r74052
2003-11-29 22:32:57 -08:00
Alan Modra
1ff8f81ab3
rs6000.c (rs6000_elf_section_type_flags): Don't set SECTION_WRITE on TARGET_RELOCATABLE.
...
* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't
set SECTION_WRITE on TARGET_RELOCATABLE.
From-SVN: r74051
2003-11-30 15:26:07 +10:30
Kazu Hirata
a1dce8d1ea
* config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG.
...
From-SVN: r74050
2003-11-30 04:31:04 +00:00
Gunther Nikl
f082d7a951
m68k.c (MOTOROLA): Move from here...
...
* config/m68k/m68k.c (MOTOROLA): Move from here...
* config/m68k/m68k.h (MOTOROLA): ... to here.
(OUTPUT_JUMP): Use do {...} while (0).
* config/m68k/m68k.md: Replace #ifdef MOTOROLA with C statements.
From-SVN: r74049
2003-11-30 05:28:34 +01:00
Gunther Nikl
c16202e159
config.gcc (m68020-*-elf*, [...]): Add tm_defines containing MOTOROLA and USE_GAS.
...
* config.gcc (m68020-*-elf*, m68k-*-elf*, m68010-*-netbsdelf*,
m68k*-*-netbsdelf*, m68k-*-rtems*): Add tm_defines containing
MOTOROLA and USE_GAS.
* config/m68k/rtemself.h (MOTOROLA): Delete.
* config/m68k/netbsd-elf.h (MOTOROLA, USE_GAS): Delete.
* config/m68k/m68kelf.h (MOTOROLA, USE_GAS, SGS_CMP_ORDER): Delete.
From-SVN: r74048
2003-11-30 05:20:28 +01:00
Kazu Hirata
3f69c502d0
* config/h8300/h8300.h (WORDS_BIG_ENDIAN): Update the comment.
...
From-SVN: r74047
2003-11-30 02:25:25 +00:00
Kelley Cook
ee312cd002
Makefile.in (install-info): Install gccinstall.info too.
...
2003-11-29 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (install-info): Install gccinstall.info too.
From-SVN: r74046
2003-11-30 01:07:51 +00:00
GCC Administrator
f2df47385c
Daily bump.
...
From-SVN: r74043
2003-11-30 00:16:06 +00:00
Ulrich Weigand
fd87a35778
* config/s390/s390.md ("cmpint_di"): Fix incorrect instruction lengths.
...
From-SVN: r74040
2003-11-30 00:02:32 +00:00
Ulrich Weigand
51a30506f1
Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb to force serialization.
...
* Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
to force serialization.
From-SVN: r74039
2003-11-29 23:57:40 +00:00
Paolo Carlini
4da2b96035
fstream.tcc (underflow): Minor tweaks in preparation for libstdc++/13217.
...
2003-11-29 Paolo Carlini <pcarlini@suse.de>
* include/bits/fstream.tcc (underflow): Minor tweaks in
preparation for libstdc++/13217.
From-SVN: r74038
2003-11-29 22:49:46 +00:00
Ulrich Weigand
d71a8c3b20
s390.md ("movhi"): Do not emit extender pattern when loading from a (MEM (ADDRESSOF ...)).
...
* config/s390/s390.md ("movhi"): Do not emit extender pattern
when loading from a (MEM (ADDRESSOF ...)).
("movqi"): Likewise.
From-SVN: r74037
2003-11-29 22:31:27 +00:00
Joseph Myers
65f0edec4b
re PR c/10333 (typeof (bitfield) is accepted but doesn't work)
...
PR c/10333
* c-parse.in (typespec_reserved_nonattr): Reject typeof on
bit-fields.
testsuite:
* gcc.dg/bitfld-7.c: New test.
From-SVN: r74036
2003-11-29 20:09:48 +00:00
Richard Sandiford
9c85868198
stmt.c (expand_asm_operands): Check whether force_const_mem succeeded.
...
* stmt.c (expand_asm_operands): Check whether force_const_mem
succeeded.
testsuite/
* gcc.dg/tls/asm-1.C: New test.
From-SVN: r74035
2003-11-29 18:54:43 +00:00
Paolo Carlini
2d25605a54
13171-2.cc: Tweak for a few small problems (fix timings, use VERIFY..)
...
2003-11-29 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc:
Tweak for a few small problems (fix timings, use VERIFY..)
From-SVN: r74034
2003-11-29 17:42:16 +00:00
Kaveh R. Ghazi
26b0ad130a
gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New.
...
* config/gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New.
* config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): New.
* config/alpha/gnu.h, config/alpha/linux.h,
config/arm/linux-elf.h, config/cris/cris.h, config/cris/linux.h,
config/i370/linux.h, config/i386/gnu.h, config/i386/i386.h,
config/i386/linux-aout.h, config/i386/linux.h,
config/i386/linux64.h, config/ia64/linux.h, config/m68k/linux.h,
config/m68k/uclinux.h, config/mips/linux.h,
config/mn10300/linux.h, config/pa/pa-linux.h,
config/rs6000/sysv4.h, config/s390/linux.h, config/sh/linux.h,
config/sparc/linux.h, config/sparc/linux64.h,
config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Use
HURD_TARGET_OS_CPP_BUILTINS/LINUX_TARGET_OS_CPP_BUILTINS or ensure
all necessary assertions are included.
testsuite:
* testsuite/gcc.dg/cpp/assert4.c: Update.
From-SVN: r74031
2003-11-29 03:08:13 +00:00
Jan Hubicka
2c07f13b2b
emit-rtl.c (set_used_flags): New.
...
* emit-rtl.c (set_used_flags): New.
(verify_rtx_sharing, verify_rtl_sharing): New.
(unshare_all_rtl_1): Rename to....
(unshare_all_rtl_in_chain): ... this one; make static.
(copy_rtx_if_shared): LABEL_REF chan be shared.
* ifcvt.c (unshare_ifcvt_sequence): New.
(noce_try_move, noce_try_store_flag, noce_try_store_flag_constants,
noce_try_addcc, noce_try_addcc, noce_try_store_flag_mask,
noce_try_cmove, noce_try_store_flag_mask, noce_try_minmax,
noce_try_abs, noce_process_if_block, find_cond_trap
* rtl.h (verify_rtl_sharing, set_used_flags, unshare_all_rtl_in_chain):
Declare.
From-SVN: r74030
2003-11-29 01:13:43 +00:00
GCC Administrator
58c5975b25
Daily bump.
...
From-SVN: r74028
2003-11-29 00:16:09 +00:00
Michael Koch
c3f322d803
2003-11-28 Michael Koch <konqueror@gmx.de>
...
* java/net/InetAddress.java
(lookup): New method that doesnt lookup "0.0.0.0".
(ImplLookup): Renamed from lookup.
* java/net/natInetAddressNoNet.cc
(ImplLookup): Renamed from lookup.
* java/net/natInetAddressPosix.cc
(ImplLookup): Renamed from lookup.
* java/net/natInetAddressWin32.cc
(ImplLookup): Renamed from lookup.
From-SVN: r74026
2003-11-28 22:01:29 +00:00
Bryce McKinlay
bb6ed2ac99
configure: Rebuilt.
...
2003-11-28 Bryce McKinlay <bryce@mckinlay.net.nz>
* configure: Rebuilt.
* configure.in: Require gtk and glib 2.2.0.
From-SVN: r74023
2003-11-28 19:48:10 +00:00
Eric Botcazou
48ee6fa02c
builtin-apply2.c: Set size of stack argument data to 64.
...
* gcc.dg/builtin-apply2.c: Set size of stack argument data to 64.
* gcc.dg/builtin-apply3.c: New test.
From-SVN: r74022
2003-11-28 16:35:52 +00:00
Ben Elliston
21f1c57746
Correct the description of these files in the comment header.
...
From-SVN: r74018
2003-11-28 22:23:36 +11:00
Paolo Carlini
05a47a473d
13171-3.cc: Remove.
...
2003-11-28 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: Remove.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: New,
the original third testcase for libstdc++/13171 belong here.
From-SVN: r74017
2003-11-28 10:24:27 +00:00
Paolo Carlini
ac912ba1db
13171-3.cc: Remove extraneous wchar_t lines.
...
2003-11-28 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc:
Remove extraneous wchar_t lines.
From-SVN: r74016
2003-11-28 08:02:51 +00:00
Kazu Hirata
8207738db2
* config/h8300/h8300.md: Fix a comment typo.
...
From-SVN: r74015
2003-11-28 05:39:20 +00:00
Kazu Hirata
de081ebf6a
h8300.md (*movsf_h8300h): Change to *movsf_h8300hs.
...
* config/h8300/h8300.md (*movsf_h8300h): Change to
*movsf_h8300hs.
(addsi_h8300): Change to *addsi_h8300.
(addsi_h8300h): Change to *addsi_h8300hs.
(subsi3_h8300): Change to *subsi3_h8300.
(subsi3_h8300h): Change to *subsi3_h8300hs.
(neghi2_h8300h): Change to *neghi2_h8300hs.
(negsi2_h8300h): Change to *negsi2_h8300hs.
From-SVN: r74014
2003-11-28 05:27:10 +00:00
Kazu Hirata
be52ec1df2
h8300.md (*subhi3_h8300): Remove '&' from the constraint.
...
* config/h8300/h8300.md (*subhi3_h8300): Remove '&' from the
constraint.
(*subhi3_h8300hs): Likewise.
From-SVN: r74013
2003-11-28 05:16:52 +00:00
David Edelsohn
ffa2298476
rs6000.h (MASK_MFCRF): New.
...
* config/rs6000/rs6000.h (MASK_MFCRF): New.
(TARGET_MFCRF): Test target_flags, not processor type.
(TARGET_SWITCHES): Add mfcrf and no-mfcrf.
Change Don't to Do not.
* config/rs6000/rs6000.c (processors_target_table): Add MASK_MFCRF
to power4, 970, G5.
From-SVN: r74012
2003-11-28 00:07:06 -05:00
GCC Administrator
e427e6944b
Daily bump.
...
From-SVN: r74009
2003-11-28 00:16:08 +00:00