Commit Graph

50046 Commits

Author SHA1 Message Date
Jason Merrill
a65cddcf39 typeck.c (build_modify_expr): Don't always stabilize the lhs and rhs.
* typeck.c (build_modify_expr): Don't always stabilize the lhs and
        rhs.  Do stabilize the lhs of a MODIFY_EXPR used on the lhs.

From-SVN: r66766
2003-05-13 13:05:35 -04:00
Jason Merrill
ec86c71f91 update comments
From-SVN: r66764
2003-05-13 12:56:00 -04:00
Zack Weinberg
3a0d67cf82 * gcc.dg/const-elim-1.c: Tighten scan-assembler-not regexp.
From-SVN: r66763
2003-05-13 16:37:13 +00:00
Zack Weinberg
a2a6a79b5b varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
* varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
	* rtl.h: Prototype it.
	* integrate.c (copy_rtx_and_substitute <SYMBOL_REF>): Call it
	when appropriate.

From-SVN: r66762
2003-05-13 16:23:02 +00:00
Ulrich Weigand
c707d0b01a s390.md ("*iordi3_oi"): Do not mark commutative.
* config/s390/s390.md ("*iordi3_oi"): Do not mark commutative.
	("*iorsi3_oi"): Likewise.

From-SVN: r66761
2003-05-13 14:33:16 +00:00
Michael Koch
c484a5fbd3 2003-05-13 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/natDirectByteBufferImpl.cc
	(allocateImpl): jlong -> RawData*.
	(freeImpl): Likewise.

From-SVN: r66760
2003-05-13 12:57:32 +00:00
Andreas Jaeger
f7c5003268 config.guess: Update to 2003-05-09 version.
2003-05-13  Andreas Jaeger  <aj@suse.de>

	* config.guess: Update to 2003-05-09 version.
	* config.sub: Update to 2003-05-09 version.

From-SVN: r66759
2003-05-13 14:08:22 +02:00
Andreas Jaeger
a3d056ba9b Regenerate configure correctly.
From-SVN: r66758
2003-05-13 13:54:59 +02:00
Richard Earnshaw
9af66e5830 arm.md (compare_scc): Use shorter sequence for EQ case.
* arm.md (compare_scc): Use shorter sequence for EQ case.
(ior_scc_scc_cmp, and_scc_scc_cmp): New insn-and-split patterns.
(and_scc_scc): Ensure split only applies when there is a dominance
of the comparisons.
(and_scc_scc_nodom): New insn-and-split pattern.

From-SVN: r66757
2003-05-13 10:32:04 +00:00
Michael Koch
c6f824e248 2003-05-13 Michael Koch <konqueror@gmx.de>
* java/nio/channels/FileChannel.java
	(MapMode.m): Made it package-private to match JDK 1.4.
	* java/nio/charset/Charset.java
	(decode): Made it final to match JDK 1.4.

From-SVN: r66756
2003-05-13 10:25:00 +00:00
Michael Koch
e48d8b8886 2003-05-13 Michael Koch <konqueror@gmx.de>
* java/io/FileDescriptor.java
       (SYNC): New constant.
       (DSYNC): Likewise.
       (getLength): Renamed from lenght() to match classpath's
       FileDescriptor.java.
       * java/io/RandomAccessFile.java
       (RandomAccessFile): Removed unneeded mode check, implemented mode
       "rws" and "rwd", merged documentation from classpath.
       (setLength): Reformatted.
       (length): Use new getLength() of FileDescriptor.
       * java/io/natFileDescriptorEcos.cc
       (getLength): Renamed from length().
       * java/io/natFileDescriptorPosix.cc
       (open): Implemented support for SYNC and DSYNC.
       (seek): Use getLength() instead of length().
       (getLength): Renamed from length().
       * java/io/natFileDescriptorWin32.cc
       (getLength): Renamed from length().
       (seek): Use getLength() instead of length().
       (available): Likewise.
       * gnu/java/nio/natFileChannelImpl.cc
       (size): Use getLength() instead of length().

