Commit Graph

42407 Commits

Author SHA1 Message Date
Zack Weinberg
74b273d68f 980707-1.c: Don't use isspace().
* gcc.c-torture/execute/980707-1.c: Don't use isspace().
	Include stdlib.h, not stdio.h or ctype.h.

From-SVN: r52619
2002-04-22 17:40:50 +00:00
Andrew Haley
a2761d6826 jcf-write.c (push_long_const): lo, hi: New variables.
2002-04-19  Andrew Haley  <aph@redhat.com>

        * jcf-write.c (push_long_const): lo, hi: New variables.
        Use rshift_double to extract the high part of a 64-bit long.
        Use WORD_TO_INT to extract the low part.

        * jcf-parse.c (get_constant): CONSTANT_Integer: Use an unsigned
        HOST_WIDE_INT for num.  Use JPOOL_UINT to get it.
        CONSTANT_Double: Use JPOOL_UINT to get both halve of a double.

From-SVN: r52618
2002-04-22 16:55:39 +00:00
Mark Mitchell
0a528c61ff * gcc_release (build_diffs): Remove reference to Chill.
From-SVN: r52614
2002-04-22 16:00:13 +00:00
Philipp Thomas
5c9c129397 Update turkish catalog
From-SVN: r52612
2002-04-22 14:16:46 +00:00
David S. Miller
4bf0144590 dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction reading sequence.
2002-04-21  David S. Miller  <davem@redhat.com>

	* include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
	magic instruction reading sequence.

From-SVN: r52609
2002-04-22 01:13:32 -07:00
GCC Administrator
f0cca0f605 Daily bump.
From-SVN: r52607
2002-04-22 07:16:59 +00:00
Aldy Hernandez
0d9185726f altivec.h (vec_xor): Add variant for both args being vector signed int.
2002-04-22  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_xor): Add variant for both args
        being vector signed int.
        (vec_andc): Same.
        (vec_xor): Add variant for both args being vector signed char.
        Remove redundant variant.
        (vec_andc): Same.

From-SVN: r52602
2002-04-22 06:39:02 +00:00
David S. Miller
a61df6c727 [multiple changes]
2002-04-22  David S. Miller  <davem@redhat.com>

	* include/private/gcconfig.h: Hard-code STACKBOTTOM on
	64-bit SPARC Linux, the __libc_stack_end technique does
	not work in this case.

2002-04-22  Jeff Sturm  <jsturm@one-point.com>

	* gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs.

From-SVN: r52601
2002-04-21 23:07:41 -07:00
David S. Miller
77e2c290ba sparc.md (set then compare DI mode peephole2): Fix compare mode in output RTL.
2002-04-21  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md (set then compare DI mode peephole2): Fix
	compare mode in output RTL.

From-SVN: r52597
2002-04-21 18:25:11 -07:00
Hans-Peter Nilsson
bb03c71049 20020415-1.c: Expect warning for unsupported -fpic on cris-*-elf* and mmix-*-*.
* gcc.dg/20020415-1.c: Expect warning for unsupported -fpic on
	cris-*-elf* and mmix-*-*.
	* g77.f-torture/execute/io0.x: xfail for cris-*-elf.
	* g77.f-torture/execute/io1.x, g77.f-torture/execute/20001201.x,
	g77.f-torture/execute/6367.x, g77.f-torture/execute/u77-test.x:
	Ditto.
	* gcc.dg/wint_t-1.c: Mark excess errors for cris-*-elf.
	* gcc.dg/wchar_t-1.c: Ditto.

From-SVN: r52595
2002-04-22 01:19:06 +00:00
David Edelsohn
ee2ca2a22e rs6000.c (rs6000_override_options): Correct style and formatting of previous patch.
* config/rs6000/rs6000.c (rs6000_override_options): Correct
        style and formatting of previous patch.

From-SVN: r52593
2002-04-21 21:01:12 -04:00
Alan Modra
894bdff6f2 rs6000.c (rs6000_override_options): Always clear flag_pic for ABI_AIX.
* config/rs6000/rs6000.c (rs6000_override_options): Always clear
	flag_pic for ABI_AIX.

From-SVN: r52591
2002-04-22 09:51:52 +09:30
Hans-Peter Nilsson
5b3dc8155f cleanup1.C (C::C()): Initialize member c.
* g++.dg/opt/cleanup1.C (C::C()): Initialize member c.
	Clarify comment.

