Danny Smith [Tue, 5 Mar 2002 21:29:18 +0000 (21:29 +0000)]
MAINTAINERS (Write After Approval): Add myself.
From-SVN: r50335
Benjamin Kosnik [Tue, 5 Mar 2002 21:14:20 +0000 (21:14 +0000)]
002-03-05 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/RELEASE-NOTES: Fix usage.
* README (libmath): Make clear.
From-SVN: r50331
Jakub Jelinek [Tue, 5 Mar 2002 21:12:17 +0000 (22:12 +0100)]
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version script globbing in ld.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
script globbing in ld.
* aclocal.m4: Rebuilt.
* configure: Rebuilt.
From-SVN: r50330
Ira Ruben [Tue, 5 Mar 2002 20:17:57 +0000 (20:17 +0000)]
This is the documentation for -### that I forgot to add when -### was
originally added.
From-SVN: r50328
Benjamin Kosnik [Tue, 5 Mar 2002 20:16:09 +0000 (20:16 +0000)]
RELEASE-NOTES: Update.
2002-03-05 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/RELEASE-NOTES: Update.
* README: Format subdirectories.
From-SVN: r50326
Jakub Jelinek [Tue, 5 Mar 2002 18:09:29 +0000 (19:09 +0100)]
mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc -r command line.
* mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
-r command line. Don't hide any symbols if not building
shared libgcc.
From-SVN: r50321
Jan Hubicka [Tue, 5 Mar 2002 17:34:16 +0000 (18:34 +0100)]
cfg.c (dump_flow_info): Warn about profile mismatches.
* cfg.c (dump_flow_info): Warn about profile mismatches.
* cfgrtl.c (verify_flow_info): Few aditional sanity checks.
(purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
From-SVN: r50320
Joseph Myers [Tue, 5 Mar 2002 13:50:12 +0000 (13:50 +0000)]
snapshot-README: Note that snapshots come from the 3.1 branch.
* snapshot-README: Note that snapshots come from the 3.1 branch.
Update list of files.
From-SVN: r50318
Paolo Carlini [Tue, 5 Mar 2002 12:09:45 +0000 (13:09 +0100)]
2002-03-05 Paolo Carlini <pcarlini@unitus.it>
libstdc++/5816
* include/bits/locale_facets.tcc
(num_get::_M_extract_float): Fix the parsing of __dec, since
the standard prescribes that if no grouping characters are
seen, no grouping check is applied.
* testsuite/22_locale/num_get_members_char.cc: Add test05
distilled from the PR.
* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
From-SVN: r50317
Jakub Jelinek [Tue, 5 Mar 2002 11:10:43 +0000 (12:10 +0100)]
expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 wide volatile memory by parts.
* expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
wide volatile memory by parts.
* gcc.c-torture/compile/
20020304-2.c: New test.
From-SVN: r50314
Jakub Jelinek [Tue, 5 Mar 2002 11:01:09 +0000 (12:01 +0100)]
ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def is NULL.
* ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
is NULL.
* gcc.dg/
20020304-1.c: New test.
From-SVN: r50311
GCC Administrator [Tue, 5 Mar 2002 08:18:29 +0000 (08:18 +0000)]
Daily bump.
From-SVN: r50310
David Billinghurst [Tue, 5 Mar 2002 05:16:15 +0000 (05:16 +0000)]
builtins.c (cos_builtin): method_return_type ATTRIBUTE_UNUSED
2002-03-05 David Billinghurst <David.Billinghurst@riotinto.com>
* builtins.c(cos_builtin): method_return_type ATTRIBUTE_UNUSED
* builtins.c(sin_builtin): Likewise
* builtins.c(sqrt_builtin): Likewise
From-SVN: r50304
Richard Henderson [Tue, 5 Mar 2002 04:31:12 +0000 (20:31 -0800)]
rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
2002-03-05 Richard Henderson <rth@redhat.com>
* rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
From-SVN: r50301
Geoffrey Keating [Tue, 5 Mar 2002 02:34:07 +0000 (02:34 +0000)]
toplev.c (documented_lang_options): Document more language-specific options.
* toplev.c (documented_lang_options): Document more
language-specific options.
* doc/invoke.texi (Warning Options): Correct documentation for
-Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
* c-decl.c (c_decode_option): Use a table to handle warning options.
From-SVN: r50299
Hans-Peter Nilsson [Tue, 5 Mar 2002 02:16:39 +0000 (02:16 +0000)]
mmix.h (ENCODE_SECTION_INFO): Pass on new second parameter to mmix_encode_section_info.
* config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
parameter to mmix_encode_section_info.
(LINK_SPEC): Don't defsym __.MMIX.start..text if linking
relocatably. Always produce ELF, not mmo if linking relocatably.
* config/mmix/mmix.c (mmix_encode_section_info): If new parameter
first is non-zero, don't add symbol prefix.
* config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
prototype accordingly.
From-SVN: r50298
Krister Walfridsson [Tue, 5 Mar 2002 01:38:39 +0000 (02:38 +0100)]
* config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
From-SVN: r50297
Joseph Myers [Tue, 5 Mar 2002 00:39:06 +0000 (00:39 +0000)]
configure.in: Increase required makeinfo version to 4.1.
* configure.in: Increase required makeinfo version to 4.1.
* configure: Regenerate.
From-SVN: r50294
Geoffrey Keating [Mon, 4 Mar 2002 23:21:41 +0000 (23:21 +0000)]
cvsignore: Remove *.info* and genrtl*; these files are generated elsewhere now.
* .cvsignore: Remove *.info* and genrtl*; these files are generated
elsewhere now.
From-SVN: r50293
Craig Rodrigues [Mon, 4 Mar 2002 22:58:50 +0000 (22:58 +0000)]
porting-howto.xml: Refer to oasis-open.org for docbookx.dtd.
2002-03-04 Craig Rodrigues <rodrigc@gcc.gnu.org>
* docs/html/17_intro/porting-howto.xml: Refer to
http://www.oasis-open.org for docbookx.dtd.
* docs/html/17_intro/porting-howto.html: Regenerated.
From-SVN: r50291
Geoffrey Keating [Mon, 4 Mar 2002 22:57:38 +0000 (22:57 +0000)]
Remove old unneeded .cvsignore files.
From-SVN: r50290
Phil Edwards [Mon, 4 Mar 2002 21:41:06 +0000 (21:41 +0000)]
configure.in: Add --enable-install-libiberty option.
2002-03-04 Phil Edwards <pme@gcc.gnu.org>
* configure.in: Add --enable-install-libiberty option.
* Makefile.in (INSTALLED_HEADERS): New variable.
(install_to_libdir): Possibly also copy headers.
* configure: Regenerated.
From-SVN: r50288
Neil Booth [Mon, 4 Mar 2002 21:22:52 +0000 (21:22 +0000)]
* xmalloc.c (xmalloc_fail): Clarify error message further.
From-SVN: r50287
Joseph Myers [Mon, 4 Mar 2002 19:04:44 +0000 (19:04 +0000)]
texinfo.tex: Update to version 2002-03-01.06.
* doc/include/texinfo.tex: Update to version 2002-03-01.06.
* doc/invoke.texi: Fix @math uses.
From-SVN: r50284
Zack Weinberg [Mon, 4 Mar 2002 17:18:06 +0000 (17:18 +0000)]
New test case (from PR c/5830).
From-SVN: r50279
Jan Hubicka [Mon, 4 Mar 2002 14:37:45 +0000 (15:37 +0100)]
toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables removal
* toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
removal
From-SVN: r50277
GCC Administrator [Mon, 4 Mar 2002 08:17:49 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r50276
Bryce McKinlay [Mon, 4 Mar 2002 01:01:08 +0000 (01:01 +0000)]
Remove cvs junk
From-SVN: r50271
Bryce McKinlay [Mon, 4 Mar 2002 01:00:16 +0000 (01:00 +0000)]
Makefile.am: Use -bootclasspath, not -CLASSPATH.
* Makefile.am: Use -bootclasspath, not -CLASSPATH.
* Makefile.in: Rebuilt.
From-SVN: r50270
Aldy Hernandez [Mon, 4 Mar 2002 00:30:25 +0000 (00:30 +0000)]
config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
2002-03-03 Aldy Hernandez <aldyh@redhat.com>
* config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
(powerpc-*-eabisimaltivec*): Same.
* config/rs6000/t-ppcendian: New.
From-SVN: r50268
Herman A.J. ten Brugge [Sun, 3 Mar 2002 23:05:33 +0000 (00:05 +0100)]
c4x-protos.h, [...]: Add new functions nonimmediate_src_operand and nonimmediate_lsrc_operand to...
* c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
nonimmediate_src_operand and nonimmediate_lsrc_operand to
disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
From-SVN: r50266
Neil Booth [Sun, 3 Mar 2002 21:57:57 +0000 (21:57 +0000)]
* xmalloc.c (xmalloc_fail): Clarify error message.
From-SVN: r50265
Richard Henderson [Sun, 3 Mar 2002 21:40:38 +0000 (13:40 -0800)]
* toplev.c (rest_of_decl_compilation): Revert last two changes.
From-SVN: r50264
Zack Weinberg [Sun, 3 Mar 2002 21:10:09 +0000 (21:10 +0000)]
emit-rtl.c, [...]: Remove all #ifndef REAL_ARITHMETIC blocks...
* emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
tree.c, config/m68k/m68k.c, f/com.c, f/target.h, java/expr.c,
java/jcf-parse.c, java/lex.c:
Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
REAL_ARITHMETIC blocks unconditional. Delete some further
#ifdef blocks predicated on REAL_ARITHMETIC.
* flags.h, toplev.c: Delete remaining references to
flag_pretend_float.
* doc/invoke.texi: Remove documentation of -fpretend-float.
* doc/tm.texi: Describe the various REAL_* macros as provided by
real.h, not by the target configuration files.
* config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
config/xtensa/xtensa.h:
Do not define, undefine, or mention in comments any of
REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
From-SVN: r50263
Joseph Myers [Sun, 3 Mar 2002 18:58:36 +0000 (18:58 +0000)]
* gcc_release: Make snapshots come from the 3.1 branch.
From-SVN: r50262
Phil Edwards [Sun, 3 Mar 2002 17:52:41 +0000 (17:52 +0000)]
Add missing PR tag for previous commit.
From-SVN: r50260
Phil Edwards [Sun, 3 Mar 2002 17:48:42 +0000 (17:48 +0000)]
std_sstream.h: Remove trailing spaces.
2002-03-03 Phil Edwards <pme@gcc.gnu.org>
* include/std/std_sstream.h: Remove trailing spaces.
(basic_stringbuf::_M_stringbuf_init): Also check for ios_base::app.
* testsuite/27_io/stringbuf.cc (test05, test06): New tests.
From-SVN: r50258
Kaveh R. Ghazi [Sun, 3 Mar 2002 15:40:44 +0000 (15:40 +0000)]
1750a.h, [...] (BITS_PER_WORD): Delete.
* 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
Delete.
* defaults.h (BITS_PER_WORD): Define.
* doc/tm.texi (BITS_PER_WORD): Document default value.
From-SVN: r50257
Kaveh R. Ghazi [Sun, 3 Mar 2002 15:37:32 +0000 (15:37 +0000)]
1750a.h, [...] (CHAR_TYPE_SIZE): Delete.
* 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
From-SVN: r50256
Kaveh R. Ghazi [Sun, 3 Mar 2002 14:07:39 +0000 (14:07 +0000)]
attribs.c (init_attributes, [...]): Use ARRAY_SIZE in lieu of explicit sizeof/sizeof.
* attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
lieu of explicit sizeof/sizeof.
* i386.c (override_options, ix86_init_mmx_sse_builtins,
ix86_expand_builtin): Likewise.
* mips.c (mips_add_gc_roots): Likewise.
* mmix.c (mmix_output_condition): Likewise.
* rs6000.c (rs6000_override_options, altivec_expand_builtin,
altivec_init_builtins): Likewise.
* sparc.c (mark_ultrasparc_pipeline_state): Likewise.
* cppexp.c (Nsuff, parse_number): Likewise.
* cppinit.c (builtin_array_end): Likewise.
* gcc.c (n_default_compilers, process_command): Likewise.
* genpreds.c (output_predicate_decls): Likewise.
* ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
* lcm.c (N_ENTITIES): Likewise.
* stor-layout.c (set_sizetype): Likewise.
ada:
* utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
lieu of explicit sizeof/sizeof.
cp:
* decl.c (cxx_init_decl_processing): Use ARRAY_SIZE in lieu of
explicit sizeof/sizeof.
* decl2.c (cxx_decode_option): Likewise.
* lex.c (init_reswords, REDUCE_LENGTH, TOKEN_LENGTH): Likewise.
java:
* class.c (init_class_processing): Use ARRAY_SIZE in lieu of
explicit sizeof/sizeof.
* decl.c (java_init_decl_processing): Likewise.
* jcf-parse.c (init_jcf_parse): Likewise.
* parse.y (init_src_parse): Likewise.
From-SVN: r50255
Mark Wielaard [Sun, 3 Mar 2002 11:02:04 +0000 (11:02 +0000)]
* java/util/Timer (TaskQueue.stop): set elements to zero.
From-SVN: r50254
Richard Henderson [Sun, 3 Mar 2002 09:11:38 +0000 (01:11 -0800)]
toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl for types or labels.
* toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
for types or labels.
From-SVN: r50253
Richard Henderson [Sun, 3 Mar 2002 09:09:33 +0000 (01:09 -0800)]
* c-decl.c (start_decl): Initialized variables are not common.
From-SVN: r50252
Richard Henderson [Sun, 3 Mar 2002 09:00:51 +0000 (01:00 -0800)]
* c-decl.c (start_decl): Initialized variables are not common.
From-SVN: r50250
Per Bothner [Sun, 3 Mar 2002 08:35:11 +0000 (00:35 -0800)]
Make --CLASSPATH by a synonym for --classpath and -classpath.
Implement --bootclasspath.
From-SVN: r50247
Per Bothner [Sun, 3 Mar 2002 08:33:59 +0000 (00:33 -0800)]
gcc.c (option_map): Suport new --bootclasspath option.
* gcc.c (option_map): Suport new --bootclasspath option.
--CLASSPATH is now just an alias for --classpath.
From-SVN: r50246
GCC Administrator [Sun, 3 Mar 2002 08:17:12 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r50245
Aldy Hernandez [Sun, 3 Mar 2002 06:41:07 +0000 (06:41 +0000)]
20020103-1.c: Add othe -D ppc variants.
2002-03-03 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/
20020103-1.c: Add othe -D ppc variants.
From-SVN: r50241
Richard Henderson [Sun, 3 Mar 2002 05:20:04 +0000 (21:20 -0800)]
i386.h (ix86_expand_prologue): Do not emit pic register load if "internal" visibility.
* config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
load if "internal" visibility.
* doc/extend.texi: Document visibility meanings.
From-SVN: r50240
Richard Henderson [Sun, 3 Mar 2002 04:57:02 +0000 (20:57 -0800)]
i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies to functions as well.
* config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
to functions as well.
From-SVN: r50239
Richard Henderson [Sun, 3 Mar 2002 04:51:15 +0000 (20:51 -0800)]
Revert bogus commit.
From-SVN: r50238
Richard Henderson [Sun, 3 Mar 2002 04:50:53 +0000 (20:50 -0800)]
attribs.c (handle_alias_attribute): Don't call assemble_alias.
* attribs.c (handle_alias_attribute): Don't call assemble_alias.
(handle_visibility_attribute): Don't call assemble_visibility.
* toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
without asmspec. Invoke assemble_alias when needed.
* varasm.c (maybe_assemble_visibility): New.
(assemble_start_function, assemble_variable, assemble_alias): Use it.
From-SVN: r50237
Richard Henderson [Sun, 3 Mar 2002 04:23:21 +0000 (20:23 -0800)]
varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; invoke ENCODE_SECTION_INFO with first call flag.
* varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
invoke ENCODE_SECTION_INFO with first call flag.
* config/darwin-protos.h, config/darwin.c, config/darwin.h,
config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.h, config/m88k/m88k.h,
config/mcore/mcore-protos.h, config/mcore/mcore.c,
config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
config/sh/sh.h, config/sparc/sparc.h,
config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
FIRST argument. As needed, examine it and do nothing.
* config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
* config/arm/t-pe (pe.o): Add dependencies.
From-SVN: r50236
Kaveh R. Ghazi [Sun, 3 Mar 2002 02:27:42 +0000 (02:27 +0000)]
a29k.h, [...]: (BITS_PER_UNIT): Delete.
* a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
* defaults.h (BITS_PER_UNIT): Define.
* doc/tm.texi (BITS_PER_UNIT): Document default value.
From-SVN: r50235
Paolo Carlini [Sat, 2 Mar 2002 21:32:56 +0000 (22:32 +0100)]
num_get_members_char.cc (test04): Use a named locale expecting grouping (de_DE).
2002-03-02 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/num_get_members_char.cc (test04):
Use a named locale expecting grouping (de_DE).
* testsuite/22_locale/num_get_members_wchar_t.cc (test04):
Ditto.
* testsuite/27_io/ios_manip_basefield.cc (test01):
Extend coverage, uniform treatment of hexs and octs.
From-SVN: r50234
Nathan Sidwell [Sat, 2 Mar 2002 19:51:57 +0000 (19:51 +0000)]
re PR c++/775 (2.97 error declaring nested class a friend)
cp:
PR c++/775
* decl.c (lookup_tag): Only reject enum/class mismatch, not
class/union mismatch.
* parse.y (check_class_key): New function.
(structsp): Call it.Read from remote host gcc.gnu.org: Connection reset by peer
testsuite:
* g++.dg/other/classkey1.C: New test.
From-SVN: r50230
Alexandre Petit-Bianco [Sat, 2 Mar 2002 17:58:05 +0000 (09:58 -0800)]
Fix for PR java/5758, java/5632:
2002-02-28 Alexandre Petit-Bianco <apbianco@redhat.com>
Fix for PR java/5758, java/5632:
* jcf-parse.c (load_class): Renamed local variable, consider `.' an
inner-class separator too.
* parse.y (do_resolve_class): New local `decl_result.'
Progressively build a name for what can have been loaded.
From-SVN: r50228
Kazu Hirata [Sat, 2 Mar 2002 17:20:01 +0000 (17:20 +0000)]
h8300-protos.h: Add a prototype for compute_a_shift_length.
* config/h8300/h8300-protos.h: Add a prototype for
compute_a_shift_length.
* config/h8300/h8300.c (h8300_asm_insn_count): New.
(compute_a_shift_length): Likewise.
(h8300_adjust_insn_length): Do not adjust insn length of shift
insns.
* config/h8300/h8300.md (anonymous shift patterns): Use
compute_a_shift_length.
From-SVN: r50227
Richard Kenner [Sat, 2 Mar 2002 13:53:38 +0000 (13:53 +0000)]
sparc.c (sparc_initialize_trampoline): Use trunc_int_for_mode.
* config/sparc/sparc.c (sparc_initialize_trampoline): Use
trunc_int_for_mode.
From-SVN: r50226
Richard Kenner [Sat, 2 Mar 2002 11:35:36 +0000 (11:35 +0000)]
* emit-rtl.c (offset_address): Call update_temp_slot_address.
From-SVN: r50223
GCC Administrator [Sat, 2 Mar 2002 08:17:34 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r50222
Kaveh R. Ghazi [Sat, 2 Mar 2002 03:52:17 +0000 (03:52 +0000)]
Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
* Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
* doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
* flags.h (flag_zero_initialized_in_bss): Declare.
* toplev.c (flag_zero_initialized_in_bss): New flag.
(lang_independent_options): Add flag_zero_initialized_in_bss.
* tree.c (initializer_zerop): New function.
* tree.h (initializer_zerop): Declare.
* varasm.c (assemble_variable): If we can emit bss, put zero
initializers in the bss section.
From-SVN: r50218
Alan Modra [Sat, 2 Mar 2002 00:11:11 +0000 (00:11 +0000)]
rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't like more than one symbol per .weak directive.
* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
like more than one symbol per .weak directive.
From-SVN: r50217
Richard Henderson [Fri, 1 Mar 2002 23:56:33 +0000 (15:56 -0800)]
ia64.c (ia64_initial_elimination_offset): Do not adjust argument_pointer by pretend_args_size.
* config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
adjust argument_pointer by pretend_args_size.
(ia64_va_start): Adjust va_start address by -pretend_args_size.
From-SVN: r50212
Kazu Hirata [Fri, 1 Mar 2002 22:07:44 +0000 (22:07 +0000)]
* config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
From-SVN: r50207
Jan Hubicka [Fri, 1 Mar 2002 20:07:01 +0000 (21:07 +0100)]
toplev.c (rest_of_compilation): Delete dead jumptables before loop.
* toplev.c (rest_of_compilation): Delete dead jumptables before
loop.
* flow.c (delete_dead_jumptables): Make global.
* rtl.h (delete_dead_jumptables): Declare.
From-SVN: r50205
Michael Matz [Fri, 1 Mar 2002 19:27:05 +0000 (19:27 +0000)]
Reduced testcase of a 252.eon (SPEC2000) problem.
From-SVN: r50204
Richard Henderson [Fri, 1 Mar 2002 18:39:21 +0000 (10:39 -0800)]
981223-1.x: New.
* gcc.c-torture/compile/981223-1.x: New.
* gcc.c-torture/compile/920625-1.x: New.
From-SVN: r50202
David Edelsohn [Fri, 1 Mar 2002 17:33:21 +0000 (17:33 +0000)]
rs6000.h (HANDLE_PRAGMA_PACK): Delete.
* config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
* config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
* config/rs6000/xcoff.h (COLLET_EXPORT_LIST): Delete.
From-SVN: r50200
Michael Matz [Fri, 1 Mar 2002 13:50:28 +0000 (13:50 +0000)]
typeck.c (cp_pointer_int_sum): Complete inner type which is used later by size_in_bytes().
2002-03-01 Michael Matz <matz@suse.de>
* typeck.c (cp_pointer_int_sum): Complete inner type which is
used later by size_in_bytes().
From-SVN: r50197
Anthony Green [Fri, 1 Mar 2002 13:43:09 +0000 (13:43 +0000)]
Oops. A ChangeLog entry got committed prematurely with my last change.
This fixes is.
From-SVN: r50196
Kazu Hirata [Fri, 1 Mar 2002 09:14:08 +0000 (09:14 +0000)]
h8300-protos.h: Fix formatting.
* config/h8300/h8300-protos.h: Fix formatting.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
From-SVN: r50192
Kazu Hirata [Fri, 1 Mar 2002 08:57:14 +0000 (08:57 +0000)]
h8300.c (print_operand): Support 16-bit constant addresses.
* config/h8300/h8300.c (print_operand): Support 16-bit
constant addresses.
* config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
From-SVN: r50191
GCC Administrator [Fri, 1 Mar 2002 08:19:04 +0000 (08:19 +0000)]
Daily bump.
From-SVN: r50190
Richard Henderson [Fri, 1 Mar 2002 08:13:04 +0000 (00:13 -0800)]
expmed.c (store_bit_field): Prevent generation of CONCATs...
* expmed.c (store_bit_field): Prevent generation of CONCATs;
pun complex values as integers; use gen_lowpart instead of
gen_rtx_SUBREG.
(extract_bit_field): Likewise.
From-SVN: r50185
Phil Edwards [Fri, 1 Mar 2002 07:19:29 +0000 (07:19 +0000)]
cp-tree.h: Require __GNUC__ to be #defined.
2002-03-01 Phil Edwards <pme@gcc.gnu.org>
* cp-tree.h: Require __GNUC__ to be #defined.
(build_init): Add missing prototype.
From-SVN: r50183
Alan Modra [Fri, 1 Mar 2002 06:00:38 +0000 (06:00 +0000)]
tm.texi (ASM_WEAKEN_DECL): Document.
* doc/tm.texi (ASM_WEAKEN_DECL): Document.
(ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
(SUPPORTS_WEAK): Likewise.
* output.h (add_weak): Add tree param.
* varasm.c (add_weak): Likewise. Save decl.
(struct weak_syms): Add decl field.
(mark_weak_decls): New function.
(init_varasm_once): ggc_add_root mark_weak_decls.
(assemble_start_function): Use ASM_WEAKEN_DECL.
(assemble_variable): Likewise.
(assemble_alias): Likewise.
(declare_weak): Pass decl to add_weak.
(weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
(remove_from_pending_weak_list): Declare and define for
ASM_WEAKEN_DECL.
* c-pragma.c (handle_pragma_weak): Adjust add_weak call.
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
* defaults.h (SUPPORTS_WEAK): Likewise.
* config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
.weak for code sym. Do emit .size for descriptor sym.
(ASM_DECLARE_FUNCTION_SIZE): Define.
* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
(ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
.lglobl unless TARGET_XCOFF. Formatting fixes.
* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
.weak for code sym.
(HANDLE_PRAGMA_WEAK): Remove.
(ASM_WEAKEN_LABEL): Remove.
* config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r50181
Anthony Green [Fri, 1 Mar 2002 05:36:31 +0000 (05:36 +0000)]
Add pointer support to the reflection code.
From-SVN: r50180
Richard Henderson [Fri, 1 Mar 2002 02:39:38 +0000 (18:39 -0800)]
* g++.dg/opt/vtgc1.C: Adjust patterns for ia64.
From-SVN: r50179
Jason Merrill [Fri, 1 Mar 2002 01:49:00 +0000 (20:49 -0500)]
tree.h (TARGET_EXPR_SLOT, [...]): New macros.
* tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
(TARGET_EXPR_CLEANUP): New macro.
cp/
* except.c: Don't include decl.h or obstack.h. Do include
tree-inline.h.
(build_throw): Destroy temporaries from the thrown
expression before calling __cxa_throw. Construct a thrown
temporary directly into the exception object.
(stabilize_throw_expr): New function.
(wrap_cleanups_r): New function.
* tree.c (stabilize_expr): New function.
* init.c (build_init): New function.
* Make-lang.in (cp/except.o): Adjust .h deps.
From-SVN: r50177
Richard Henderson [Fri, 1 Mar 2002 01:27:57 +0000 (17:27 -0800)]
linker-map.gnu: Export operator new with unsigned long, and with std::nothrow_t.
* config/linker-map.gnu: Export operator new with unsigned long,
and with std::nothrow_t. Likewise operator delete.
From-SVN: r50176
Steve Ellcey [Fri, 1 Mar 2002 01:19:52 +0000 (01:19 +0000)]
rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition to take ptr_extend into account as third type of extension.
* doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
to take ptr_extend into account as third type of extension.
(SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
fields used by SUBREG_PROMOTED_UNSIGNED_P.
* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
(SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
* calls.c (precompute_arguments): Use new macro.
(expand_call): Ditto.
* combine.c (nonzero_bits): Ditto.
(record_promoted_value): Ditto.
* expr.c (store_expr): Ditto.
(expand_expr): Ditto.
* function.c (assign_parms): Ditto.
From-SVN: r50174
Alexandre Oliva [Fri, 1 Mar 2002 00:50:39 +0000 (00:50 +0000)]
gcc.c (init_gcc_specs): Get -static and -static-libgcc to override -shared and -shared-libgcc.
* gcc.c (init_gcc_specs): Get -static and -static-libgcc to
override -shared and -shared-libgcc.
From-SVN: r50171
Alexandre Oliva [Fri, 1 Mar 2002 00:49:53 +0000 (00:49 +0000)]
configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava.
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.
From-SVN: r50169
Bryce McKinlay [Thu, 28 Feb 2002 23:27:09 +0000 (23:27 +0000)]
* expr.c (build_java_arraystore_check): Fix formatting.
From-SVN: r50167
David O'Brien [Thu, 28 Feb 2002 23:06:25 +0000 (23:06 +0000)]
config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification of "ultrasparc".
2002-02-28 David O'Brien <obrien@FreeBSD.org>
* config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
of "ultrasparc".
* config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
to be broken.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20020228100723.A30279@redhat.com>
From-SVN: r50165
Paolo Carlini [Thu, 28 Feb 2002 21:16:45 +0000 (22:16 +0100)]
locale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecimals too.
2002-02-28 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_get::_M_extract_int):
Admit grouping for octals and hexadecimals too.
* testsuite/22_locale/num_get_members_char.cc: Add test04.
(test01): Tweak "." -> "," in void* test.
* testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
* testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
* testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
From-SVN: r50162
Richard Henderson [Thu, 28 Feb 2002 19:48:40 +0000 (11:48 -0800)]
ia64.c (ia64_adjust_cost): All non-MM consumers have 4 cycle latency from MM producers.
* config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
4 cycle latency from MM producers.
(ia64_internal_sched_reorder): Likewise with pipeline flush.
From-SVN: r50160
Jakub Jelinek [Thu, 28 Feb 2002 18:56:55 +0000 (19:56 +0100)]
* mklibgcc.in: Don't use GNU make extension.
From-SVN: r50156
Neil Booth [Thu, 28 Feb 2002 18:51:14 +0000 (18:51 +0000)]
c-parse.in (STATIC): New terminal.
* c-parse.in (STATIC): New terminal.
(scspec): New non-terminal. Update productions accordingly.
(program): Remove bogus ifc / end ifc.
(array_declarator): Simplify production using STATIC.
From-SVN: r50155
Jim Meyering [Thu, 28 Feb 2002 18:46:17 +0000 (18:46 +0000)]
cpplex.c (cpp_parse_escape): Restore mistakenly-removed code: \a still means TARGET_BELL.
* cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
\a still means TARGET_BELL.
From-SVN: r50154
Richard Henderson [Thu, 28 Feb 2002 18:32:12 +0000 (10:32 -0800)]
haifa-sched.c (sched_emit_insn): New.
* haifa-sched.c (sched_emit_insn): New.
(schedule_block): Use last_scheduled_insn to track last insn.
* sched-int.h (sched_emit_insn): Prototype.
* config/ia64/ia64.c (last_issued): Remove.
(ia64_variable_issue): Don't set it.
(nop_cycles_until): Use sched_emit_insn.
From-SVN: r50153
Andrew MacLeod [Thu, 28 Feb 2002 18:31:00 +0000 (18:31 +0000)]
sparc.c (sparc64_initialize_trampoline): Generate sign extended constants.
* config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
extended constants.
From-SVN: r50152
Kazu Hirata [Thu, 28 Feb 2002 18:13:06 +0000 (18:13 +0000)]
h8300.c: Fix formatting.
* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.h: Likewise.
From-SVN: r50150
Jason Merrill [Thu, 28 Feb 2002 15:46:31 +0000 (10:46 -0500)]
search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope.
* search.c (lookup_base_r): Don't clear is_non_public just because
we found a friendly scope.
From-SVN: r50143
Jason Merrill [Thu, 28 Feb 2002 15:32:38 +0000 (10:32 -0500)]
search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope.
* search.c (lookup_base_r): Don't clear is_non_public just because
we found a friendly scope.
From-SVN: r50140
Marek Michalkiewicz [Thu, 28 Feb 2002 15:23:54 +0000 (16:23 +0100)]
avr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high byte of the frame pointer.
* config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
which may overwrite the high byte of the frame pointer.
From-SVN: r50138
Bo Thorsen [Thu, 28 Feb 2002 15:16:17 +0000 (15:16 +0000)]
linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
2002-02-28 Bo Thorsen <bo@suse.de>
* config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
(STARTFILE_SPEC): Add 64 bit files.
(ENDFILE_SPEC): Likewise.
From-SVN: r50137
Jason Merrill [Thu, 28 Feb 2002 13:30:04 +0000 (08:30 -0500)]
c-decl.c (finish_function): Only warn about missing return statement with -Wreturn-type.
* c-decl.c (finish_function): Only warn about missing return
statement with -Wreturn-type.
* cp/decl.c (finish_function): Only warn about missing return
statement with -Wreturn-type.
From-SVN: r50132
Bryce McKinlay [Thu, 28 Feb 2002 11:40:29 +0000 (11:40 +0000)]
expr.c (java_array_data_offset): Removed function.
* expr.c (java_array_data_offset): Removed function.
(JAVA_ARRAY_LENGTH_OFFSET): Removed macro.
(build_java_array_length_access): Obtain "length" value using a
COMPONENT_REF, instead of INDIRECT_REF and arithmetic.
(build_java_arrayaccess): Correct comment. Access "data" using a
COMPONENT_REF, and return an ARRAY_REF instead of an INDIRECT_REF.
(build_java_arraystore_check): New function.
(expand_java_arraystore): Use build_java_arraystore_check.
* parse.y (patch_assignment): Simplify code to insert a store check
when lvalue is an ARRAY_REF. Use build_java_arraystore_check.
* check-init.c (check_init): Update to reflect that an array length
access is now a COMPONENT_REF.
* gcj.texi (Code Generation): Improve documentation of
-fno-bounds-check. Add documentation for -fno-store-check.
* java-tree.h (flag_store_check): Declare.
(build_java_arraystore_check): Declare.
* lang.c (flag_store_check): Initialize to 1.
(lang_f_options): Add store-check option.
* jvspec.c: Don't pass store-check option to jvgenmain.
* lang-options.h: Add help string for -fno-store-check.
From-SVN: r50129