From-SVN: r66755
2003-05-13 09:13:31 +00:00
Corinna Vinschen
aa8f1f5793 configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin and $$s/newlib/libc/sys/cygwin32 include paths.
2003-05-12  Corinna Vinschen  <corinna@vinschen.de>

	* configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin
	and $$s/newlib/libc/sys/cygwin32 include paths.
	* configure: Ditto.

From-SVN: r66754
2003-05-13 10:58:24 +02:00
Richard Sandiford
7f68692fb2 unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly to _Unwind_SetGRPtr().
* unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly
	to _Unwind_SetGRPtr().

From-SVN: r66753
2003-05-13 06:49:46 +00:00
Michael Eager
88e80294dd Makefile.in: Initialize program_transform_cross_name from @program_transform_name@ instead...
2003-05-13  Michael Eager <eager@mvista.com>

	* Makefile.in: Initialize program_transform_cross_name from
	@program_transform_name@ instead of target_alias.

From-SVN: r66752
2003-05-13 08:37:00 +02:00
Andreas Jaeger
f2181beda7 Fix date in last entry.
From-SVN: r66751
2003-05-13 08:33:28 +02:00
Michael Eager
243aa302a6 configure.in: Correct sed script so that options in quotes are not deleted.
2003-05-12  Michael Eager <eager@mvista.com>

	* configure.in: Correct sed script so that options in quotes are not
	deleted.
	* configure: Rebuild.

From-SVN: r66750
2003-05-13 08:31:02 +02:00
Michael Koch
3b6b673dab 2003-05-13 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java
	(ByteBufferImpl): All constructors revised.
	(slice): Reimplemented.
	(duplicate): Reimplemented.
	(asReadOnlyBuffer): Reimplemented.
	* java/nio/ByteBuffer.java:
	Reformatted.
	(array_offset): Renamed from "offset" to match all other buffer
	classes.
	(ByteBuffer): All constructors revised.
	(allocateDirect): Implemented.
	(allocate): New implementation, documentation reworked.
	(wrap): Likewise.
	(get): Documentation reworked.
	(put): New implementation, documentation reworked.
	(hasArray): Documentation reworked.
	(arrayOffset): Likewise.
	(hashCode): Likewise.
	(equals): Likewise.
	(compareTo): Likewise.
	(order): Likewise.
	(compact): Likewise.
	(isDirect): Likewise.
	(slice): Likewise.
	(duplicate): Likewise.
	(asReadOnlyBuffer): Likewise.
	* Makefile.am
	(ordinary_java_source_files):
	Added gnu/java/nio/DirectByteBufferImpl.java.
	(nat_source_files):
	Added gnu/java/nio/natDirectByteBufferImpl.cc.
	* Makefile.in: Regenerated.

From-SVN: r66749
2003-05-13 06:04:19 +00:00
GCC Administrator
250ab7c308 Daily bump.
From-SVN: r66744
2003-05-13 00:16:08 +00:00
Janis Johnson
c4501e6230 configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
2003-05-12  Janis Johnson  <janis187@us.ibm.com>
	    Alan Modra  <amodra@bigpond.net.au>
	    Jakub Jelinek  <jakub@redhat.com>

	* configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
	* configure: Rebuild.
	* config/rs6000/rs6000-protos.h: Update.
	* config/rs6000/rs6000.c (rs6000_tls_size): New.
	(rs6000_tls_size_string): New.
	(rs6000_parse_tls_size_option): New.
	(rs6000_legitimize_tls_address): New.
	(rs6000_tls_get_addr): New.
	(rs6000_got_sym): New.
	(rs6000_tls_symbol_ref): New.
	(rs6000_tls_symbol_ref_1): New.
	(rs6000_get_some_local_dynamic_name): New.
	(rs6000_get_some_local_dynamic_name_1): New.
	(TARGET_HAVE_TLS): New.
	(TARGET_CANNOT_FORCE_CONST_MEM): New.
	(rs6000_override_options): Handle -mtls-size option.
	(constant_pool_expr_1): Handle TLS symbols.
	(rs6000_legitimize_address): Handle TLS symbols.
	(rs6000_tls_referenced_p): New.
	(rs6000_legitimate_address): Handle TLS symbols.
	(rs6000_emit_move): Handle TLS symbols.
	(print_operand): Handle TLS symbols.
	(uses_TOC): Handle TLS symbols.
	(rs6000_emit_prologue): Use symbol for unspec constant.
	* config/rs6000/rs6000.h (HAVE_AS_TLS): New.
	(some_ld_name): New.
	(LEGITIMATE_CONSTANT_P): Handle TLS symbols.
	(PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols.
	(PREDICATE_CODES): Add rs6000_tls_symbol_ref.
	* config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b):
	Support TLS.
	(tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32,
	tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32,
	tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32,
	tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32,
	tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32,
	tls_tls_64): New.
	* config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size.