From-SVN: r52588
2002-04-21 20:32:48 +00:00
Neil Booth
562a5c27c2 cppexp.c (struct op, [...]): Replace U_CHAR with uchar.
* cppexp.c (struct op, parse_number): Replace U_CHAR with uchar.
	* cppfiles.c (read_include_file): Similarly.
	* cpphash.h (DSC, U_CHAR, ustrcmp, ustrncmp, ustrlen,
	uxstrdup ustrchr, ufputs): Similarly.
	* cppinit.c (TRIGRAPH_MAP, cpp_destroy): Similarly.
	* cpplex.c (parse_slow, unescaped_terminator_p, save_comment,
	cpp_ideq, parse_identifier, parse_number): Similarly.
	* cpplib.c (struct directive, dequote_string, D, run_directive,
	cpp_push_buffer): Similarly.
	* cppmacro.c (new_string_token, builtin_macro, cpp_quote_string,
	_cpp_create_definition, check_trad_stringification,
	cpp_macro_definition): Similarly.

From-SVN: r52587
2002-04-21 18:46:42 +00:00
Neil Booth
9ac3b1bec7 cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.
* cppmacro.c (funlike_invocation_p): Don't step back over CPP_EOF.
testsuite:
	* gcc.dg/cpp/endif.h, gcc.dg/cpp/endif.c: New tests.

From-SVN: r52586
2002-04-21 16:17:55 +00:00
Franz Sirl
d8b85ae597 20000906-1.x: Delete.
2002-04-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/execute/20000906-1.x: Delete.

