Commit Graph

40168 Commits

Author SHA1 Message Date
Aldy Hernandez
99813b0ecd add
From-SVN: r48885
2002-01-15 23:29:03 +00:00
Aldy Hernandez
faa391b040 delete
From-SVN: r48884
2002-01-15 23:28:12 +00:00
Benjamin Kosnik
ac91039534 Makefile.am (LINK): Add --tag CC.
2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
	    Alexandre Oliva  <aoliva@redhat.com>

	* libmath/Makefile.am (LINK): Add --tag CC.
	* libmath/Makefile.in: Regenerate.

Co-Authored-By: Alexandre Oliva <aoliva@redhat.com>

From-SVN: r48883
2002-01-15 23:02:22 +00:00
John David Anglin
5c41fdfb41 vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV and UMOD modes.
* vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
	and UMOD modes.

	* vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
	less than or equal to eight bytes.

	* vax.md (andsi3): Remove constraints and change SET destination
	operand type to nonimmediate_operand.
	(andhi3, andqi3): Likewise.  Don't clear high order bits of operand 1
	when it is a CONST_INT.

From-SVN: r48882
2002-01-15 22:37:00 +00:00
Jason Merrill
de097a2d7d c-common.def (FILE_STMT): New code.
* c-common.def (FILE_STMT): New code.
        * c-common.c (statement_code_p): It's a statement.
        * c-common.h (stmt_tree_s): Add x_last_filename.
        (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
        (last_expr_filename): New macro.
        * c-semantics.c (begin_stmt_tree): Initialize it.
        (add_stmt): If the filename changed, also insert a
        FILE_STMT.
        (expand_stmt): Handle seeing one.

From-SVN: r48881
2002-01-15 17:27:07 -05:00
John David Anglin
93e9a99247 ctype_noninline.h: Use __SB_masks for address of character to attribute mapping table.
* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
	of character to attribute mapping table.

From-SVN: r48880
2002-01-15 21:31:56 +00:00
Geoffrey Keating
7ec9c85a1e 20020103-1.c: Also test for __PPC__, since that's used by EABI.
* gcc.dg/20020103-1.c: Also test for __PPC__, since that's used
	by EABI.

From-SVN: r48879
2002-01-15 20:50:41 +00:00
Eric Christopher
4a913dd6b7 flow.c (propagate_one_insn): Add error message and print out insn for debugging.
2002-01-15  Eric Christopher  <echristo@redhat.com>

	* flow.c (propagate_one_insn): Add error message and print out
	insn for debugging.

From-SVN: r48878
2002-01-15 20:50:22 +00:00
Joseph Myers
006946e43e system.h (ASM_IDENTIFY_GCC, [...]): Poison.
* system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
	ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
	* config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
	TRAMPOLINE_ALIGNMENT.
	* config/arm/arm.h, config/mcore/mcore.h: Likewise.  Change value
	to be in bits.
	* config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
	PCC_BITFIELD_TYPE_MATTERS.
	* config/interix.h (STDC_VALUE): Remove.  Use
	STDC_0_IN_SYSTEM_HEADERS.
	* config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
	(ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
	ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.

From-SVN: r48877
2002-01-15 20:20:24 +00:00
Janis Johnson
441f52642d i386-prefetch.exp: New.
* gcc.misc-tests/i386-prefetch.exp: New.
	* gcc.misc-tests/i386-pf-3dnow-1.c: New test.
	* gcc.misc-tests/i386-pf-athlon-1.c: New test.
	* gcc.misc-tests/i386-pf-none-1.c: New test.
	* gcc.misc-tests/i386-pf-sse-1.c: New test.

From-SVN: r48876
2002-01-15 17:30:28 +00:00
Loren J. Rittle
82598228f0 configure.in: Remove fcntl.h check; never define _POSIX_SOURCE, NO_FCNTL or OPEN_DECL.
* libI77/configure.in: Remove fcntl.h check; never define
	_POSIX_SOURCE, NO_FCNTL or OPEN_DECL.  Add check for tmpnam().
	* libI77/configure: Rebuilt.
	* libI77/config.h.in: Rebuilt.
	* libI77/Makefile.in: Remove all traces of rawio.h from
	dependencies lists.
	* libI77/fio.h (FSEEK): Unroll -j1.7 -j1.6 made 2002-01-04.
	* libI77/open.c (f_open): Use HAVE_TMPNAM.
	* libI77/rawio.h: Remove file.

From-SVN: r48875
2002-01-15 17:27:05 +00:00
Craig Rodrigues
751a1458e2 install.texi (hppa*-hp-hpux11): --enable-threads does not work on this platform currently.
2002-01-15  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
        not work on this platform currently.

From-SVN: r48874
2002-01-15 16:58:37 +00:00
Joseph Myers
57771fe876 c-typeck.c (build_unary_op): Don't wrap msgid argument of readonly_warning in _().
* c-typeck.c (build_unary_op): Don't wrap msgid argument of
	readonly_warning in _().

From-SVN: r48873
2002-01-15 16:28:47 +00:00
Douglas B Rupp
0e83ceb1b9 mkstemps.c (mkstemps): On VMS, open temp file with option that causes it to be deleted when closed.
* libiberty/mkstemps.c (mkstemps): On VMS, open temp file with option
	that causes it to be deleted when closed.
	* gcc/gcc.c (delete_if_ordinary): Backout previous change.

From-SVN: r48872
2002-01-15 09:34:56 -05:00
Kazu Hirata
9a52433e8a h8300.c (print_operand): Remove support for unused operand characters.
* confiig/h8300/h8300.c (print_operand): Remove support for
	unused operand characters.

From-SVN: r48871
2002-01-15 14:10:02 +00:00
Kazu Hirata
8e2e89f78a read-rtl.c: Fix formatting.
* read-rtl.c: Fix formatting.
	* real.c: Likewise.
	* recog.c: Likewise.
	* regclass.c: Likewise.
	* regmove.c: Likewise.
	* reg-stack.c: Likewise.
	* reload1.c: Likewise.
	* rtlanal.c: Likewise.

From-SVN: r48870
2002-01-15 13:38:03 +00:00
Kazu Hirata
b531087a38 * config/i386/i386.c: Fix formatting.
From-SVN: r48869
2002-01-15 13:13:21 +00:00
Jakub Jelinek
7c94ce7f87 c-typeck.c (process_init_element): Don't save_expr COMPOUND_LITERAL_EXPR if just its initializer will be used.
* c-typeck.c (process_init_element): Don't save_expr
	COMPOUND_LITERAL_EXPR if just its initializer will be used.

	* gcc.dg/gnu89-init-1.c: Add new tests.

From-SVN: r48868
2002-01-15 12:00:43 +01:00
GCC Administrator
9631a0e117 Daily bump.
From-SVN: r48866
2002-01-15 08:16:40 +00:00
David Edelsohn
6041bf2f00 rs6000.c (rs6000_output_function_epilogue): Do not emit optional traceback table if optimize_size or TARGET_ELF.
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
        emit optional traceback table if optimize_size or TARGET_ELF.
        * config/rs6000/rs6000.md (prefetch): New.

From-SVN: r48865
2002-01-15 02:23:19 -05:00
Andreas Jaeger
8559c8c043 config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
* config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.

for testsuite:
	* gcc.dg/i386-mmx-1.c: Also run on x86-64.
	* gcc.dg/i386-mmx-2.c: Likewise.
	* gcc.dg/i386-sse-1.c: Likewise.
	* gcc.dg/i386-sse-2.c: Likewise.
	* gcc.dg/i386-sse-3.c: Likewise.

From-SVN: r48864
2002-01-15 07:17:04 +01:00
Kazu Hirata
70f122f246 * mips-tfile.c: Fix formatting.
From-SVN: r48863
2002-01-15 05:25:26 +00:00
David Billinghurst
80a86f2176 2002-01-08 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/26_numerics/c99_classification_macros_c.cc
	Remove dg-error and dg-excess-errors comments.

From-SVN: r48862
2002-01-15 04:29:56 +00:00
Benjamin Kosnik
8f88da406b locale_facets.tcc (time_put::put): Correct output iterator positions.
2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc (time_put::put): Correct output
	iterator positions.
	* testsuite/22_locale/time_put_members_char.cc (test02): Add.
	* testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
	* testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
	* testsuite/22_locale/time_get_members_char.cc (test06): Add.

From-SVN: r48861
2002-01-15 04:23:46 +00:00
Craig Rodrigues
749d98f055 porting-howto.xml: Update filebuf section.
2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * docs/html/17_intro/porting-howto.xml: Update filebuf section.

From-SVN: r48860
2002-01-15 01:29:39 +00:00
Jan Hubicka
6a7b4ca686 * unroll.c (final_reg_note_copy): Fix previous commit.
From-SVN: r48858
2002-01-14 23:58:20 +00:00
Kazu Hirata
e7afe22957 h8300-protos.h: Remove the prototype for eq_operator.
* config/h8300/h8300-protos.h: Remove the prototype for
	eq_operator.
	* config/h8300/h8300.c (eq_operator): Remove.

From-SVN: r48857
2002-01-14 23:55:52 +00:00
Richard Henderson
7d378549a5 i386.md (prefetch): Tidy.
* config/i386/i386.md (prefetch): Tidy.
        (prefetch_3dnow): Fix locality operand.

From-SVN: r48856
2002-01-14 15:35:28 -08:00
David Billinghurst
9060718c0b intrinsic-unix-bessel.f: Uncomment additional cases that now pass.
2001-01-14  David Billinghurst <David.Billinghurst@riotinto.com>

        * g77.f-torture/execute/intrinsic-unix-bessel.f:
        Uncomment additional cases that now pass.

From-SVN: r48855
2002-01-14 23:35:21 +00:00
David Billinghurst
8df962f5d7 re PR fortran/3807 (Function BESJN(integer,double) problems)
2001-01-14  David Billinghurst <David.Billinghurst@riotinto.com>

        PR fortran/3807
        * f/intrin.c (ffeintrin_check_):  Allow for case of intrinsic
        control string have COL-spec an integer > 0.

From-SVN: r48854
2002-01-14 23:33:09 +00:00
John David Anglin
3bc9ce3945 configure.in (_LARGEFILE_SOURCE): AC_DEFINE.
2002-01-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* libI77/configure.in (_LARGEFILE_SOURCE): AC_DEFINE.
	* libI77/configure: Rebuilt.
	* libI77/config.h.in: Rebuilt.

From-SVN: r48853
2002-01-14 23:28:58 +00:00
Richard Henderson
ab093b81dd mips.h (HI_AND_FP_REGS): New register class.
* config/mips/mips.h (HI_AND_FP_REGS): New register class.
        (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.

From-SVN: r48852
2002-01-14 15:27:59 -08:00
Hans-Peter Nilsson
d300f51fd3 reload1.c (reload_combine): Pass reg_sum replacement through copy_rtx in loop performing multiple changes.
* reload1.c (reload_combine): Pass reg_sum replacement through
	copy_rtx in loop performing multiple changes.

From-SVN: r48851
2002-01-14 22:21:39 +00:00
Matthias Klose
707635f9e6 gcj.texi: Fix whitespace and formatting errors in the synopsis of the man pages.
* gcj.texi: Fix whitespace and formatting errors in the
	synopsis of the man pages. Update copyright.

From-SVN: r48850
2002-01-14 22:05:44 +00:00
Jakub Jelinek
655dd289ba except.c (remove_unreachable_regions): New.
* except.c (remove_unreachable_regions): New.
	(free_eh_status): Clear exception_handler_labels.
	(convert_from_eh_region_ranges): Call remove_unreachable_regions.
	(find_exception_handler_labels): Don't add the same label more than
	once.
	(remove_exception_handler_label): Don't die if
	find_exception_handler_labels hasn't been called for the current
	function yet.

From-SVN: r48845
2002-01-14 22:06:26 +01:00
Tom Tromey
e6a5e46287 For PR libgcj/5303:
* Make-lang.in (java.install-man): Handle jv-convert man page.
	(java.generated-manpages): Added jv-convert.1.
	(java.uninstall): Remove jv-convert.1.
	(java.maintainer-clean): Likewise.
	($(srcdir)/java/jv-convert.1): New target.
	* gcj.texi (Top): Link to jv-convert node.
	(Individual utilities): Likewise.
	(Invoking jv-convert): New node.

From-SVN: r48844
2002-01-14 20:40:08 +00:00
Jan Hubicka
1fba46a724 toplev.c (rest_of_compilation): Rebuild jump labels after gcse.
* toplev.c (rest_of_compilation): Rebuild jump labels after
	gcse.

From-SVN: r48843
2002-01-14 20:36:50 +00:00
Joseph Myers
0975678f07 extend.texi: Move documentation of X86 built-in functions here.
* doc/extend.texi: Move documentation of X86 built-in functions
	here.
	* doc/invoke.texi: From here.
	* doc/sourcebuild.texi: Document location of documentation for
	machine built-in functions.

From-SVN: r48842
2002-01-14 20:09:52 +00:00
Christopher Faylor
969815c71e cppfiles.c (TEST_THRESHOLD): New macro.
* cppfiles.c (TEST_THRESHOLD): New macro.
(SHOULD_MMAP): Ditto.
(read_include_file): Use SHOULD_MMAP macro to decide when mmap should be used.

From-SVN: r48840
2002-01-14 19:45:11 +00:00
Jan Hubicka
494c950b2f unroll.c (final_reg_note_copy): Properly handle REG_LABEL
* unroll.c (final_reg_note_copy): Properly handle
	REG_LABEL
	(unroll_loops): Fix LOOP_CONDITION heuristics.

From-SVN: r48839
2002-01-14 19:29:08 +00:00
Geoffrey Keating
69a0611ffc invoke.texi (Xstormy16 Options): Add xstormy16 option.
* doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
	* doc/md.texi (Machine Constraints): Use @minus{} where appropriate.

From-SVN: r48838
2002-01-14 19:26:00 +00:00
Jan Hubicka
b90e45aed2 cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite threaded loop.
* cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
	threaded loop.

From-SVN: r48837
2002-01-14 19:21:21 +00:00
Tom Rix
8377288b4f Fix typo
From-SVN: r48836
2002-01-14 19:06:39 +00:00
Paolo Carlini
c68cd521fa 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers  <ncm@cantrip.org>

	* include/bits/basic_string.h
	(replace(__pos, __n1, __s, __n2)): Optimize by avoiding
	temporaries (i.e., call _M_replace_safe) when possible.
	(replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
	(replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
	(replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
	(replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
	(replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
	* include/bits/basic_string.tcc
	(replace(__pos1, __n1, __str, __pos2, __n2)): Call
	replace(__pos, __n1, __s, __n2).
	* testsuite/21_strings/replace.cc (test03): New testcases.

	* include/bits/basic_string.h (insert(__pos, __s, __n)):
	Adjust comparison wrt overflow.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>

From-SVN: r48834
2002-01-14 19:04:15 +00:00
Ulrich Weigand
9f37ccb194 s390.md (movstrdix_64, [...]): Improve RTL templates.
* config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
	movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
	(clrstrdi, clrstrsi): Adapt callers.

	(extendsidi2, zero_extendsidi2): Remove no-conflict blocks.

	(movti splitter): Never use register 0 as base register.

From-SVN: r48832
2002-01-14 16:56:24 +00:00
Hartmut Penner
6c2d03d0d1 combine.c (simplify_shift_const): Always generate new rtx for shift expression instead of reusing given expression.
* combine.c (simplify_shift_const): Always generate new rtx
  for shift expression instead of reusing given expression.

From-SVN: r48831
2002-01-14 15:37:55 +00:00
Richard Kenner
d3e9820863 alpha.c (alpha_expand_mov): Don't call alpha_legitimize_address unless mode is Pmode.
* config/alpha/alpha.c (alpha_expand_mov): Don't call
	alpha_legitimize_address unless mode is Pmode.

From-SVN: r48827
2002-01-14 07:15:19 -05:00
GCC Administrator
6f0b9e69d4 Daily bump.
From-SVN: r48825
2002-01-14 08:16:28 +00:00
Geoffrey Keating
9f339ddefa md.texi (Modifiers): Document the '*' constraint for the user.
* doc/md.texi (Modifiers): Document the '*' constraint for the
	user.

	* doc/md.texi (Machine Constraints): Add constraints for xstormy16.
	* doc/extend.texi (Function Attributes): 'interrupt' is valid
	for xstormy16 too.

From-SVN: r48823
2002-01-13 23:23:40 +00:00
Richard Henderson
02a10130ff reload.c (find_reloads): Use a hard reg destination as reload reg for an input reload of the source.
* reload.c (find_reloads): Use a hard reg destination as reload reg
        for an input reload of the source.

From-SVN: r48822
2002-01-13 14:57:29 -08:00