Commit Graph

40665 Commits

Author SHA1 Message Date
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
Phil Edwards
46ab74b1fd 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
2002-01-31 01:03:05 +00:00
Joseph Myers
6169e5fdd8 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
2002-01-31 01:01:02 +00:00
Tom Tromey
250fce1dfa jartool.c (main): NULL-terminate new_argv.
* jartool.c (main): NULL-terminate new_argv.  Pass 0 as argument
	to init_args.

From-SVN: r49351
2002-01-31 00:52:16 +00:00
Loren J. Rittle
2083b5be4d 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
2002-01-31 00:47:05 +00:00
Peter Schmid
c3a7de6ad8 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
2002-01-31 00:24:56 +00:00
Richard Henderson
2a4a2f1da2 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
2002-01-30 16:03:31 -08:00
Toon Moene
41ff8055c5 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
2002-01-30 22:59:47 +00:00
David O'Brien
86f808dc81 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
2002-01-30 22:37:10 +00:00
Tom Tromey
1b8337e7e1 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
2002-01-30 22:22:36 +00:00
Tom Tromey
b3de7ff371 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
2002-01-30 22:20:23 +00:00
Paolo Carlini
f2e7381d8e 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
2002-01-30 21:00:40 +00:00
Paolo Carlini
a852d50fb4 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
2002-01-30 20:45:18 +00:00
Richard Henderson
5748ebeb99 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
From-SVN: r49341
2002-01-30 10:07:44 -08:00
Zack Weinberg
20d32cc2b5 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
From-SVN: r49340
2002-01-30 17:29:13 +00:00
GCC Administrator
6084253c7e Daily bump.
From-SVN: r49338
2002-01-30 08:16:39 +00:00
David Billinghurst
02f06b3c6d 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
2002-01-30 04:48:28 +00:00
Richard Henderson
2fd667c276 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
2002-01-29 19:39:56 -08:00
Tom Tromey
7950ed567c 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
2002-01-30 02:47:48 +00:00
Jason Merrill
6bb289655c 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
2002-01-29 19:19:23 -05:00
Jakub Jelinek
37060e78fa 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
2002-01-30 00:15:24 +01:00
Richard Henderson
003b9f7872 Fix markup last change.
From-SVN: r49332
2002-01-29 15:01:10 -08:00
Aldy Hernandez
d18dba687c 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
2002-01-29 22:49:55 +00:00
Richard Henderson
80a8aac610 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
From-SVN: r49330
2002-01-29 14:37:36 -08:00
Richard Henderson
12beba6fe6 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
2002-01-29 14:34:48 -08:00
Richard Henderson
2583081eb5 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
2002-01-29 14:11:09 -08:00
Jakub Jelinek
3b8d200e8d 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
2002-01-29 23:05:03 +01:00
Neil Booth
2d3115eb53 * tree.c (build_nonstandard_integer_type): Correct prototype.
From-SVN: r49326
2002-01-29 19:10:28 +00:00