From-SVN: r52584
2002-04-21 16:11:59 +00:00
Joseph Myers
ace133aa78 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
From-SVN: r52582
2002-04-21 14:59:15 +01:00
Joseph Myers
57e27c8296 * update_web_docs (MANUALS): Remove chill. Add gnat_rm.
From-SVN: r52581
2002-04-21 14:50:09 +01:00
Florian Weimer
88e1739cf0 * gnat_ug.texi: New file.
From-SVN: r52580
2002-04-21 14:56:01 +02:00
Mark Wielaard
da3c5444ca re PR java/6391 (Constant float to int conversions don't use ieee_real_to_integer when compiled to byte-code)
* mauve-libgcj: Don't run java.lang.ref tests since they are buggy.

	* libjava.mauve/xfail: Expect failures for PR java/6391 and
	libgcj/6389.

From-SVN: r52577
2002-04-21 12:35:04 +00:00
David S. Miller
714708c8b1 dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer arg.
2002-04-19  David S. Miller  <davem@redhat.com>

	* include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
	arg.
	(MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
	(INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
	on Sparc too.
	* include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
	for 64-bit sparc.
	(MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
	* sysdeps/sparc/locks.h: New file.
	* configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
	on all sparc Solaris configurations.  Set to
	include/dwarf2-signal.h on sparc Linux.
	* configure: Regenerate
	* configure.host (can_unwind_signal): sparc*-linux* can do it now.

From-SVN: r52575
2002-04-21 02:37:49 -07:00
GCC Administrator
25c52eacb2 Daily bump.
From-SVN: r52573
2002-04-21 07:16:57 +00:00
Florian Weimer
5c558dd939 gnat_rm.texi: Do not include texiplus.texi.
* gnat_rm.texi: Do not include texiplus.texi.  Include fdl.texi
	instead of gfdl.texi

	* xgnatug.adb, ug_words: New files.

	* Makefile.in (doc, dvi): New targets.  Build gnat_ug_*,
        gnat_rm and gnat-style manuals.

From-SVN: r52569
2002-04-21 09:10:12 +02:00
David Edelsohn
9dda4cc899 rs6000.c (output_profile_hook): Do not increment labelno.
* config/rs6000/rs6000.c (output_profile_hook): Do not increment
        labelno.

From-SVN: r52565
2002-04-21 01:04:01 -04:00
Benjamin Kosnik
9a4b4cfc1a re PR libstdc++/6360 (Wrong workaround in char_traits.h - ignore stops on \0xff)
2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6360
	* include/bits/istream.tcc (istream::ignore): Streamline, use
	delimiter as is.
	* include/bits/streambuf.tcc: Use this->gptr.
	* testsuite/27_io/istream_unformatted.cc (test08): Add test.

From-SVN: r52563
2002-04-21 04:15:29 +00:00
Joseph Myers
20764052b9 invoke.texi: Remove Chill references.
* doc/invoke.texi: Remove Chill references.
	* doc/gcc.texi: Update last modified date.

From-SVN: r52561
2002-04-20 21:44:10 +01:00
Mark Mitchell
626b711eb0 Remove Chill
[[Split portion of a mixed commit.]]

From-SVN: r52560.2
2002-04-20 20:42:51 +00:00
Kazu Hirata
26b2988482 lib1funcs.asm (___mulsi3): Remove unnecessary push and pop.
* config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary
	push and pop.  Replace add.l with add.w.

From-SVN: r52559
2002-04-20 20:21:35 +00:00
Toshiyasu Morita
59184677f4 lib1funcs.asm (___mulsi3): Use hardware multiply instructions for H8/300H case.
* config/h8300/lib1funcs.asm (___mulsi3): Use hardware
	multiply instructions for H8/300H case.

From-SVN: r52558
2002-04-20 18:01:53 +00:00
Toshiyasu Morita
b1113e0aac lib1funcs.asm (___cmpsi2, ___ucmpsi2): Bum three instructions from each routine.
* config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2):
	Bum three instructions from each routine.

From-SVN: r52557
2002-04-20 16:02:36 +00:00
Toon Moene
994bca95a4 root.texi: Remove variable version-g77.
2002-04-20  Toon Moene  <toon@moene.indiv.nluug.nl>

	* root.texi: Remove variable version-g77.
	* g77.texi: Remove the single use of that variable.

From-SVN: r52556
2002-04-20 13:35:28 +00:00
David Billinghurst
0c69ed55a3 f77-edit-i-in.f: Restore missing { dg-do run }
2002-04-20  David.Billinghurst <David.Billinghurst@riotinto.com>

	* g77.dg/f77-edit-i-in.f: Restore missing { dg-do run }

From-SVN: r52555
2002-04-20 13:23:01 +00:00
Neil Booth
b03e38e17e Makefile.in: Update.
* Makefile.in: Update.
	* decl.c (push_c_function_context, pop_c_function_context,
	mark_c_function_context): Rename for consistency.
	* c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
	* c-tree.h (push_c_function_context, pop_c_function_context,
	mark_c_function_context): Rename for consistency.
	* c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
	LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
	* function.c (init_lang_status, save_lang_status,
	restore_lang_status, mark_lang_status, free_lang_status):
	Move to langhooks.h.
	(push_function_context_to, pop_function_context_from,
	free_after_parsing, prepare_function_start, ggc_mark_struct_function):
	Update.
	* function.h (init_lang_status, save_lang_status,
	restore_lang_status, mark_lang_status, free_lang_status):
	Move to langhooks.h.
	* langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
	LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
	LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
	LANG_HOOKS_FUNCTION_INITIALIZER): New.
	(LANG_HOOKS_INITIALIZER): Update.
	(lhd_do_nothing_f): New.
	* langhooks.h (struct lang_hooks_for_functions): New.
	(struct lang_hooks): New hooks.
	* langhooks.c (lhd_do_nothing_f): New.
cp:
	* cp-lang.c (LANG_HOOKS_FUNCTION_INIT,
	LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_MARK): Redefine.
	* cp-tree.h (cxx_push_function_context, cxx_pop_function_context,
	cxx_mark_function_context): New.
	* decl.c (push_cp_function_context, pop_cp_function_context,
	mark_cp_function_context): Rename for consistency.
	(cxx_init_decl_processing): Don't set old hooks.
objc:
	* objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
	LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.

From-SVN: r52551
2002-04-20 09:14:37 +00:00
GCC Administrator
c874e8a3bd Daily bump.
From-SVN: r52550
2002-04-20 07:17:04 +00:00
David S. Miller
db430d2664 linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
2002-04-19  David S. Miller  <davem@redhat.com>

	* config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
	* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.

From-SVN: r52546
2002-04-19 21:47:49 -07:00
Hans Boehm
1936721505 configure: Rebuilt.
2002-04-19  Hans Boehm <Hans_Boehm@hp.com>

	* configure: Rebuilt.
	* configure.in (backtrace): Function doesn't work on IA-64.

From-SVN: r52544
2002-04-20 00:31:03 +00:00
Toon Moene
d106599fbc re PR libf2c/6367 (multiple repeat counts confuse namelist read into array)
2002-04-19  Toon Moene  <toon@moene.indiv.nluug.nl>

	* PR6367
	* g77.f-torture/execute/6367.f: New test.
	* g77.f-torture/execute/6367.x: Disable for MMIX.

From-SVN: r52540
2002-04-19 21:52:11 +00:00
Jakub Jelinek
0f2a345797 re PR rtl-optimization/3756 (gcc wishlist: arithmetic right shift for ternary operator)
PR optimization/3756
	* config/i386/i386.c (ix86_expand_int_movcc): Optimize
	x = ((int) y < 0) ? cst1 : cst2.

From-SVN: r52539
2002-04-19 23:09:16 +02:00
Jakub Jelinek
ce5e43d03e re PR c/6358 (GCC 3.1 ICE on statement expressions)
PR c/6358
	* function.c: Reapply patch for c/6358.
	(expand_function_end): Copy decl_rtl's mode, not
	current_function_return_rtx mode.

From-SVN: r52538
2002-04-19 23:02:52 +02:00
Joel Sherrill
9eb83f6ce7 rtems.h (STARTFILE_SPEC, [...]): Fix for non-ELF targets.
2002-04-19	Joel Sherrill <joel@OARcorp.com>

	* config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
	targets.

From-SVN: r52535
2002-04-19 18:43:11 +00:00
Tom Tromey
40e7f8eaf6 re PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already installed)
* doc/install.texi (Specific): Update status of Solaris 2.8.
	For PR libgcj/6158.

From-SVN: r52532
2002-04-19 18:13:32 +00:00
Andreas Schwab
9f92d25025 Add some explanation for last change.
From-SVN: r52531
2002-04-19 17:50:40 +00:00
Nathanael Nerode
704c9a1402 mh-a68bsd: clean out dead code
2002-04-19  Nathanael Nerode  <neroden@twcny.rr.com>

	* config/mh-a68bsd: clean out dead code
	* config/mh-apollo68: clean out dead code
	* config/mh-cxux: clean out dead code
	* config/mh-decstation: clean out dead code
	* config/mh-dgux: clean out dead code
	* config/mh-dgux386: clean out dead code
	* config/mh-hp300: clean out dead code
	* config/mh-hpux: clean out dead code
	* config/mh-hpux8: clean out dead code
	* config/mh-interix: clean out dead code
	* config/mh-irix4: clean out dead code
	* config/mh-lynxrs6k: clean out dead code
	* config/mh-mingw32: clean out dead code
	* config/mh-ncr3000: clean out dead code
	* config/mh-ncrsvr43: clean out dead code
	* config/mh-necv4: clean out dead code
	* config/mh-openedition: clean out dead code
	* config/mh-riscos: clean out dead code
	* config/mh-sco: clean out dead code
	* config/mh-sysv4: clean out dead code
	* config/mh-lynxos: removed, contained only dead code
	* config/mh-vaxult2: removed, contained only dead code
	* config/mh-sun3: removed, contained only dead code
	* configure.in: remove references to dead files

From-SVN: r52530
2002-04-19 13:26:08 -04:00
Kelley R. Cook
1f1760d33c * gcc_release: Set TZ to UTC0.
From-SVN: r52529
2002-04-19 17:23:36 +00:00
Andreas Schwab
62a12b2795 real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
2002-04-19  Andreas Schwab  <schwab@suse.de>

        * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
        (PUT_REAL): Restore old definition.

From-SVN: r52527
2002-04-19 13:12:59 -04:00
Dan Nicolaescu
1405141bc5 install.texi (Specific, [...]): Mention that binutils 2.11.2 and higher generate smaller binaries than Sun's...
* doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
	binutils 2.11.2 and higher generate smaller binaries than Sun's
	native tools.

Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>

From-SVN: r52526
2002-04-19 16:47:09 +00:00
Mark Mitchell
7bff505993 * MAINTAINERS: Add information about purpose of this file.
From-SVN: r52522
2002-04-19 16:40:52 +00:00
Mark Mitchell
303a3927d2 re PR c++/6352 (GCC 3.1 inliner regression from March)
PR c++/6352
	* toplev.c (rest_of_compilation): Do not defer functions for which
	TREE_SYMBOL_REFERENCED has already been set.

	* PR6352
	* g++.dg/opt/inline2.C: New test.

From-SVN: r52521
2002-04-19 16:21:58 +00:00
Jan Hubicka
de80110b88 i386.md (movsi_1, movhi_1): Force reload to use more flexible alternative.
* i386.md (movsi_1, movhi_1): Force reload to use more flexible
	alternative.

From-SVN: r52519
2002-04-19 14:02:06 +00:00
GCC Administrator
eea18a4a73 Daily bump.
From-SVN: r52516
2002-04-19 07:19:16 +00:00