gcc.git
22 years agoconfigure.in: Added support for mingw.
Adam Megacz [Sat, 2 Feb 2002 04:19:24 +0000 (04:19 +0000)]
configure.in: Added support for mingw.

2002-02-01  Adam Megacz <adam@xwt.org>

        * configure.in: Added support for mingw.
        * java/lang/Win32Process.java: Created as empty file.
        * java/lang/natWin32Process.cc: Created as empty file.

From-SVN: r49425

22 years ago*** empty log message ***
Adam Megacz [Sat, 2 Feb 2002 04:11:01 +0000 (04:11 +0000)]
*** empty log message ***

From-SVN: r49424

22 years ago2002-02-01 Eric Christopher <echristo@redhat.com>
Eric Christopher [Sat, 2 Feb 2002 03:54:39 +0000 (03:54 +0000)]
2002-02-01  Eric Christopher  <echristo@redhat.com>

From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
* config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
* config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
(ASM_OUTPUT_REG_POP): Ditto.

From-SVN: r49423

22 years agodocumentation.html: Update for 3.0.96.
Phil Edwards [Sat, 2 Feb 2002 00:18:24 +0000 (00:18 +0000)]
documentation.html: Update for 3.0.96.

2002-02-01  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/documentation.html:  Update for 3.0.96.
* docs/html/faq/index.html:  Update for 3.0.96.
* docs/html/faq/index.txt:  Regenerated.
* docs/doxygen/TODO:  Update notes.
* docs/html/17_intro/howto.html:  Initial impl-specific listing.

From-SVN: r49422

22 years ago* gcc.dg/20020201-2.c: New test.
Jakub Jelinek [Sat, 2 Feb 2002 00:16:39 +0000 (01:16 +0100)]
* gcc.dg/20020201-2.c: New test.

From-SVN: r49421

22 years agoc-decl.c, [...]: Revert bitfield patch.
Neil Booth [Sat, 2 Feb 2002 00:14:41 +0000 (00:14 +0000)]
c-decl.c, [...]: Revert bitfield patch.

* c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
patch.
* gcc.dg/bitfld-1.c: Update.
* gcc.dg/bitfld-2.c: Update.
* gcc.c-torture/execute/bitfld-1.x: New.

From-SVN: r49420

22 years ago* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
Jakub Jelinek [Sat, 2 Feb 2002 00:05:11 +0000 (01:05 +0100)]
* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.

From-SVN: r49419

22 years agoadded change for gcj manual.
Nic Ferrier [Fri, 1 Feb 2002 23:46:11 +0000 (23:46 +0000)]
added change for gcj manual.

From-SVN: r49418

22 years ago* gcj.texi (About CNI): New node.
Nic Ferrier [Fri, 1 Feb 2002 23:43:35 +0000 (23:43 +0000)]
* gcj.texi (About CNI): New node.

From-SVN: r49417

22 years agore PR c/5304 (gcc-20011231 generates incorrect divmod code for chars)
Jakub Jelinek [Fri, 1 Feb 2002 23:43:19 +0000 (00:43 +0100)]
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

22 years agocfganal.c: Include tm_p.h.
Janis Johnson [Fri, 1 Feb 2002 23:38:46 +0000 (23:38 +0000)]
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

22 years agoFix year typos.
Richard Henderson [Fri, 1 Feb 2002 23:19:29 +0000 (15:19 -0800)]
Fix year typos.

From-SVN: r49414

22 years agobad.def: Remove non-historical reference to version 0.6.
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

22 years agosparc.c (sparc_emit_set_symbolic_const64): If we are given conflicting registers...
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