Co-Authored-By: Alan Modra <amodra@bigpond.net.au>
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r66742
2003-05-12 22:30:31 +00:00
Neil Booth
6cfae22a6b Makefile.in (stage2_build, [...]): Set BUILD_CC to the same as CC.
* Makefile.in (stage2_build, stage3_build, stage4_build)
	: Set BUILD_CC to the same as CC.

From-SVN: r66740
2003-05-12 21:35:47 +00:00
Neil Booth
517958ba22 * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.
From-SVN: r66739
2003-05-12 21:26:11 +00:00
Andreas Schwab
746015842f ia64.c (ia64_function_ok_for_sibcall): Mark 'exp' as unused.
* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
	as unused.
	(bundling): Initialize 'pos'.
	(ia64_expand_builtin): Initialize 'rmode'.

From-SVN: r66738
2003-05-12 21:17:12 +00:00
David Edelsohn
8c0a526482 * debug/debug.exp: Skip debug-[12].c at -O3 on non-Dwarf targets.
From-SVN: r66737
2003-05-12 17:16:55 -04:00
David Edelsohn
f08b4d8867 xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
* config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
        (ASM_OUTPUT_ALIGNED_COMMON): Same.
        (ASM_OUTPUT_LOCAL): Same.

From-SVN: r66736
2003-05-12 17:06:36 -04:00
Paolo Carlini
1f61755cdb 1.cc: Remove unnecessary includes and unused string literals.
2003-05-12  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
	unnecessary includes and unused string literals.
	* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
	* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
	* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
	* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.

From-SVN: r66735
2003-05-12 21:01:39 +00:00
Gerald Pfeifer
c627639b47 gcc_release (usage): Print more detailed description of all command-line options.
* gcc_release (usage): Print more detailed description of all
	command-line options.

