Toon Moene [Fri, 1 Feb 2002 22:43:03 +0000 (23:43 +0100)]
bad.def: Remove non-historical reference to version 0.6.
2002-02-01 Toon Moene <toon@moene.indiv.nluug.nl>
* bad.def: Remove non-historical reference to version 0.6.
* bugs.texi: Ditto.
* com.c: Ditto.
* ffe.texi: Ditto.
* proj.h: Ditto.
* g77.texi: Ditto.
From-SVN: r49413
DJ Delorie [Fri, 1 Feb 2002 21:54:39 +0000 (16:54 -0500)]
sparc.c (sparc_emit_set_symbolic_const64): If we are given conflicting registers...
* config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
we are given conflicting registers, switch to the other one we
had allocated for us.
* config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
as TImode so we know when the "other" register is available.
From-SVN: r49412
Craig Rodrigues [Fri, 1 Feb 2002 21:16:05 +0000 (21:16 +0000)]
re PR java/4972 (undefined reference to `libiconv')
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR java/4972
* aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
for libiconv in LIBICONV variable.
* configure: Regenerated.
From-SVN: r49411
Craig Rodrigues [Fri, 1 Feb 2002 21:07:31 +0000 (21:07 +0000)]
re PR java/5080 (gcc/java/jcf-parse.c:908: `LC_CTYPE' undeclared (first use in this function))
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR java/5080
* jcf-parse.c : Check for HAVE_LOCALE_H before using
setlocale() with LC_CTYPE as a parameter.
* jv-scan.c: Same.
From-SVN: r49410
H.J. Lu [Fri, 1 Feb 2002 20:37:13 +0000 (20:37 +0000)]
cp-demangle.c (cp_demangle_type): Call demangling_new with DMGL_GNU_V3.
2002-02-01 H.J. Lu <hjl@gnu.org>
* cp-demangle.c (cp_demangle_type): Call demangling_new with
DMGL_GNU_V3.
From-SVN: r49409
Jason Merrill [Fri, 1 Feb 2002 19:51:42 +0000 (14:51 -0500)]
fix typo
From-SVN: r49408
Jason Merrill [Fri, 1 Feb 2002 19:32:51 +0000 (14:32 -0500)]
re PR c++/4872 (missed warning (no return) -- regression from 2.95)
PR c++/4872
* decl.c (finish_function): Warn about a non-void function with
no return statement and no abnormal exit.
* cp-tree.h (struct cp_language_function): Add returns_abnormally.
(current_function_returns_abnormally): New macro.
* call.c (build_call): Set it.
From-SVN: r49407
Jason Merrill [Fri, 1 Feb 2002 19:31:23 +0000 (14:31 -0500)]
typeck.c (build_component_ref): Always complain about offsetof constructs on non-PODs.
* typeck.c (build_component_ref): Always complain about offsetof
constructs on non-PODs. Only make it an error for members of
virtual bases.
From-SVN: r49406
David O'Brien [Fri, 1 Feb 2002 19:30:01 +0000 (19:30 +0000)]
sol2-sld-64.h: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2002-02-01 David O'Brien <obrien@FreeBSD.org>
* config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
sparc/sparc_bi.h.
Approved by: Geoff Keating <geoffk@geoffk.org>
Message-ID: <jmzo2uma5l.fsf@desire.geoffk.org>
From-SVN: r49405
Jason Merrill [Fri, 1 Feb 2002 19:19:50 +0000 (14:19 -0500)]
link, expect link errors
From-SVN: r49404
Jason Merrill [Fri, 1 Feb 2002 19:15:58 +0000 (14:15 -0500)]
use unused attribute for the parm
From-SVN: r49403
Janis Johnson [Fri, 1 Feb 2002 19:01:55 +0000 (19:01 +0000)]
re PR target/5469 ([IA64] ia64 arc profiling can use the wrong global pointer)
PR target/5469
* gcc.dg/
20020201-1.c: New test.
From-SVN: r49402
Janis Johnson [Fri, 1 Feb 2002 18:58:39 +0000 (18:58 +0000)]
cfganal.c (keep_with_call_p): New function.
* cfganal.c (keep_with_call_p): New function.
(flow_call_edges_add): Prevent splitting a block between a call and
a single-set instruction that should be kept in the same block.
From-SVN: r49401
Craig Rodrigues [Fri, 1 Feb 2002 18:42:37 +0000 (18:42 +0000)]
install.texi (avr): Update outdated URL.
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
* doc/install.texi (avr): Update outdated URL.
From-SVN: r49399
Richard Henderson [Fri, 1 Feb 2002 16:56:43 +0000 (08:56 -0800)]
I'm the i386 maintainer.
From-SVN: r49398
Jason Merrill [Fri, 1 Feb 2002 16:06:10 +0000 (11:06 -0500)]
fix typo
From-SVN: r49397
Jason Merrill [Fri, 1 Feb 2002 15:56:43 +0000 (10:56 -0500)]
error.c (dump_scope): Don't add TFF_DECL_SPECIFIERS.
* error.c (dump_scope): Don't add TFF_DECL_SPECIFIERS.
(dump_function_decl): Always dump parms.
From-SVN: r49396
Jason Merrill [Fri, 1 Feb 2002 15:50:01 +0000 (10:50 -0500)]
re PR c++/4286 (Internal error: Segmentation fault)
* decl2.c (finish_static_data_member_decl): Complain about a local
class with a static data member.
PR c++/4286
* search.c (lookup_field_1): Don't xref a static data member
just because we looked it up.
From-SVN: r49395
Andrew Haley [Fri, 1 Feb 2002 15:20:16 +0000 (15:20 +0000)]
stormy16.md (pushqi): New.
2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
* config/stormy16/stormy16.md (pushqi): New.
(popqi): New.
(pushhi): New.
(pophi): New.
(movhi): Remove stack operands.
(movqi): Likewise.
* config/stormy16/stormy16.h (PREDICATE_CODES): Add
nonimmediate_nonstack_operand.
* config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
New.
* config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
New.
From-SVN: r49394
Jason Merrill [Fri, 1 Feb 2002 11:48:46 +0000 (06:48 -0500)]
Makefile.in (c-parse.c): Handle .output file.
* Makefile.in (c-parse.c): Handle .output file.
* objc/Make-lang.in (objc-parse.c): Likewise.
* cp/Make-lang.in (parse.c): Handle .output file.
From-SVN: r49393
Alexandre Oliva [Fri, 1 Feb 2002 10:27:36 +0000 (10:27 +0000)]
mips.h (ENDIAN_SPEC): Output the endianness flag if the -me[lb] option is given.
* config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
the -me[lb] option is given. Don't output the default flag
twice.
From-SVN: r49392
GCC Administrator [Fri, 1 Feb 2002 08:17:03 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r49390
Tom Tromey [Fri, 1 Feb 2002 05:48:00 +0000 (05:48 +0000)]
verify.cc (state::enter_subroutine): New method.
* verify.cc (state::enter_subroutine): New method.
(handle_jsr_insn): Use it.
(state::merge): When processing a `ret', correctly use
subroutine's state to determine which local variables have
changed.
(push_exception_jump): Don't let stack overflow.
From-SVN: r49388
Benjamin Kosnik [Fri, 1 Feb 2002 03:20:39 +0000 (03:20 +0000)]
codecvt_specializations_ieee_1003.1-200x.h: Initialize all data members in copy ctor.
2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
Initialize all data members in copy ctor. Make ctors explicit.
(__enc_traits::__enc_traits()): Default ctor does nothing.
(__enc_traits::_M_init): Guard against multiple iconv_opens.
* include/std/std_sstream.h (basic_stringbuf): Make data members
protected.
* include/std/std_fstream.h (basic_filebuf): Same.
* include/std/std_streambuf.h: Tweak.
* include/bits/streambuf.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/fstream.tcc: Same.
From-SVN: r49387
Phil Edwards [Fri, 1 Feb 2002 01:27:21 +0000 (01:27 +0000)]
cp-demangle.c: Revert yesterday's change.
2002-01-31 Phil Edwards <pme@gcc.gnu.org>
* cp-demangle.c: Revert yesterday's change.
From-SVN: r49386
Loren J. Rittle [Fri, 1 Feb 2002 00:24:12 +0000 (00:24 +0000)]
codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv().
* testsuite/22_locale/codecvt_members_char_char.cc: Do not
allow NULL argument to be passed to setenv().
* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
* testsuite/22_locale/collate_members_char.cc: Likewise.
* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
* testsuite/22_locale/ctype_members_char.cc: Likewise.
* testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
* testsuite/22_locale/messages_members_char.cc: Likewise.
* testsuite/22_locale/money_get_members_char.cc: Likewise.
* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/money_put_members_char.cc: Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/moneypunct_members_char.cc: Likewise.
* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_get_members_char.cc: Likewise.
* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_put_members_char.cc: Likewise.
* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/numpunct_members_char.cc: Likewise.
* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_get_members_char.cc: Likewise.
* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_put_members_char.cc: Likewise.
* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
From-SVN: r49384
Zack Weinberg [Fri, 1 Feb 2002 00:11:30 +0000 (00:11 +0000)]
c-lex.c (yyparse): Call debug_hooks->start_source_file for the primary source file...
* c-lex.c (yyparse): Call debug_hooks->start_source_file for
the primary source file; this has not been done yet.
* c-decl.c (c_expand_body): Reset input_filename from
DECL_SOURCE_FILE (fndecl) before calling init_function_start.
From-SVN: r49383
David Billinghurst [Thu, 31 Jan 2002 23:48:06 +0000 (23:48 +0000)]
re PR fortran/3743 (Reference to intrinsic `ISHFT' invalid)
2002-02-01 David.Billinghurst <David.Billinghurst@riotinto.com>
PR fortran/3743
* g77.f-torture/execute/f90-intrinsic-bit.x: Remove
* g77.f-torture/compile/pr3743.x: Remove
From-SVN: r49382
Kazu Hirata [Thu, 31 Jan 2002 23:29:09 +0000 (23:29 +0000)]
rtlanal.c (subreg_regno_offset): Do not use SUBREG_REGNO_OFFSET.
* rtlanal.c (subreg_regno_offset): Do not use
SUBREG_REGNO_OFFSET.
* system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
* doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
From-SVN: r49381
Jason Merrill [Thu, 31 Jan 2002 22:52:11 +0000 (17:52 -0500)]
re PR c++/3395 (Attribute causes type lookup to fail. Regression.)
PR c++/3395
* decl.c (xref_tag): Remember early attributes in TYPE_ATTRIBUTES,
not TREE_TYPE.
* semantics.c (finish_class_definition): Adjust.
From-SVN: r49380
Anthony Green [Thu, 31 Jan 2002 22:25:31 +0000 (22:25 +0000)]
Configure changes to enable cross compiling.
From-SVN: r49378
Jason Merrill [Thu, 31 Jan 2002 20:14:37 +0000 (15:14 -0500)]
Allow attributes in parms and casts.
* parse.y (named_parm): Don't strip attrs.
(declmods): Remove 'attributes' production.
(nonempty_cv_qualifiers): Accept attributes.
(ATTRIBUTE): Give precedence.
* decl.c (groktypename): Handle attributes.
(grokparms): Likewise.
From-SVN: r49373
Joseph Myers [Thu, 31 Jan 2002 19:36:28 +0000 (19:36 +0000)]
gccbug.in: Follow GNU Coding Standards for --version.
gcc:
* gccbug.in: Follow GNU Coding Standards for --version. Use GCC
version rather than GNATS version in --version output.
gcc/f:
* g77spec.c (lang_specific_driver): Follow GNU Coding Standards
for --version.
gcc/java:
* gjavah.c (version), jcf-dump.c (version), jv-scan.c (version):
Follow GNU Coding Standards for --version.
libjava:
* gnu/gcj/convert/Convert.java: Only include one copyright year in
--version output.
From-SVN: r49372
Adam Megacz [Thu, 31 Jan 2002 18:19:39 +0000 (18:19 +0000)]
configure.in: Treat mingw the same as cywin wrt HAVE_SYS_ERRLIST.
* gcc/libiberty/configure.in: Treat mingw the same as cywin
wrt HAVE_SYS_ERRLIST.
From-SVN: r49371
Philipp Thomas [Thu, 31 Jan 2002 12:15:25 +0000 (12:15 +0000)]
Check in new greek translation.
From-SVN: r49370
Richard Sandiford [Thu, 31 Jan 2002 11:07:14 +0000 (11:07 +0000)]
ifcvt.c (noce_process_if_block): Make a copy of the destination when copying back from a temporary.
* ifcvt.c (noce_process_if_block): Make a copy of the destination
when copying back from a temporary.
From-SVN: r49369
GCC Administrator [Thu, 31 Jan 2002 08:16:41 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49368
Richard Henderson [Thu, 31 Jan 2002 07:10:49 +0000 (23:10 -0800)]
ifcvt.c (dead_or_predicable): Handling merging when other_bb and new_dest are the same.
* ifcvt.c (dead_or_predicable): Handling merging when other_bb
and new_dest are the same.
From-SVN: r49366
Richard Henderson [Thu, 31 Jan 2002 06:35:55 +0000 (22:35 -0800)]
Record PR number last change.
From-SVN: r49365
Richard Henderson [Thu, 31 Jan 2002 06:21:31 +0000 (22:21 -0800)]
rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
* rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
* rtl.c (note_insn_name): Update.
* emit-rtl.c (remove_unnecessary_notes): Kill it.
* stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
to perform loop rotation.
(expand_exit_loop_top_cond): New.
* tree.h (expand_exit_loop_top_cond): Declare it.
* c-semantics.c (genrtl_while_stmt): Use it.
(genrtl_for_stmt): Likewise.
* ada/trans.c (tree_transform) [N_Loop_Statement]: Use
expand_exit_loop_top_cond.
* f/ste.c (ffeste_begin_iterdo_): Use expand_exit_loop_top_cond.
(ffeste_R819B): Likewise.
From-SVN: r49364
Bryce McKinlay [Thu, 31 Jan 2002 02:48:54 +0000 (02:48 +0000)]
This commit was generated by cvs2svn to compensate for changes in r49361,
which included commits to RCS files with non-trunk default branches.
From-SVN: r49362
Bryce McKinlay [Thu, 31 Jan 2002 02:48:44 +0000 (02:48 +0000)]
Initial revision
From-SVN: r49359
Benjamin Kosnik [Thu, 31 Jan 2002 02:05:17 +0000 (02:05 +0000)]
c_locale_gnu.cc: Same errno fixes as generic.
2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
* ChangeLog-2001: Fix my spelling errors...
* docs/html/17_intro/RELEASE-NOTES: Update.
* docs/html/17_intro/TODO: Update.
* README (file): Update.
From-SVN: r49358
Tom Rix [Thu, 31 Jan 2002 01:44:14 +0000 (01:44 +0000)]
Make gcsec-1.c unsupported for AIX.
From-SVN: r49357
Alexandre Oliva [Thu, 31 Jan 2002 01:40:54 +0000 (01:40 +0000)]
mips.h (PARM_BOUNDARY): Guarantee alignment of arguments to 64-bit boundaries on 64-bit ABIs.
* config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
arguments to 64-bit boundaries on 64-bit ABIs.
From-SVN: r49356
Steve Ellcey [Thu, 31 Jan 2002 01:37:22 +0000 (01:37 +0000)]
* loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
From-SVN: r49355
Benjamin Kosnik [Thu, 31 Jan 2002 01:21:08 +0000 (01:21 +0000)]
c_locale_gnu.cc: Same errno fixes as generic.
2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
From-SVN: r49354
Phil Edwards [Thu, 31 Jan 2002 01:03:05 +0000 (01:03 +0000)]
cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
2002-01-30 Phil Edwards <pme@gcc.gnu.org>
* cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
(cplus_demangle_v3): Mimic __cxa_demangle and fall back on
cp_demangle_type.
* testsuite/demangle-expected: New gnu-v3 test.
From-SVN: r49353
Joseph Myers [Thu, 31 Jan 2002 01:01:02 +0000 (01:01 +0000)]
c-decl.c (grokdeclarator): Handle type being a typedef for an invalid type.
* c-decl.c (grokdeclarator): Handle type being a typedef for an
invalid type.
testsuite:
* gcc.dg/noncompile/
20020130-1.c: New test.
From-SVN: r49352
Tom Tromey [Thu, 31 Jan 2002 00:52:16 +0000 (00:52 +0000)]
jartool.c (main): NULL-terminate new_argv.
* jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
to init_args.
From-SVN: r49351
Loren J. Rittle [Thu, 31 Jan 2002 00:47:05 +0000 (00:47 +0000)]
c_locale_generic.cc: Check errno for ERANGE instead of non-zero to aid portability.
* config/locale/c_locale_generic.cc: Check errno for ERANGE
instead of non-zero to aid portability.
From-SVN: r49350
Peter Schmid [Thu, 31 Jan 2002 00:24:56 +0000 (00:24 +0000)]
messages.html: Fix example code.
2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* docs/html/22_locale/messages.html: Fix example code.
From-SVN: r49349
Richard Henderson [Thu, 31 Jan 2002 00:03:31 +0000 (16:03 -0800)]
ostream_inserter_arith.cc (test03_check): Break out from test03 and templatize.
* testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
out from test03 and templatize.
(test03): Use it.
From-SVN: r49348
Toon Moene [Wed, 30 Jan 2002 22:59:47 +0000 (23:59 +0100)]
intrin.c (upcasecmp_): New function.
2002-01-30 Toon Moene <toon@moene.indiv.nluug.nl>
* intrin.c (upcasecmp_): New function.
(ffeintrin_cmp_name_): Use it to correctly compare name
and table entry for bsearch.
From-SVN: r49347
David O'Brien [Wed, 30 Jan 2002 22:37:10 +0000 (22:37 +0000)]
config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2002-01-30 David O'Brien <obrien@FreeBSD.org>
* config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
* config/sparc/sparc_bi.h: Remove file.
* config/sparc/biarch64.h: New file (rename of sparc_bi.h).
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20020130102608.B9040@redhat.com>
From-SVN: r49346
Tom Tromey [Wed, 30 Jan 2002 22:22:36 +0000 (22:22 +0000)]
natPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return type.
* java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
parameter for `recv' return type.
From-SVN: r49345
Tom Tromey [Wed, 30 Jan 2002 22:20:23 +0000 (22:20 +0000)]
verify.cc (handle_ret_insn): Check for subroutine merge here...
* verify.cc (handle_ret_insn): Check for subroutine merge here...
(state::merge): ... not here.
(subr_entry_info): New structure.
(entry_points): New field.
(~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
entry_points.
From-SVN: r49344
Paolo Carlini [Wed, 30 Jan 2002 21:00:40 +0000 (22:00 +0100)]
2002-01-30 Paolo Carlini <pcarlini@unitus.it>
* config/locale/numpunct_members_gnu.cc
(numpunct<char, wchar_t>::_M_initialize_numpunct()):
Fix initialization of _M_grouping for locales which have
_M_thousands_sep == '\0'(L'\0', respectively).
* testsuite/22_locale/numpunct_byname.cc (test02): Add test.
From-SVN: r49343
Paolo Carlini [Wed, 30 Jan 2002 20:45:18 +0000 (21:45 +0100)]
ostream_inserter_arith.cc (test03): Better fix for 32/64 bit architectures...
2002-01-30 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ostream_inserter_arith.cc (test03):
Better fix for 32/64 bit architectures, avoiding the
implicit assumption that CHAR_BIT == 8.
From-SVN: r49342
Richard Henderson [Wed, 30 Jan 2002 18:07:44 +0000 (10:07 -0800)]
* sched-deps.c (sched_analyze): Make a call read the frame pointer.
From-SVN: r49341
Zack Weinberg [Wed, 30 Jan 2002 17:29:13 +0000 (17:29 +0000)]
* expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
From-SVN: r49340
GCC Administrator [Wed, 30 Jan 2002 08:16:39 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49338
David Billinghurst [Wed, 30 Jan 2002 04:48:28 +0000 (04:48 +0000)]
f77-edit-i-out.f: Escape \.
2002-01-30 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/f77-edit-i-out.f: Escape \. Allow \r\n and \r.
From-SVN: r49337
Richard Henderson [Wed, 30 Jan 2002 03:39:56 +0000 (19:39 -0800)]
991118-1.c: Cast various constants back to long long.
* gcc.c-torture/execute/991118-1.c: Cast various constants back
to long long.
* gcc.c-torture/execute/bf64-1.c: Likewise.
From-SVN: r49336
Tom Tromey [Wed, 30 Jan 2002 02:47:48 +0000 (02:47 +0000)]
List.java (addNotify): Correctly check to see if peer does not exist.
* java/awt/List.java (addNotify): Correctly check to see if peer
does not exist.
From-SVN: r49335
Jason Merrill [Wed, 30 Jan 2002 00:19:23 +0000 (19:19 -0500)]
dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
* dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
(output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
(reg_save): Use DW_CFA_offset_extended_sf instead.
* dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
From-SVN: r49334
Jakub Jelinek [Tue, 29 Jan 2002 23:15:24 +0000 (00:15 +0100)]
cselib.c (cselib_record_sets): Use IF_THEN_ELSE result in cselib_lookup.
* cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
in cselib_lookup.
* gcc.c-torture/execute/
20020129-1.c: New test.
From-SVN: r49333
Richard Henderson [Tue, 29 Jan 2002 23:01:10 +0000 (15:01 -0800)]
Fix markup last change.
From-SVN: r49332
Aldy Hernandez [Tue, 29 Jan 2002 22:49:55 +0000 (22:49 +0000)]
rs6000.md ("*call_value_local32"): Remove constraints.
2002-01-29 Aldy Hernandez <aldyh@redhat.com>
* rs6000.md ("*call_value_local32"): Remove constraints.
("*call_value_local64"): Same.
("*call_value_indirect_nonlocal_aix32"): Same.
("*call_value_nonlocal_aix32"): Same.
("*call_value_indirect_nonlocal_aix64"): Same.
("*call_value_nonlocal_aix64"): Same.
("*call_value_nonlocal_sysv"): Same.
From-SVN: r49331
Richard Henderson [Tue, 29 Jan 2002 22:37:36 +0000 (14:37 -0800)]
* config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
From-SVN: r49330
Richard Henderson [Tue, 29 Jan 2002 22:34:48 +0000 (14:34 -0800)]
expr.c (force_operand): Ignore flag_pic for detecting pic address loads.
* expr.c (force_operand): Ignore flag_pic for detecting pic
address loads.
* regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
* resource.c (mark_target_live_regs): Use regs_invalidated_by_call
instead of open-coded loop.
* doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
be fixed when in use.
From-SVN: r49329
Richard Henderson [Tue, 29 Jan 2002 22:11:09 +0000 (14:11 -0800)]
sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
* sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
* sched-rgn.c (propagate_deps): Update them.
* sched-deps.c (sched_analyze_insn): Update them. Flush the
clobbers list when either gets too long.
From-SVN: r49328
Jakub Jelinek [Tue, 29 Jan 2002 22:05:03 +0000 (23:05 +0100)]
i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS and INDEX_REGS the same as GENERAL_REGS.
* config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
and INDEX_REGS the same as GENERAL_REGS.
(SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
From-SVN: r49327
Neil Booth [Tue, 29 Jan 2002 19:10:28 +0000 (19:10 +0000)]
* tree.c (build_nonstandard_integer_type): Correct prototype.
From-SVN: r49326
Ulrich Weigand [Tue, 29 Jan 2002 18:45:53 +0000 (18:45 +0000)]
s390.md (movstrsico, [...]): Remove, replace by ...
* config/s390/s390.md (movstrsico, movstrdix_64,
movstrsix_31): Remove, replace by ...
(movstrdi_short, movstrsi_short, movstrdi_long,
movstrsi_long): ... these. New.
(movstrdi, movstrsi): Adapt.
(rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
Remove unnecessary CC clobber.
(*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
*ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
(divmoddi4): Don't partially initialize TImode register.
From-SVN: r49325
Geoffrey Keating [Tue, 29 Jan 2002 17:59:42 +0000 (17:59 +0000)]
* doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
From-SVN: r49324
Richard Henderson [Tue, 29 Jan 2002 17:46:38 +0000 (09:46 -0800)]
flow.c (print_rtl_and_abort): Remove.
* flow.c (print_rtl_and_abort): Remove.
(print_rtl_and_abort_fcn): Remove.
(verify_local_live_at_start): Use dump_bb instead.
(verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
(verify_wide_reg_1): Return 2 on mode test failure.
From-SVN: r49323
Neil Booth [Tue, 29 Jan 2002 17:23:41 +0000 (17:23 +0000)]
* Forgotten commit.
From-SVN: r49322
Neil Booth [Tue, 29 Jan 2002 17:19:58 +0000 (17:19 +0000)]
re PR c/3325 (cast of bit-field to same type gets discarded)
PR c/3325
* c-decl.c (enum_decl_context): Remove BITFIELD.
(grokdeclarator): Take bitfield width as an input.
Ensure bitfields are given the correct type. Perform
bitfield width validation with build_bitfield_integer_type
rather than waiting for finish_struct.
(grok_typename, grok_typename_in_parm_context, start_decl,
push_parmdecl, grokfield, start_function): Update calls to
grokdeclarator.
(build_bitfield_integer_type): New function.
(finish_struct): Move bitfield validation to grokdeclarator
and build_bitfield_integer_type.
* tree.c (build_nonstandard_integer_type): New function.
* tree.h (build_nonstandard_integer_type): New prototype.
objc:
* objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
testsuite:
* gcc.c-torture/compile/
20000224-1.c: Update.
* gcc.c-torture/execute/bitfld-1.c: New tests.
* gcc.dg/bitfld-1.c, bitfld-2.c: Diagnostic tests.
* gcc.dg/uninit-A.c: Update.
From-SVN: r49321
Tom Tromey [Tue, 29 Jan 2002 16:31:24 +0000 (16:31 +0000)]
GridLayout.java (layoutContainer): Use number of rows to compute height of each cell...
* java/awt/GridLayout.java (layoutContainer): Use number of rows
to compute height of each cell, and number of columns to compute
width of each cell.
* java/awt/Window.java (getOwnedWindows): Don't return null.
* java/awt/FlowLayout.java (layoutContainer): Set width and height
of component. Increment x using horizontal gap, not vertical
gap.
From-SVN: r49320
Joseph Myers [Tue, 29 Jan 2002 14:08:04 +0000 (14:08 +0000)]
snapshot-README, [...]: Use expressions such as @DATE@ rather than hardcoded dates.
* snapshot-README, snapshot-index.html: Use expressions such as
@DATE@ rather than hardcoded dates.
From-SVN: r49319
Joseph Myers [Tue, 29 Jan 2002 14:02:17 +0000 (14:02 +0000)]
* snapshot-README, snapshot-index.html: New files.
From-SVN: r49318
Philipp Thomas [Tue, 29 Jan 2002 13:26:33 +0000 (13:26 +0000)]
Update translations to current versions.
From-SVN: r49317
Geoffrey Keating [Tue, 29 Jan 2002 13:21:08 +0000 (13:21 +0000)]
aclocal.m4: Replace with version copied from libstdc++-v3.
* aclocal.m4: Replace with version copied from libstdc++-v3.
* configure.in: Update for changes to aclocal and Makefile.
* configure: Regenerate.
* Makefile.in: Correct install and uninstall for cross targets.
* libU77/configure: Regenerate.
From-SVN: r49316
Jakub Jelinek [Tue, 29 Jan 2002 12:09:37 +0000 (13:09 +0100)]
re PR other/1502 (Nonexistent -W options not diagnosed)
PR other/1502:
* cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
don't ignore unrecognized -W* options.
(cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
* cpplib.h (cpp_handle_option): Adjust prototype.
* c-decl.c (c_decode_options): Pass 0 as last argument to
cpp_handle_option.
PR c/2896:
* gcc.c (cpp_unique_options): Split from cpp_options.
(cpp_options): Source cpp_unique_options.
(default_compilers): Use cpp_unique_options instead of cpp_options
when used together with cc1_options.
(static_specs): Add cpp_unique_options.
* objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
when used together with cc1_options.
* decl2.c (cxx_decode_option): Pass 0 as last argument to
cpp_handle_option.
* lang-specs.h: Use cpp_unique_options instead of cpp_options
when used together with cc1_options.
From-SVN: r49315
Nathan Sidwell [Tue, 29 Jan 2002 09:52:51 +0000 (09:52 +0000)]
re PR c++/5132 (NaN = 0.0 * HUGE_VAL fails to compile in templates)
cp:
PR c++/5132
* typeck2.c (digest_init): Make sure non-array core type is
instantiated.
* decl2.c (reparse_absdcl_as_casts): Just store the type in the
constructor, rather than build a new one.
(build_expr_from_tree, CONSTRUCTOR case): Be careful with the
PURPOSE of constructor elts.
testsuite:
* g++.dg/template/ctor1.C: Add instantiation.
From-SVN: r49314
GCC Administrator [Tue, 29 Jan 2002 08:16:33 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49311
Kazu Hirata [Tue, 29 Jan 2002 05:10:13 +0000 (05:10 +0000)]
h8300-protos.h: Update the prototype of output_a_shift.
* config/h8300/h8300-protos.h: Update the prototype of
output_a_shift.
* config/h8300/h8300.c (output_a_shift): Remove an unused
argument 'insn'. Remove redundant code.
* config/h8300/h8300.md: Adust to the new prototype of
output_a_shift.
From-SVN: r49310
Kazu Hirata [Tue, 29 Jan 2002 05:02:41 +0000 (05:02 +0000)]
h8300-protos.h: Update the prototypes of emit_a_rotate and expand_a_rotate.
* config/h8300/h8300-protos.h: Update the prototypes of
emit_a_rotate and expand_a_rotate.
* config/h8300/h8300.c (emit_a_rotate): Change the type of the
first argument to 'enum rtx_code'.
(expand_a_rotate): Likewise.
From-SVN: r49309
Kazu Hirata [Tue, 29 Jan 2002 04:54:39 +0000 (04:54 +0000)]
h8300-protos.h: Update the prototype of output_simode_bld.
* config/h8300/h8300-protos.h: Update the prototype of
output_simode_bld.
* config/h8300/h8300.c (output_simode_bld): Remove an argumen
'log2'.
* config/h8300/h8300.md: Adjust to the new prototype.
From-SVN: r49308
Kazu Hirata [Tue, 29 Jan 2002 04:47:55 +0000 (04:47 +0000)]
h8300.c (h8300_adjust_insn_length): Remove redundant code.
* conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
redundant code.
From-SVN: r49307
Phil Edwards [Tue, 29 Jan 2002 02:57:55 +0000 (02:57 +0000)]
2002-01-28 Phil Edwards <pme@gcc.gnu.org>
ChangeLog rotation.
From-SVN: r49306
Phil Edwards [Tue, 29 Jan 2002 00:58:25 +0000 (00:58 +0000)]
MAINTAINERS: Update my email address.
2002-01-28 Phil Edwards <pme@gcc.gnu.org>
* MAINTAINERS: Update my email address.
From-SVN: r49305
John David Anglin [Tue, 29 Jan 2002 00:45:55 +0000 (00:45 +0000)]
emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM is a fixed register before returning...
* emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
is a fixed register before returning pic_offset_table_rtx.
* loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
From-SVN: r49304
Jason Merrill [Mon, 28 Jan 2002 23:23:26 +0000 (18:23 -0500)]
dwarf2.h (enum dwarf_call_frame_info): Add other DWARF 3 codes.
* dwarf2.h (enum dwarf_call_frame_info): Add other DWARF 3 codes.
Sync with src version.
From-SVN: r49302
Jason Merrill [Mon, 28 Jan 2002 23:00:32 +0000 (18:00 -0500)]
add PR number
From-SVN: r49301
Phil Edwards [Mon, 28 Jan 2002 22:13:12 +0000 (22:13 +0000)]
Makefile.am (doxygen, [...]): Tweak targets.
2002-01-28 Phil Edwards <pme@gcc.gnu.org>
* Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
* Makefile.in: Regenerate.
* docs/doxygen/run_doxygen: Update, mostly for man pages.
* docs/doxygen/Intro.3: Update.
* docs/doxygen/TODO: Update.
* docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
* docs/doxygen/mainpage.doxy: Update.
* docs/doxygen/user.cfg.in: Update for header rename. Also
regenerate comments and variables with 1.2.12.
* docs/doxygen/maint.cfg.in: Remove file.
* include/bits/stl_relops.h: Doxygenate.
* include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
* include/c_std/std_cassert.h, include/c_std/std_cctype.h,
include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
include/c_std/std_ciso646.h, include/c_std/std_climits.h,
include/c_std/std_clocale.h, include/c_std/std_cmath.h,
include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
include/c_std/std_cstring.h, include/c_std/std_ctime.h,
include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
include/ext/algorithm, include/ext/functional, include/ext/hash_map,
include/ext/hash_set, include/ext/iterator, include/ext/memory,
include/ext/numeric, include/ext/rb_tree, include/ext/rope,
include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
include/ext/stl_hashtable.h, include/ext/stl_rope.h,
include/std/std_algorithm.h, include/std/std_bitset.h,
include/std/std_complex.h, include/std/std_deque.h,
include/std/std_fstream.h, include/std/std_functional.h,
include/std/std_iomanip.h, include/std/std_ios.h,
include/std/std_iosfwd.h, include/std/std_iostream.h,
include/std/std_istream.h, include/std/std_iterator.h,
include/std/std_limits.h, include/std/std_list.h,
include/std/std_locale.h, include/std/std_map.h,
include/std/std_memory.h, include/std/std_numeric.h,
include/std/std_ostream.h, include/std/std_queue.h,
include/std/std_set.h, include/std/std_sstream.h,
include/std/std_stack.h, include/std/std_stdexcept.h,
include/std/std_streambuf.h, include/std/std_string.h,
include/std/std_utility.h, include/std/std_valarray.h,
include/std/std_vector.h: Add/correct @file doxygen hook.
* include/ext/memory: Doxygenate most of rest of file.
* libsupc++/exception: Doxygen output formatting.
* libsupc++/new: Say which header it is.
* testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
* docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
* docs/html/23_containers/howto.html: Describe O(n) list::size().
* docs/html/27_io/howto.html: Also link to Langer and Kreft text.
From-SVN: r49300
Kaveh R. Ghazi [Mon, 28 Jan 2002 21:08:34 +0000 (21:08 +0000)]
* libiberty.h (C_alloca): Add ATTRIBUTE_MALLOC.
From-SVN: r49299
Paolo Carlini [Mon, 28 Jan 2002 20:07:57 +0000 (21:07 +0100)]
filebuf_members.cc (test_05): Add test.
2002-01-28 Paolo Carlini <pcarlini@unitus.it>
Charles Leggett <CGLeggett@lbl.gov>
* testsuite/27_io/filebuf_members.cc (test_05): Add test.
Co-Authored-By: Charles Leggett <CGLeggett@lbl.gov>
From-SVN: r49297
Paul Koning [Mon, 28 Jan 2002 20:07:01 +0000 (12:07 -0800)]
builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace BT_FN_VOID_PTR_VAR.
* builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
BT_FN_VOID_PTR_VAR.
* builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
* doc/extend.texi (__builtin_prefetch): Update documentation:
first argument is now const void ptr.
* gcc.c-torture/execute/builtin-prefetch-1.c: Changed first
argument to __builtin_prefetch to be const ptr.
From-SVN: r49296