22 years agore PR java/4972 (undefined reference to `libiconv')
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

22 years agore PR java/5080 (gcc/java/jcf-parse.c:908: `LC_CTYPE' undeclared (first use in this...
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

22 years agocp-demangle.c (cp_demangle_type): Call demangling_new with DMGL_GNU_V3.
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

22 years agofix typo
Jason Merrill [Fri, 1 Feb 2002 19:51:42 +0000 (14:51 -0500)]
fix typo

From-SVN: r49408

22 years agore PR c++/4872 (missed warning (no return) -- regression from 2.95)
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

22 years agotypeck.c (build_component_ref): Always complain about offsetof constructs on non...
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

22 years agosol2-sld-64.h: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
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

22 years agolink, expect link errors
Jason Merrill [Fri, 1 Feb 2002 19:19:50 +0000 (14:19 -0500)]
link, expect link errors

From-SVN: r49404

22 years agouse unused attribute for the parm
Jason Merrill [Fri, 1 Feb 2002 19:15:58 +0000 (14:15 -0500)]
use unused attribute for the parm

From-SVN: r49403

22 years agore PR target/5469 ([IA64] ia64 arc profiling can use the wrong global pointer)
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

22 years agocfganal.c (keep_with_call_p): New function.
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

22 years agoinstall.texi (avr): Update outdated URL.
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

22 years agoI'm the i386 maintainer.
Richard Henderson [Fri, 1 Feb 2002 16:56:43 +0000 (08:56 -0800)]
I'm the i386 maintainer.

From-SVN: r49398

22 years agofix typo
Jason Merrill [Fri, 1 Feb 2002 16:06:10 +0000 (11:06 -0500)]
fix typo

From-SVN: r49397

22 years agoerror.c (dump_scope): Don't add TFF_DECL_SPECIFIERS.
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

22 years agore PR c++/4286 (Internal error: Segmentation fault)
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

22 years agostormy16.md (pushqi): New.
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

22 years agoMakefile.in (c-parse.c): Handle .output file.
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

22 years agomips.h (ENDIAN_SPEC): Output the endianness flag if the -me[lb] option is given.
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

22 years agoDaily bump.
GCC Administrator [Fri, 1 Feb 2002 08:17:03 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r49390

22 years agoverify.cc (state::enter_subroutine): New method.
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

22 years agocodecvt_specializations_ieee_1003.1-200x.h: Initialize all data members in copy ctor.
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

22 years agocp-demangle.c: Revert yesterday's change.
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

22 years agocodecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv().
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

22 years agoc-lex.c (yyparse): Call debug_hooks->start_source_file for the primary source file...
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

22 years agore PR fortran/3743 (Reference to intrinsic `ISHFT' invalid)
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

22 years agortlanal.c (subreg_regno_offset): Do not use SUBREG_REGNO_OFFSET.
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

22 years agore PR c++/3395 (Attribute causes type lookup to fail. Regression.)
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

22 years agoConfigure changes to enable cross compiling.
Anthony Green [Thu, 31 Jan 2002 22:25:31 +0000 (22:25 +0000)]
Configure changes to enable cross compiling.

From-SVN: r49378

22 years agoAllow attributes in parms and casts.
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

22 years agogccbug.in: Follow GNU Coding Standards for --version.
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

22 years agoconfigure.in: Treat mingw the same as cywin wrt HAVE_SYS_ERRLIST.
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

22 years agoCheck in new greek translation.
Philipp Thomas [Thu, 31 Jan 2002 12:15:25 +0000 (12:15 +0000)]
Check in new greek translation.

From-SVN: r49370

22 years agoifcvt.c (noce_process_if_block): Make a copy of the destination when copying back...
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

22 years agoDaily bump.
GCC Administrator [Thu, 31 Jan 2002 08:16:41 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49368

22 years agoifcvt.c (dead_or_predicable): Handling merging when other_bb and new_dest are the...
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

22 years agoRecord PR number last change.
Richard Henderson [Thu, 31 Jan 2002 06:35:55 +0000 (22:35 -0800)]
Record PR number last change.

From-SVN: r49365

22 years agortl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
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

22 years agoThis commit was generated by cvs2svn to compensate for changes in r49361,
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

22 years agoInitial revision
Bryce McKinlay [Thu, 31 Jan 2002 02:48:44 +0000 (02:48 +0000)]
Initial revision

From-SVN: r49359

22 years agoc_locale_gnu.cc: Same errno fixes as generic.
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

22 years agoMake gcsec-1.c unsupported for AIX.
Tom Rix [Thu, 31 Jan 2002 01:44:14 +0000 (01:44 +0000)]
Make gcsec-1.c unsupported for AIX.

From-SVN: r49357

22 years agomips.h (PARM_BOUNDARY): Guarantee alignment of arguments to 64-bit boundaries on...
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

22 years ago* loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
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

22 years agoc_locale_gnu.cc: Same errno fixes as generic.
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

22 years agocp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
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

22 years agoc-decl.c (grokdeclarator): Handle type being a typedef for an invalid type.
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

22 years agojartool.c (main): NULL-terminate new_argv.
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

22 years agoc_locale_generic.cc: Check errno for ERANGE instead of non-zero to aid portability.
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

22 years agomessages.html: Fix example code.
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

22 years agoostream_inserter_arith.cc (test03_check): Break out from test03 and templatize.
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

22 years agointrin.c (upcasecmp_): New function.
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

22 years agoconfig.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
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

22 years agonatPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return type.
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

22 years agoverify.cc (handle_ret_insn): Check for subroutine merge here...
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

22 years ago2002-01-30 Paolo Carlini <pcarlini@unitus.it>
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

22 years agoostream_inserter_arith.cc (test03): Better fix for 32/64 bit architectures...
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

22 years ago* sched-deps.c (sched_analyze): Make a call read the frame pointer.
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

22 years ago* expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
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

22 years agoDaily bump.
GCC Administrator [Wed, 30 Jan 2002 08:16:39 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49338

22 years agof77-edit-i-out.f: Escape \.
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

22 years ago991118-1.c: Cast various constants back to long long.
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

22 years agoList.java (addNotify): Correctly check to see if peer does not exist.
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

22 years agodwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
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

22 years agocselib.c (cselib_record_sets): Use IF_THEN_ELSE result in cselib_lookup.
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

22 years agoFix markup last change.
Richard Henderson [Tue, 29 Jan 2002 23:01:10 +0000 (15:01 -0800)]
Fix markup last change.

From-SVN: r49332

22 years agors6000.md ("*call_value_local32"): Remove constraints.
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

22 years ago* config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
Richard Henderson [Tue, 29 Jan 2002 22:37:36 +0000 (14:37 -0800)]
* config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.

From-SVN: r49330

22 years agoexpr.c (force_operand): Ignore flag_pic for detecting pic address loads.
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

22 years agosched-int.h (struct deps_reg): Add uses_length, clobbers_length.
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

22 years agoi386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS and INDEX_REGS the same as GENERAL_REGS.
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

22 years ago* tree.c (build_nonstandard_integer_type): Correct prototype.
Neil Booth [Tue, 29 Jan 2002 19:10:28 +0000 (19:10 +0000)]
* tree.c (build_nonstandard_integer_type): Correct prototype.

From-SVN: r49326

22 years agos390.md (movstrsico, [...]): Remove, replace by ...
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

22 years ago* doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
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

22 years agoflow.c (print_rtl_and_abort): Remove.
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

22 years ago* Forgotten commit.
Neil Booth [Tue, 29 Jan 2002 17:23:41 +0000 (17:23 +0000)]
* Forgotten commit.

From-SVN: r49322

22 years agore PR c/3325 (cast of bit-field to same type gets discarded)
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

22 years agoGridLayout.java (layoutContainer): Use number of rows to compute height of each cell...
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

22 years agosnapshot-README, [...]: Use expressions such as @DATE@ rather than hardcoded dates.
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

22 years ago* snapshot-README, snapshot-index.html: New files.
Joseph Myers [Tue, 29 Jan 2002 14:02:17 +0000 (14:02 +0000)]
* snapshot-README, snapshot-index.html: New files.

From-SVN: r49318

22 years agoUpdate translations to current versions.
Philipp Thomas [Tue, 29 Jan 2002 13:26:33 +0000 (13:26 +0000)]
Update translations to current versions.

From-SVN: r49317

22 years agoaclocal.m4: Replace with version copied from libstdc++-v3.
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

22 years agore PR other/1502 (Nonexistent -W options not diagnosed)
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

22 years agore PR c++/5132 (NaN = 0.0 * HUGE_VAL fails to compile in templates)
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

22 years agoDaily bump.
GCC Administrator [Tue, 29 Jan 2002 08:16:33 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49311

22 years agoh8300-protos.h: Update the prototype of output_a_shift.
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