From-SVN: r66734
2003-05-12 21:01:03 +00:00
Michael Koch
36d4669b73 ByteBufferImpl.java: Reformatted.
2003-05-12  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/ByteBufferImpl.java: Reformatted.
	(nio_get_*): Removed.
	(nio_put_*): Removed.
	(as*Buffer): Implemented.
	(compact): Implemented.
	(get): Documentation added.
	(put): Documentation added.
	(get*): Newly implemented.
	(put*): Newly implemented.
	* gnu/java/nio/CharBufferImpl.java: Reformatted.
	(CharBufferImpl): Revised.
	(slice): New implementation.
	(duplicate): New implementation.
	(compact): New implementation.
	(asReadOnlyBuffer): New implementation.
	(get): Documentation revised.
	(order): Return native byte order.
	* gnu/java/nio/DirectByteBufferImpl.java
	(allocateDirect): objects can be null not 0.
	* gnu/java/nio/DoubleBufferImpl.java: Reformatted.
	(DoubleBufferImpl): Revised.
	(slice): New implementation.
	(duplicate): New implementation.
	(compact): New implementation.
	(asReadOnlyBuffer): New implementation.
	(get): Documentation revised.
	(order): Return native byte order.
	* gnu/java/nio/FloatBufferImpl.java: Reformatted.
	(FloatBufferImpl): Revised.
	(slice): New implementation.
	(duplicate): New implementation.
	(compact): New implementation.
	(asReadOnlyBuffer): New implementation.
	(get): Documentation revised.
	(order): Return native byte order.
	* gnu/java/nio/IntBufferImpl.java: Reformatted.
	(IntBufferImpl): Revised.
	(slice): New implementation.
	(duplicate): New implementation.
	(compact): New implementation.
	(asReadOnlyBuffer): New implementation.
	(get): Documentation revised.
	(order): Return native byte order.
	* gnu/java/nio/LongBufferImpl.java: Reformatted.
	(LongBufferImpl): Revised.
	(slice): New implementation.
	(duplicate): New implementation.
	(compact): New implementation.
	(asReadOnlyBuffer): New implementation.
	(get): Documentation revised.
	(order): Return native byte order.
	* gnu/java/nio/ShortBufferImpl.java: Reformatted.
	(ShortBufferImpl): Revised.
	(slice): New implementation.
	(duplicate): New implementation.
	(compact): New implementation.
	(asReadOnlyBuffer): New implementation.
	(get): Documentation revised.
	(order): Return native byte order.
	* java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
	(CharBuffer): Revised.
	(order): Removed.
	* java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
	(DoubleBuffer): Revised.
	(allocateDirect): Removed.
	(order): Removed.
	* java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
	(FloatBuffer): Revised.
	(allocateDirect): Removed.
	(order): Removed.
	* java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
	(IntBuffer): Revised.
	(allocateDirect): Removed.
	(order): Removed.
	* java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
	(LongBuffer): Revised.
	(allocateDirect): Removed.
	(order): Removed.
	* java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
	(ShortBuffer): Revised.
	(allocateDirect): Removed.
	(order): Removed.
	* gnu/java/nio/natByteBufferImpl.cc: Removed.
	* gnu/java/nio/natCharBufferImpl.cc: Removed.
	* Makefile.am
	(ordinary_java_source_files): Added the following files:
	gnu/java/nio/CharViewBufferImpl.java,
	gnu/java/nio/DoubleViewBufferImpl.java,
	gnu/java/nio/FloatViewBufferImpl.java,
	gnu/java/nio/IntViewBufferImpl.java,
	gnu/java/nio/LongViewBufferImpl.java,
	gnu/java/nio/ShortViewBufferImpl.java
	(nat_source_files): Removed the following files:
	gnu/java/nio/natByteBufferImpl.cc,
	gnu/java/nio/natCharBufferImpl.cc
	* Makefile.in: Regenerated.

From-SVN: r66733
2003-05-12 20:45:20 +00:00
Jan Hubicka
d3e0dffb76 * varasm.c (output_constant): Fix underflow.
From-SVN: r66732
2003-05-12 19:54:26 +00:00
Mark Mitchell
96ef4bdc08 re PR other/10745 (Bug in gcc-3.3/gcc/configure)
PR other/10745
	* configure.in: Correct detection of GNU ld version number.
	* configure: Regenerated.

From-SVN: r66730
2003-05-12 18:51:34 +00:00
Zack Weinberg
9804f5fb8b diagnostic.c (diagnostic_for_decl): Take a diagnostic_context argument.
* diagnostic.c (diagnostic_for_decl): Take a
	diagnostic_context argument.  Restructure to be consistent
	with diagnostic_report_diagnostic.
	(diagnostic_count_diagnostic): Now static.  Take a
	diagnostic_info argument, not just a diagnostic_t.  Some code
	moved here from internal_error.  Move a case label for
	clarity.
	(diagnostic_action_after_output): New function.  Code moved
	here from internal_error and fatal_error.
	(bug_report_request): New #define so that this text appears in
	only one place.
	(diagnostic_report_diagnostic): Update to match changes to
	diagnostic_count_diagnostic.  Call diagnostic_action_after_output.
	(diagnostic_set_info): Call gettext here.

	(pedwarn): Update comment.  Don't call gettext here.
	(sorry): Use report_diagnostic.  Don't call gettext here.
	(fatal_error): Remove final fnotice and exit, but call
	real_abort to prevent warnings about noreturn function returning.
	(internal_error): Likewise.  Don't do ICE suppression here nor
	call context->internal_error.
	(warning_with_decl): Suppress for decls in system headers.
	Adjust call to diagnostic_for_decl.
	(pedwarn_with_decl): Likewise.
	(error_with_decl): Adjust call to diagnostic_for_decl.
	(error_recursion): Use bug_report_request.

	* diagnostic.h: Remove prototype of diagnostic_count_diagnostic.
	* objc/objc-act.c (error_with_ivar, warn_with_method): Don't call
	diagnostic_count_diagnostic.
