Jakub Jelinek
d3c5265862
re PR c/5304 (gcc-20011231 generates incorrect divmod code for chars)
...
PR c/5304:
* expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
unconditionally.
* gcc.c-torture/execute/20020201-1.c: New test.
From-SVN: r49416
2002-02-02 00:43:19 +01:00
Janis Johnson
02c5a3bd59
cfganal.c: Include tm_p.h.
...
* cfganal.c: Include tm_p.h.
(keep_with_call_p): Fix the test that determines if a register holds
the return value of a call.
From-SVN: r49415
2002-02-01 23:38:46 +00:00
Richard Henderson
ead39bdfef
Fix year typos.
...
From-SVN: r49414
2002-02-01 15:19:29 -08:00
Toon Moene
0aa00c7fa1
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
2002-02-01 22:43:03 +00:00
DJ Delorie
3968de80f8
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
2002-02-01 16:54:39 -05:00
Craig Rodrigues
1c24f830c5
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
2002-02-01 21:16:05 +00:00
Craig Rodrigues
58fae3f7ae
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
2002-02-01 21:07:31 +00:00
H.J. Lu
3a441e3884
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
2002-02-01 12:37:13 -08:00
Jason Merrill
f2f6a4b077
fix typo
...
From-SVN: r49408
2002-02-01 14:51:42 -05:00
Jason Merrill
efe49da0ba
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
2002-02-01 14:32:51 -05:00
Jason Merrill
f2d9afece3
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
2002-02-01 14:31:23 -05:00
David O'Brien
1338ea6c7f
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
2002-02-01 19:30:01 +00:00
Jason Merrill
f17d060eb7
link, expect link errors
...
From-SVN: r49404
2002-02-01 14:19:50 -05:00
Jason Merrill
a9c898b965
use unused attribute for the parm
...
From-SVN: r49403
2002-02-01 14:15:58 -05:00
Janis Johnson
91f5782d97
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
2002-02-01 19:01:55 +00:00
Janis Johnson
f015be23f5
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
2002-02-01 18:58:39 +00:00
Craig Rodrigues
63708ffc63
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
2002-02-01 18:42:37 +00:00
Richard Henderson
520e9de1f5
I'm the i386 maintainer.
...
From-SVN: r49398
2002-02-01 08:56:43 -08:00
Jason Merrill
8e5d8bfa7c
fix typo
...
From-SVN: r49397
2002-02-01 11:06:10 -05:00
Jason Merrill
55ace93c8a
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
2002-02-01 10:56:43 -05:00
Jason Merrill
65f36ac868
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
2002-02-01 10:50:01 -05:00
Andrew Haley
5ee4950e46
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
2002-02-01 15:20:16 +00:00
Jason Merrill
b88c0704cf
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
2002-02-01 06:48:46 -05:00
Alexandre Oliva
ac282977f6
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
2002-02-01 10:27:36 +00:00
GCC Administrator
9b1856d6c8
Daily bump.
...
From-SVN: r49390
2002-02-01 08:17:03 +00:00
Tom Tromey
de0ed7b6c5
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
2002-02-01 05:48:00 +00:00
Benjamin Kosnik
6f48900c2b
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
2002-02-01 03:20:39 +00:00
Phil Edwards
6d747e63e0
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
2002-02-01 01:27:21 +00:00
Loren J. Rittle
4a78d8641c
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
2002-02-01 00:24:12 +00:00
Zack Weinberg
bebc7e8b3d
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
2002-02-01 00:11:30 +00:00
David Billinghurst
81622d2908
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
2002-01-31 23:48:06 +00:00
Kazu Hirata
5809eb5f4c
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
2002-01-31 23:29:09 +00:00
Jason Merrill
a588fe25b7
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
2002-01-31 17:52:11 -05:00
Anthony Green
e2f2e70a94
Configure changes to enable cross compiling.
...
From-SVN: r49378
2002-01-31 22:25:31 +00:00
Jason Merrill
98884b2676
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
2002-01-31 15:14:37 -05:00
Joseph Myers
8512bbd752
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
2002-01-31 19:36:28 +00:00
Adam Megacz
46af757b06
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
2002-01-31 13:19:39 -05:00
Philipp Thomas
100de59d61
Check in new greek translation.
...
From-SVN: r49370
2002-01-31 12:15:25 +00:00
Richard Sandiford
74cb3cc87d
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
2002-01-31 11:07:14 +00:00
GCC Administrator
98367224a0
Daily bump.
...
From-SVN: r49368
2002-01-31 08:16:41 +00:00
Richard Henderson
874b5b14bf
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
2002-01-30 23:10:49 -08:00
Richard Henderson
89cf7be582
Record PR number last change.
...
From-SVN: r49365
2002-01-30 22:35:55 -08:00
Richard Henderson
e803a64bc8
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
2002-01-30 22:21:31 -08:00
Bryce McKinlay
5867245e31
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
2002-01-31 02:48:54 +00:00
Bryce McKinlay
c2206235fb
Initial revision
...
From-SVN: r49359
2002-01-31 02:48:44 +00:00
Benjamin Kosnik
f5d09ce747
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
2002-01-31 02:05:17 +00:00
Tom Rix
8785985197
Make gcsec-1.c unsupported for AIX.
...
From-SVN: r49357
2002-01-31 01:44:14 +00:00
Alexandre Oliva
0b51254df2
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
2002-01-31 01:40:54 +00:00
Steve Ellcey
71cef493de
* loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
...
From-SVN: r49355
2002-01-30 17:37:22 -08:00
Benjamin Kosnik
2a4e640755
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
2002-01-31 01:21:08 +00:00