Nathanael Nerode
b01bc573ac
config.gcc: Use ${target}, not $machine.
...
* config.gcc: Use ${target}, not $machine.
* configure.in: Don't set $machine.
* configure: Regenerate.
From-SVN: r71700
2003-09-23 21:51:44 +00:00
Nathanael Nerode
da64f72ecd
Float.java, [...]: Add GCJ LOCAL markers.
...
* java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
markers.
From-SVN: r71699
2003-09-23 21:42:40 +00:00
Geoffrey Keating
fff2cb99c9
rs6000.c (function_arg_pass_by_reference): Don't pass zero-size arrays by reference.
...
2003-09-23 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c (function_arg_pass_by_reference): Don't
pass zero-size arrays by reference.
(rs6000_va_arg): Likewise.
2003-09-23 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-abi-1.c: New file.
From-SVN: r71698
2003-09-23 21:37:32 +00:00
Nathanael Nerode
e5f1132858
config.gcc: Set use_fixproto=no in each specific *-gnu* configuration...
...
* config.gcc: Set use_fixproto=no in each specific *-gnu*
configuration, rather than the generic one.
From-SVN: r71695
2003-09-23 20:16:59 +00:00
Benjamin Kosnik
11f10e6b1f
locale_facets.tcc: Tweak to avoid warnings.
...
2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Tweak to avoid warnings.
* testsuite/testsuite_hooks.h: Same.
* testsuite/*/*.cc: Same.
From-SVN: r71693
2003-09-23 20:03:30 +00:00
Richard Henderson
1593ad2edd
tree-inline.c (remap_save_expr): Map new save_expr to identity rather than to error_mark_node.
...
* tree-inline.c (remap_save_expr): Map new save_expr to identity
rather than to error_mark_node.
From-SVN: r71692
2003-09-23 13:02:48 -07:00
Rainer Orth
5d4856a011
configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
...
* configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
Update description.
* configure: Regenerate.
* config.in: Likewise.
* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test for
HAVE_GAS_SHF_MERGE value.
* varasm.c (mergeable_string_section): Likewise.
(mergeable_constant_section): Likewise.
From-SVN: r71691
2003-09-23 19:47:00 +00:00
Rainer Orth
5748beec64
except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO value.
...
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO
value.
From-SVN: r71690
2003-09-23 19:29:56 +00:00
Rainer Orth
6773a41c43
target.h (struct gcc_target): New member external_libcall.
...
* target.h (struct gcc_target): New member external_libcall.
* target-def.h (TARGET_ASM_EXTERNAL_LIBCALL): Provide default.
(TARGET_ASM_OUT): Use it.
* doc/tm.texi (TARGET_ASM_EXTERNAL_LIBCALL): Document.
* targhooks.c: Convert to ISO C 90.
(default_external_libcall): New function.
* targhooks.h (default_external_libcall): Declare.
* varasm.c (assemble_external_libcall): Use
targetm.asm_out.external_libcall instead of
ASM_OUTPUT_EXTERNAL_LIBCALL.
* config/mips/mips-protos.h [TARGET_IRIX5 || TARGET_IRIX 6]
(mips_output_external_libcall): Declare.
* config/mips/mips.c (mips_output_external_libcall): Change
definition guard.
Change to match TARGET_ASM_EXTERNAL_LIBCALL.
Only operate for O32 ABI.
* config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Define
instead of ASM_OUTPUT_EXTERNAL_LIBCALL.
* config/mips/iris6.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Don't undef,
superceded by TARGET_ASM_EXTERNAL_LIBCALL.
From-SVN: r71689
2003-09-23 19:17:49 +00:00
David Edelsohn
8c8a95ffca
Correct gpr_or_gpr_p ChangeLog entry.
...
From-SVN: r71688
2003-09-23 14:56:57 -04:00
Nathanael Nerode
587dc9c65e
config.gcc: Do per-target disabling of fixproto here in clauses, not in t- fragments.
...
* config.gcc: Do per-target disabling of fixproto here in clauses,
not in t- fragments.
* configure.in: Adjust to set STMP_FIXPROTO correctly.
* configure: Regenerate.
* config/arm/t-semi, config/cris/t-cris, config/i386/t-beos,
config/i386/t-cygming, config/i386/t-nto, config/ia64/t-hpux,
t-freebsd, t-linux, t-netbsd, t-openbsd, t-rtems, t-vxworks,
xtensa/t-xtensa: Remove setting of STMP_FIXPROTO.
* config/i370/t-oe, config/i386/t-netware, config/pa/t-bsd,
t-interix, t-linux-aout: Delete files consisting only of
setting of STMP_FIXPROTO.
From-SVN: r71687
2003-09-23 18:56:00 +00:00
Nathanael Nerode
d064c269e6
config.host: Allow unknown hosts (not targets).
...
* config.host: Allow unknown hosts (not targets). Allow
ns32k-*-netbsdelf* as a host (not a target). Remove redundant
empty clauses. Remove useless obsolete-configuration clause.
Prune unsupported configuration list. Collapse identical
clauses for closely related systems. Rewrite comment for
unsupported hosts list. Reorganize a little.
From-SVN: r71686
2003-09-23 18:52:45 +00:00
Andreas Tobler
e070672afb
MAINTAINERS: Move myself from 'Write After Approval' to 'Various Maintainers' section as...
...
2003-09-23 Andreas Tobler <a.tobler@schweiz.ch>
* MAINTAINERS: Move myself from 'Write After Approval' to
'Various Maintainers' section as libffi testsuite maintainer.
From-SVN: r71685
2003-09-23 19:34:37 +02:00
Roger Sayle
87750fef00
jcf-write.c (generate_bytecode_insns): Optimize binary operations with equal operands without side-effects.
...
* jcf-write.c (generate_bytecode_insns): Optimize binary operations
with equal operands without side-effects.
From-SVN: r71684
2003-09-23 15:49:53 +00:00
Gabriel Dos Reis
ac20c67af1
cp-tree.h (scope_kind): Add new enumerator.
...
* cp-tree.h (scope_kind): Add new enumerator.
(keep_next_level): Change parameter type to bool.
(begin_scope): Change prototype.
(pushlevel): Remove declaration.
* decl.c (push_binding_level): Fold in begin_scope. Remove.
(struct cp_binding_level): Remove tag_tranparent field. Make keep
of bitsize one.
(keep_next_level_flag): Make a bool.
(cxx_scope_descriptor): Update scope names table
(make_cxx_scope): Fold in begin_scope. Remove..
(namespace_scope_ht_size): New function.
(begin_scope): Change prototype. Return a scope. Tidy.
(kept_level_p): Update.
(pushlevel): Remove.
(maybe_push_cleanup_level): Simplify.
(poplevel): Update for sk_cleanup and keep change.
(print_binding_level): Likewise.
(initial_push_namespace_scope): Fold in begin_scope. Remove.
(push_namespace): Update.
(pushtag): Likewise.
(lookup_tag): Likewise.
(lookup_name_current_level): Likewise.
(lookup_type_current_level): Likewise.
(cxx_init_decl_processing): Likewise.
(start_function): Likewise.
(begin_function_body): Likewise.
(start_method): Likewise.
* pt.c (push_inline_template_parms_recursive): Likewise.
(begin_template_parm_list): Likewise.
(begin_specialization): Likewise.
* semantics.c (do_pushlevel): Likewise.
(begin_compound_stmt): Likewise.
(begin_stmt_expr): Likewise.
From-SVN: r71683
2003-09-23 15:42:21 +00:00
Richard Henderson
3504b199c2
c-common.c (c_common_signed_or_unsigned_type): Examine mode, not precision.
...
* c-common.c (c_common_signed_or_unsigned_type): Examine mode,
not precision.
* g++.dg/opt/enum1.C: New.
From-SVN: r71677
2003-09-22 23:04:14 -07:00
Jeff Sturm
92f6e62532
decl.c (java_init_decl_processing): Don't emit otable decls if flag_indirect_dispatch is not set.
...
* decl.c (java_init_decl_processing): Don't emit otable decls
if flag_indirect_dispatch is not set.
From-SVN: r71674
2003-09-23 03:05:30 +00:00
David Edelsohn
3a1f863f50
rs6000.c (altivec_in_gprs_p): Rename to ...
...
* config/rs6000/rs6000.c (altivec_in_gprs_p): Rename to ...
(gpr_or_gpr_p): Change to bool.
(rs6000_split_altivec_in_gprs): Rename to ...
(rs6000_split_multireg_move): Add support for update addressing.
* config/rs6000/rs6000-protos.h: Same.
* config/rs6000/altivec.md: Same.
* config/rs6000/rs6000.md (movdi_internal32): Use new splitter for
multiple GPRs.
(movti): Remove TARGET_STRING || TARGET_POWERPC64 final condition.
(movti_power): Use new splitter for multiple GPRs.
(movti_string): Same.
(movti_ppc64): Same.
Co-Authored-By: Hartmut Penner <hpenner@de.ibm.com>
From-SVN: r71673
2003-09-22 22:03:55 -04:00
GCC Administrator
2f2846abe7
Daily bump.
...
From-SVN: r71671
2003-09-23 00:16:07 +00:00
Bob Wilson
ffbc879650
xtensa-protos.h: Convert to ISO C90.
...
* config/xtensa/xtensa-protos.h: Convert to ISO C90.
* config/xtensa/xtensa.c: Convert to ISO C90. Minor formatting fixes.
From-SVN: r71669
2003-09-22 23:19:45 +00:00
Alexandre Oliva
4d76fdaabc
mn10300.md: Revert 2003-09-17's patch.
...
* config/mn10300/mn10300.md: Revert 2003-09-17's patch.
(andsi3): Set attr cc to set_zn when using shifts or adds.
From-SVN: r71663
2003-09-22 20:13:40 +00:00
Petur Runolfsson
89ec0c4ba6
istream.tcc (basic_istream::read, [...]): Avoid redundant setstate(failbit) calls when sentry::operator bool() returns false.
...
2003-09-22 Petur Runolfsson <peturr02@ru.is>
* include/bits/istream.tcc (basic_istream::read,
basic_istream::readsome, basic_istream::putback,
basic_istream::unget, operator>>(basic_istream, CharT)):
Avoid redundant setstate(failbit) calls when sentry::operator bool()
returns false.
From-SVN: r71662
2003-09-22 18:29:56 +00:00
Bernardo Innocenti
0ba529cab4
* doc/contrib.texi: Add Peter Barada, Paul Dale and myself.
...
From-SVN: r71660
2003-09-22 19:43:57 +02:00
Andrew Cagney
83c073429b
floatformat.h (struct floatformat): Add field "is_valid".
...
2003-09-22 Andrew Cagney <cagney@redhat.com>
* floatformat.h (struct floatformat): Add field "is_valid".
2003-09-22 Andrew Cagney <cagney@redhat.com>
* floatformat.c (floatformat_i387_ext_is_valid): New function.
(floatformat_always_valid): New function.
(floatformat_i387_ext): Initialize new "is_valid" field to
"floatformat_i387_ext_is_valid".
(floatformat_ieee_single_little): Initialize "is_valid" field to
floatformat_always_valid.
(floatformat_ieee_double_big): Ditto.
(floatformat_ieee_double_little): Ditto.
(floatformat_ieee_double_little): Ditto.
(floatformat_ieee_double_littlebyte_bigword): Ditto.
(floatformat_i960_ext): Ditto.
(floatformat_m88110_ext): Ditto.
(floatformat_m88110_harris_ext): Ditto.
(floatformat_arm_ext_big): Ditto.
(floatformat_arm_ext_littlebyte_bigword): Ditto.
(floatformat_ia64_spill_big): Ditto.
(floatformat_ia64_spill_little): Ditto.
(floatformat_ia64_quad_big): Ditto.
(floatformat_ia64_quad_little): Ditto.
(floatformat_ia64_quad_little): Ditto.
(floatformat_is_valid): Call "is_valid".
From-SVN: r71659
2003-09-22 17:42:03 +00:00
Bernardo Innocenti
6b475ad591
m68k.h (MASK_RTD, [...]): Resurrect -mrtd option.
...
* config/m68k/m68k.h (MASK_RTD, TARGET_RTD, RETURN_POPS_ARGS):
Resurrect -mrtd option.
From-SVN: r71658
2003-09-22 19:35:06 +02:00
Anthony Green
5463a4f35d
Another newlib fix.
...
From-SVN: r71655
2003-09-22 16:04:24 +00:00
Anthony Green
0de118b6e2
Another newlib fix
...
From-SVN: r71654
2003-09-22 16:00:23 +00:00
Carlo Wood
dc25fbc79b
re PR libstdc++/12365 (include/g++/bits/demangle.h:155: warning: unused parameter 'cv_qualifier')
...
2003-09-22 Carlo Wood <carlo@alinoe.com>
PR libstdc++/12365
* include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
char const*, int, int)): Remove unused identifier
cv_qualifier for overloaded constructor.
From-SVN: r71653
2003-09-22 14:39:16 +00:00
Gerald Pfeifer
d1174343b7
gcc_release (announce_snapshot): Restructure processing of snapshot-README and snapshot-index.html and add a new...
...
* gcc_release (announce_snapshot): Restructure processing
of snapshot-README and snapshot-index.html and add a new
substitution for @EXPORT@.
From-SVN: r71652
2003-09-22 14:29:20 +00:00
Ralph Loader
88962108fc
re PR libgcj/12350 (StringBuffer.substring handles shared flag incorrected.)
...
2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
PR java/12350:
* java/lang/StringBuffer.java (substring): Fix handling of shared
flag.
2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
PR java/12350
* libjava.lang/PR12350.java: New file.
* libjava.lang/PR12350.out: New file.
From-SVN: r71651
2003-09-22 09:17:49 +01:00
Michael Koch
b5bb72ec41
jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a compiler warning but produces a different...
...
2003-09-22 Michael Koch <konqueror@gmx.de>
* jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
compiler warning but produces a different one now.
From-SVN: r71650
2003-09-22 08:05:51 +00:00
Michael Koch
7cdc862eae
InetAddress.java: Moves around some code, reformats and adds documentation.
...
2003-09-22 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
Moves around some code, reformats and adds documentation.
No functional changes.
From-SVN: r71649
2003-09-22 07:56:44 +00:00
Andrew Pinski
af0f185b1b
re PR target/12281 (not emiting function which is static and marked as inline)
...
2003-09-21 Andrew Pinski <pinskia@physics.uc.edu>
PR target/12281
* config/darwin.c (machopic_validate_stub_or_non_lazy_ptr): Call
mark_referenced instead of setting TREE_SYMBOL_REFERENCED.
2003-09-21 Andrew Pinski <pinskia@physics.uc.edu>
PR target/12281
* gcc.c-torture/compile/20030921-1.c: New test.
From-SVN: r71648
2003-09-22 00:18:09 -07:00
Eric Botcazou
de582cfbb9
re PR target/9786 (Ice in fixup_abnormal_edges with -fnon-call-exceptions -O2)
...
PR target/9786
* reg-stack.c (convert_regs_1): Purge possible dead eh edges
after potential deletion of trapping insn. Avoids later ICE
from call to fixup_abnormal_edges.
(convert_regs_2): Stack the current block successors before
processing this block, that is, before the potential deletion of
dead edges by convert_regs_1, because these edges have been used
to initialize the predecessors count.
From-SVN: r71644
2003-09-22 06:59:51 +00:00
Michael Koch
316b38c83c
2003-09-22 Michael Koch <konqueror@gmx.de>
...
* java/net/JarURLConnection.java
(JarURLConnection): Modifed code to match classpath more, fixed comment.
(getCertificates): Made it more error prone.
(getMainAttributes): Likewise.
(getAttributes): Implemented.
(getManifest): Reformatted code.
From-SVN: r71643
2003-09-22 05:48:32 +00:00
Eric Botcazou
9554f88654
* real.c: Fix several nits in the head comment.
...
From-SVN: r71642
2003-09-22 05:46:51 +00:00
Richard Henderson
f31686a322
Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.
...
From-SVN: r71641
2003-09-21 22:09:32 -07:00
GCC Administrator
0f7fcd6a40
Daily bump.
...
From-SVN: r71638
2003-09-22 00:16:08 +00:00
Richard Henderson
7e2af53a14
tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
...
* tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
(TREE_FILENAME, TREE_LINENO): Likewise.
(set_tree_locus, copy_tree_locus, set_tree_file_line): New.
(TREE_LOCUS_SET_P): New.
* c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c,
diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c,
print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c,
tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c,
config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Update to match.
ada/
* trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
change to const.
cp/
* class.c, cp-tree.h, decl.c, decl2.c, error.c, init.c,
method.c, optimize.c, pt.c, semantics.c, tree.c: Update for
DECL_SOURCE_LOCATION rename and change to const.
f/
* com.c, ste.c: Update for DECL_SOURCE_LOCATION rename and
change to const.
java/
* class.c, decl.c, jcf-parse.c, jcf-write.c, parse.y,
resource.c: Update for DECL_SOURCE_LOCATION rename and change to const.
treelang/
* treetree.c: Update for DECL_SOURCE_LOCATION rename and
change to const.
From-SVN: r71636
2003-09-21 16:39:40 -07:00
Nathanael Nerode
d6a1d39a7d
* config/vax/vax-protos.h: Convert to ISO C90.
...
From-SVN: r71632
2003-09-21 20:03:06 +00:00
Nathanael Nerode
0d92b0e40c
* config/vax/vax.c: Convert to ISO C90.
...
From-SVN: r71631
2003-09-21 19:51:24 +00:00
Daniel Jacobowitz
43bb47c236
configure.in: Pass a computed --program-transform-name to subconfigures.
...
* configure.in: Pass a computed --program-transform-name
to subconfigures.
* configure: Regenerated.
From-SVN: r71630
2003-09-21 19:32:22 +00:00
Toon Moene
df351d76cb
news.texi: Update with fixed PR's.
...
2003-09-21 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Update with fixed PR's.
From-SVN: r71629
2003-09-21 16:19:01 +00:00
Toon Moene
e94915267b
re PR libf2c/11918 (isatty does not call f_init)
...
2003-09-21 Toon Moene <toon@moene.indiv.nluug.nl>
PR libf2c/11918
* fstat_.c: Call f_init().
* isatty_.c: Ditto.
* fnum_.c: Check file descriptor before handing it back.
From-SVN: r71628
2003-09-21 16:16:46 +00:00
Graham Stott
fa543fdda1
re PR target/12353 (ICE in copyprop_hardreg_forward_1)
...
PR target/12353
* config/i386/i386.md(ffs_no_cmove): Fix operand 2 constraint.
From-SVN: r71627
2003-09-21 15:27:00 +00:00
George Helffrich
b3e3732ce1
g77.texi: Remove ancient part about debugging COMMON and EQUIVALENCE not correctly.
...
2003-09-21 George Helffrich <bugzilla@w170.uklinux.net>
* g77.texi: Remove ancient part about debugging COMMON
and EQUIVALENCE not correctly.
From-SVN: r71623
2003-09-21 13:26:36 +00:00
Eric Botcazou
5cfc53563b
re PR target/12301 (corruption in exception path, exception in returned expression)
...
PR target/12301
* reorg.c (stop_search_p): Return 1 for insns that can
throw internally.
From-SVN: r71620
2003-09-21 08:17:48 +00:00
Richard Henderson
ddd2d57e72
c-format.c (gcc_diag_char_table): Add %J.
...
* c-format.c (gcc_diag_char_table): Add %J.
(gcc_cdiag_char_table, gcc_cxxdiag_char_table): Likewise.
(check_format_types): Fix wanted_type name lookup.
(init_dynamic_diag_info): Setup %J.
* diagnostic.c (text_specifies_location): Implement %J.
* c-common.c, c-decl.c, c-objc-common.c, c-pragma.c, calls.c,
dwarfout.c, expr.c, function.c, stmt.c, stor-layout.c, toplev.c,
tree-inline.c, tree-optimize.c, varasm.c, config/arm/pe.c,
config/i386/winnt.c, config/ia64/ia64.c, config/mcore/mcore.c,
config/v850/v850.c, objc/objc-act.c: Use %J in diagnostics.
* tree-inline.c: Include intl.h
(inline_forbidden_p_1): Fix i18n of inline_forbidden_reason.
* Makefile.in (tree-inline.o): Update.
cp/
* decl.c, decl2.c, pt.c: Use %J in diagnostics.
java/
* check-init.c, class.c, decl.c, expr.c: Use %J in diagnostics.
testsuite/
* gcc.dg/format/gcc_diag-1.c: Add tests for %J.
From-SVN: r71619
2003-09-20 22:07:20 -07:00
Roger Sayle
ccea753c05
i386.c (ix86_expand_carry_flag_compare): Fix transformation of a>=0 into (unsigned)a<0x80000000.
...
* config/i386/i386.c (ix86_expand_carry_flag_compare): Fix
transformation of a>=0 into (unsigned)a<0x80000000.
* gcc.c-torture/execute/20030920-1.c: New test case.
From-SVN: r71618
2003-09-21 02:22:45 +00:00
Andrew Pinski
86b0a4f337
* config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.
...
From-SVN: r71617
2003-09-20 17:27:37 -07:00