f:
	* bad.c: Don't call diagnostic_count_diagnostic.

From-SVN: r66728
2003-05-12 18:32:18 +00:00
Michael Koch
5560b019e4 CharViewBufferImpl.java, [...]: New files, not yet to be compiled.
2003-05-12  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/CharViewBufferImpl.java,
	gnu/java/nio/DirectByteBufferImpl.java,
	gnu/java/nio/DoubleViewBufferImpl.java,
	gnu/java/nio/FloatViewBufferImpl.java,
	gnu/java/nio/IntViewBufferImpl.java,
	gnu/java/nio/LongViewBufferImpl.java,
	gnu/java/nio/ShortViewBufferImpl.java,
	gnu/java/nio/natDirectByteBufferImpl.cc:
	New files, not yet to be compiled.

From-SVN: r66727
2003-05-12 18:32:17 +00:00
Benjamin Kosnik
6e81c6f49c From-SVN: r66726 2003-05-12 18:12:27 +00:00
John David Anglin
f64f0687f3 * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON): Correct last patch.
From-SVN: r66725
2003-05-12 17:40:07 +00:00
Benjamin Kosnik
a72a4f3d37 10096.cc: Add weak bits.
2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.

From-SVN: r66724
2003-05-12 16:10:55 +00:00
Kriang Lerdsuwanakij
8015bbee75 ns1.C: Remove private member warning.
* g++.old-deja/g++.brendan/ns1.C: Remove private member warning.
	* g++.old-deja/g++.robertl/eb71.C: Likewise.
	* g++.old-deja/g++.brendan/warnings1.C: Add -Wctor-dtor-privacy.
	* g++.old-deja/g++.other/warn3.C: Likewise.

From-SVN: r66723
2003-05-12 16:07:51 +00:00
Michael Meissner
0c130f8121 update email addresses
From-SVN: r66722
2003-05-12 15:38:17 +00:00
Mark Mitchell
dc7c7ad6bc g++.exp: Tweak handling of additional source files.
* lib/g++.exp: Tweak handling of additional source files.
	* g++.dg/special/conpr-2.C: Use dg-gpp-additional-sources.
	* g++.dg/special/conpr-2a.C: Rename to ...
	* g++.dg/special/conpr-2a.cc: ... this.
	* g++.dg/special/conpr-3.C: Use dg-gpp-additional-sources.
	* g++.dg/special/conpr-3a.C: Rename to ...
	* g++.dg/special/conpr-3a.cc: This.
	* g++.dg/special/conpr-3b.C: Rename to ...
	* g++.dg/special/conpr-3b.cc: This.
	* g++.dg/special/conpr-4.C: New test.
	* g++.dg/special/ecos.exp: Rewrite to use ordinary dg driver.

From-SVN: r66721
2003-05-12 15:24:31 +00:00
Jan Hubicka
212e206586 darwin.h (ASM_OUTPUT_COMMON): Accept HOST_WIDE_INT
* rs6000/darwin.h (ASM_OUTPUT_COMMON): Accept HOST_WIDE_INT
	* mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
	* mips/mips.h (ASM_OUTPUT_SKIP):  Fix typo in the previous patch.

From-SVN: r66720
2003-05-12 14:40:19 +00:00
Jan Hubicka
c394cdb752 elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
* mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
	* mips/mips.h (ASM_OUTPUT_SKIP):  Fix typo in the previous patch.

From-SVN: r66717
2003-05-12 13:59:14 +00:00
Roger Sayle
70498da397 rtl.texi: Document zero_extract as a valid destination of a set insn.
* doc/rtl.texi: Document zero_extract as a valid destination
	of a set insn.

From-SVN: r66716
2003-05-12 13:26:02 +00:00
Richard Earnshaw
ce250a2071 lib1funcs.asm (LSYM): Define -- on ELF prefix a local symbol with '.'.
* arm/lib1funcs.asm (LSYM): Define -- on ELF prefix a local symbol with
'.'.  Change all local symbol definitions and references to use LSYM.

From-SVN: r66715
2003-05-12 13:14:32 +00:00
Roger Sayle
c349b2a468 com.c (ffecom_init_0): Define built-in functions for atan2, exp, floor, fmod, log and pow.
* com.c (ffecom_init_0): Define built-in functions for atan2,
	exp, floor, fmod, log and pow.
	(duplicate_decls): Preserve assembler name when redeclaring a
	built-in.
	* com-rt.def: Implement using the built-in forms of the above
	functions rather than calling the standard C library directly.
	Correct some of the run-time prototype "codes".

From-SVN: r66714
2003-05-12 12:45:25 +00:00
Jan Hubicka
58e15542fc Mon May 12 11:32:53 CEST 2003 Jan Hubicka <jh@suse.cz>
* expr.h (assemble_static_space): Update prototype.
	* output.h (assemble_zeros, output_constant): Likewise.
	* elfos.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): Make it 64bit clean
	* alpha.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASK_OUTPUT_LOCAL): Make
	it 64bit clean.
	* elf.h (ASM_OTUPUT_SKIP): Likewise.
	* unicosmk.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMM): Likewise.
	* arm.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
	Expect HOST_WIDE_INT operand.
	* aout.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
	Expect HOST_WIDE_INT operand.
	* unknown-elf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
	Expect HOST_WIDE_INT operand.
	* avr.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP): Expect
	HOST_WIDE_INT operand.
	* c4x.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP,
	ASM_OUTPUT_BSS): Expect HOST_WIDE_INT operand.
	* aout.h (ASM_OTUPUT_SKIP): Likewise.
	* cris.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
	* darwin.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON): Likewise.
	* dsp16xx.h (ASM_OTUPUT_SKIP): Likewise.
	* frv.h (ASM_OTUPUT_SKIP): Likewise.
	* h8300.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_LOCAL): Likewise.
	* 370.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
	Make it 64bit
	clean.
	* att.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand.
	* bsd.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
	Make it 64bit clean.
	* darwin.h (ASM_OUTPUT_SKIP): Make it 64bit clean..
	* sco5.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Expect
	HOST_WIDE_INT operand
	* svr3gas.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
	Expect HOST_WIDE_INT operand
	* sysv3.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand
	* i960.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON,
	ASM_OUTPUT_ALIGNED_LOCAL): Expect HOST_WIDE_INT operand
	* ip2k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
	Likewise.
	* m32r.h (ASM_OUTPUT_COMMON): Likewise.
	* 3b1.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
	Likewise.
	* amix.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
	* crds.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
	* hp320.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
	ASM_OUTPUT_SKIP): Likewise.
	* m68k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
	Likewise.
	* m68kelf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
	ASM_OUTPUT_SKIP): Likewise.
	* m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
	ASM_OUTPUT_SKIP): Likewise.
	* mot3300.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
	* netbsd-elf.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
	ASM_OUTPUT_SKIP): Likewise.
	* sgs.h (ASM_OUTPUT_SKIP): Likewise.
	* tower-as.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
	ASM_OUTPUT_SKIP): Likewise.
	* m88k.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP):
	Likewise.
	* mcore.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_BSS, ASM_OUTPUT_SKIP): Likewise.
	* iris.h (ASM_OUTPUT_LOCAL): Likewise.
	* mips.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
	* ns32k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
	ASM_OUTPUT_SKIP): Make it 64bit clean.
	* pa-pro-end.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL):
	Make it 64bit clean.
	* pa.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL,
	ASM_OUTPUT_SKIP): Make it 64bit clean.
	* hpux.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL): Make it
	64bit clean.
	* romp.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
	HOST_WIDE_INT argument
	* s390.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT argument.
	* sh.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
	HOST_WIDE_INT argument
	* sol2.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
	* sparc.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): HOST_WIDE_INT argument
	* svr3.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
	* vax.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
	HOST_WIDE_INT argument
	* vaxv.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
	* xtensa.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
	* varasm.c (asm_output_bss, asm_output_aligned_bss,
	asm_emit_uninitialized, assemble_zeros, assemble_static_space):
	HOST_WIDE_INT argument

From-SVN: r66713
2003-05-12 09:51:36 +00:00
Steven Bosscher
7660e67ec6 cgraphunit.c (cgraph_create_edges): Drop walk_tree in favor of walk_tree_without_duplicates.
2003-05-10  Steven Bosscher  <steven@gcc.gnu.org>

	* cgraphunit.c (cgraph_create_edges): Drop walk_tree in
	favor of walk_tree_without_duplicates.  Add comments.

From-SVN: r66712
2003-05-12 09:46:25 +00:00
Josef Zlomek
76abd4c674 alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
* alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
	(struct alloc_pool_def): New element 'id'.
	* alloc-pool.c (fancy_abort): Extern function prototype.
	(abort): Macro which uses fancy_abort.
	(struct allocation_object_def): New structure.
	(ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro.
	(USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro.
	(last_id): New variable.
	(create_alloc_pool): Add the offset of u.data to size of element,
	increase and use last_id.
	(free_alloc_pool): Do the checking only when ENABLE_CHECKING.
	(pool_alloc): Likewise. Set ID for elements.
	(pool_free): Check whether the PTR was allocated from POOL.

From-SVN: r66711
2003-05-12 05:16:55 +00:00
Richard Henderson
66ea6f4cce re PR c/10675 (Compile time increases quadratically with struct size)
PR c/10675
        * c-decl.c: Include hashtab.h.
        (detect_field_duplicates): New.
        (finish_struct): Use it.
        * Makefile.in (c-decl.o): Update.
        * c-parse.in (structsp_attr): Nreverse component_decl_list results.
        (component_decl_list, component_decl_list2,
        components, components_notype): Build list in reverse order.
        (enumlist): Clarify docs.  Use TREE_CHAIN not chainon.
        * tree.c (chainon): Special case op2 null as well.
        Reorg for clarity.

From-SVN: r66710
2003-05-11 20:25:38 -07:00
Roger Sayle
358997e28a i386.md (logsf2, [...]): New patterns to implement log, logf and logl built-ins as inline x87 intrinsics.
* config/i386/i386.md (logsf2, logdf2, logxf2, logdf2): New patterns
	to implement log, logf and logl built-ins as inline x87 intrinsics.
	(UNSPEC_FYL2X): New unspec to represent x87's "fyl2x" instruction.
	(*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): New insn
	patterns for x87's "fyl2x" instruction, used by log?f2 patterns.

	* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2X like
	UNSPEC_FPATAN, i.e. replaces two stack operands with single result.

	* gcc.dg/i386-387-1.c: Update to also test log.
	* gcc.dg/i386-387-2.c: Likewise.

From-SVN: r66709
2003-05-12 02:51:40 +00:00
Kaveh R. Ghazi
04f3680d86 * Makefile.in (out_object_file): Don't set -Wno-error for ${cpu}.o.
From-SVN: r66708
2003-05-12 02:29:38 +00:00
Kaveh R. Ghazi
ffa916bafb * sparc.c (print_operand): Fix uninitialized warning.
From-SVN: r66707
2003-05-12 02:05:52 +00:00
Phil Edwards
d7d89a5816 Makefile.am: Properly quote /both/ LD_RUN_PATHs.
2003-05-11  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/Makefile.am:  Properly quote /both/ LD_RUN_PATHs.
	* testsuite/Makefile.in:  Regenerate.

From-SVN: r66706
2003-05-12 00:41:35 +00:00