Commit Graph

45271 Commits

Author SHA1 Message Date
Tom Tromey
b5f4221e51 ClassLoader.java (resolveClass0): Set cause for newly-created exception.
* java/lang/ClassLoader.java (resolveClass0): Set cause for
	newly-created exception.

From-SVN: r57310
2002-09-19 17:44:49 +00:00
Ulrich Weigand
cc7ab9b79c s390.c (addr_generation_dependency_p): Handle SUBREG and STRICT_LOW_PART within SET_DEST.
* config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
	and STRICT_LOW_PART within SET_DEST.
	* config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
	splitters, replacing pre-reload splitters.
	("*zero_extendhisi2_31", "*zero_extendqisi2_31",
	"*zero_extendqihi2_31"): New insns.
	("*zero_extendqihi2_64"): Do not clobber CC.

From-SVN: r57309
2002-09-19 17:06:29 +00:00
Devang Patel
70b76b34a3 cp-tree.h: New prototype for walk_vtabls().
2002-09-19  Devang Patel  <dpatel@apple.com>
       * cp/cp-tree.h: New prototype for walk_vtabls().
       * cp/decl.c (walk_vtables_r): New function.
       (struct cp_binding_level): Add new members, namespaces,
       names_size and vtables.
       (add_decl_to_level): Add decl in namespaces or vtables
       chain, if conditions match.
       (walk_vtables): New function.
       (walk_namespaces_r): Travers separate namespace chain
       for namespace decls.
       (wrapup_globals_for_namespace): Use names_size instead
       of list_length().
       * cp/decl2.c (finish_file): Use walk_vtables() instead of
       walk_globals() to walk vtable decls.

From-SVN: r57305
2002-09-19 09:19:36 -07:00
Steve Ellcey
b64ddb88fe hpux.h (CTORS_SECTION_ASM_OP): New.
* config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
	(DTORS_SECTION_ASM_OP): Ditto.
	(READONLY_DATA_SECTION_ASM_OP): Moved.
	(DATA_SECTION_ASM_OP): New.
	(SDATA_SECTION_ASM_OP): New.
	(BSS_SECTION_ASM_OP): New.
	(SBSS_SECTION_ASM_OP): New.
	(TEXT_SECTION_ASM_OP): New.

From-SVN: r57304
2002-09-19 15:52:10 +00:00
Kazu Hirata
9cd10576c5 fp-bit.c: Follow spelling conventions.
* config/fp-bit.c: Follow spelling conventions.
	* config/d30v/d30v.c: Likewise.
	* config/d30v/d30v.h: Likewise.
	* config/fr30/fr30.c: Likewise.
	* config/fr30/fr30.h: Likewise.
	* config/fr30/fr30.md: Likewise.
	* config/frv/frv.c: Likewise.
	* config/frv/frv.h: Likewise.
	* config/h8300/h8300.c: Likewise.
	* config/h8300/lib1funcs.asm: Likewise.
	* config/i370/i370.c: Likewise.
	* config/i386/i386.h: Likewise.
	* config/i386/i386.md: Likewise.
	* config/i386/pentium.md: Likewise.
	* config/i386/winnt.c: Likewise.
	* config/i960/i960.c: Likewise.
	* config/ia64/ia64.h: Likewise.
	* config/ip2k/ip2k.c: Likewise.
	* config/ip2k/ip2k.h: Likewise.
	* config/ip2k/ip2k.md: Likewise.
	* config/ip2k/libgcc.S: Likewise.

From-SVN: r57303
2002-09-19 13:51:24 +00:00
Stephen Clarke
fff08fd8da sh.h (UNSPEC_GOTOFF_P): Define.
2002-09-19  Stephen Clarke <stephen.clarke@superh.com>

	* config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
	(GOTOFF_P): Extend to allow gotoff plus constant.

From-SVN: r57302
2002-09-19 14:17:57 +01:00
GCC Administrator
eee3e0fb0b Daily bump.
From-SVN: r57301
2002-09-19 07:17:12 +00:00
GCC Administrator
bce7beed21 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r57300.3
2002-09-19 07:17:10 +00:00
Loren J. Rittle
b433da3cac * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
From-SVN: r57295
2002-09-19 04:26:25 +00:00
Richard Henderson
bf3d27e689 ifcvt.c (noce_process_if_block): Correctly detect X modified with INSN_B before COND_EARLIEST.
* ifcvt.c (noce_process_if_block): Correctly detect X modified
        with INSN_B before COND_EARLIEST.  Don't check A and B for
        modification in condition range.  Reorder INSN_B for A==B properly.
        (if_convert): Iterate until no matches for a block.

	* gcc.c-torture/execute/20020916-1.c: New.

From-SVN: r57294
2002-09-18 18:07:10 -07:00
Richard Henderson
1b1f20cab9 calls.c (store_one_arg): Rename default_align to parm_align; always adjust parm_align for downward padding.
* calls.c (store_one_arg): Rename default_align to parm_align;
	always adjust parm_align for downward padding.

From-SVN: r57292
2002-09-18 17:37:24 -07:00
Richard Henderson
724838b9aa toplev.c (backend_init): Move init_real_once invocation ...
* toplev.c (backend_init): Move init_real_once invocation ...
        (do_compile): ... here.

From-SVN: r57291
2002-09-18 17:12:07 -07:00
Richard Henderson
2c67b7c62b sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove RTX_UNCHANGING_P markers for successful tail-recursive replacement.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
        RTX_UNCHANGING_P markers for successful tail-recursive replacement.

From-SVN: r57290
2002-09-18 17:10:10 -07:00
Richard Henderson
15769ca344 * real.c (round_for_format): Collect sticky as unsigned long, not bool.
From-SVN: r57289
2002-09-18 17:05:28 -07:00
Alan Modra
678b77333a rs6000.md: (floatdisf2): Rename to floatdisf2_internal1.
* config/rs6000/rs6000.md: (floatdisf2): Rename to
	floatdisf2_internal1.
	(floatdisf2): New define_expand.
	(floatdisf2_internal2): Likewise.

From-SVN: r57288
2002-09-19 08:57:29 +09:30
Richard Henderson
c402b6bfbd real.c (sticky_rshift_significand): Collect sticky as unsigned long, not bool.
* real.c (sticky_rshift_significand): Collect sticky as
        unsigned long, not bool.

From-SVN: r57284
2002-09-18 14:23:24 -07:00
Ulrich Weigand
dea09b1b95 s390.c (s390_address_cost): New function.
* config/s390/s390.c (s390_address_cost): New function.
	config/s390/s390-protos.h (s390_address_cost): Add prototype.
	config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
	(RTX_COST): Use COSTS_N_INSNS.

From-SVN: r57282
2002-09-18 18:57:18 +00:00
Douglas B Rupp
e4850f36e5 stor-layout.c (place_field): Handle alignment of whole structures when MSVC compatible bitfields are involved.
* stor-layout.c (place_field): Handle alignment of whole
        structures when MSVC compatible bitfields are involved.
        Change method of computing location of MS bitfields to
        be compatible with #pragma pack(n).

        * tree.h (record_layout_info): Add new field
        remaining_in_alignment.

        * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
        (pragma pack): Add paragraph on MSVC bitfield packing.

Co-Authored-By: Donn Terry <donnte@microsoft.com>

From-SVN: r57281
2002-09-18 18:51:14 +00:00
Richard Henderson
62f1a74c0f * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
From-SVN: r57280
2002-09-18 11:06:13 -07:00
Richard Earnshaw
872e50d35b re PR rtl-optimization/7967 (optimization produces wrong code (ARM))
PR optimization/7967
* arm.md (ne_zeroextractsi): Add clobber of the condition code
register.

From-SVN: r57278
2002-09-18 14:01:58 +00:00
Nathan Sidwell
dd29188b82 decl.c (grokdeclarator): Use assert, not internal_error.
cp:
	* decl.c (grokdeclarator): Use assert, not internal_error. Don't
	ICE with invalid pointers & references.
testsuite:
	* g++.old-deja/g++.other/crash32.C: Mark ICE.

From-SVN: r57277
2002-09-18 13:08:34 +00:00
Kazu Hirata
5e7a8ee032 s390.c: Follow spelling convention.
* config/s390/s390.c: Follow spelling convention.
	* config/sh/lib1funcs.asm: Likewise.
	* config/sh/sh.c: Likewise.
	* config/sh/sh.h: Likewise.
	* config/sparc/sparc.c: Likewise.
	* config/sparc/sparc.h: Likewise.
	* config/sparc/sparc.md: Likewise.
	* config/stormy16/stormy16.c: Likewise.
	* config/stormy16/stormy16.h: Likewise.
	* config/v850/v850.c: Likewise.
	* config/v850/v850.h: Likewise.
	* config/vax/vax.c: Likewise.
	* config/vax/vax.h: Likewise.

From-SVN: r57276
2002-09-18 11:43:45 +00:00
Michael Koch
a2f2457fa4 Matcher.java, [...]: Merge with classpath, new files.
2002-09-18  Michael Koch  <konqueror@gmx.de>

	* java/util/regex/Matcher.java, java/util/regex/Pattern.java,
	java/util/regex/PatternSyntaxException.java:
	Merge with classpath, new files.
	* Makefile.am (core_java_source_files):
	Added java/util/regex/Matcher.java,
	java/util/regex/Pattern.java,
	java/util/regex/PatternSyntaxException.java
	* Makefile.in: Regenerated.
	* include/config.h.in: Added HAVE_NET_IF_H.
	* java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
	Removed #if 0 ... #endif.

From-SVN: r57275
2002-09-18 10:15:52 +00:00
Nick Clifton
00a892b812 rs6000.c (rs6000_emit_move): Handle V1DImode moves.
* config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
* config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
* config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.

From-SVN: r57274
2002-09-18 07:54:57 +00:00
GCC Administrator
60a0224c1e Daily bump.
From-SVN: r57273
2002-09-18 07:17:15 +00:00
GCC Administrator
5d70f0f318 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r57272.3
2002-09-18 07:17:14 +00:00
Zack Weinberg
bfb530012d ABOUT-GCC-NLS: Remove reference to enquire...
* ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
	statement that the only translation is to en_UK.

From-SVN: r57267
2002-09-18 05:07:02 +00:00
Kazu Hirata
825dda426b alpha.c: Follow spelling conventions.
* config/alpha/alpha.c: Follow spelling conventions.
	* config/alpha/alpha.h: Likewise.
	* config/alpha/alpha.md: Likewise.
	* config/arc/arc.h: Likewise.
	* config/arm/arm.c: Likewise.
	* config/arm/arm.h: Likewise.
	* config/arm/arm.md: Likewise.
	* config/arm/pe.c: Likewise.
	* config/arm/unknown-elf.h: Likewise.
	* config/avr/avr.c: Likewise.
	* config/avr/avr.h: Likewise.
	* config/c4x/c4x.c: Likewise.
	* config/cris/cris.c: Likewise.
	* config/cris/cris.h: Likewise.

From-SVN: r57266
2002-09-17 23:10:04 +00:00
Samuel Figueroa
8e16ab9995 Sam Figueroa's change to add ASM_OUTPUT_ALIGN_WITH_NOP.
From-SVN: r57261
2002-09-17 21:36:29 +00:00
Dale Johannesen
ac19be7eba Do not foward a branch to just after a loop exit before
loop optimization; this broke doloop detection.

From-SVN: r57260
2002-09-17 21:25:13 +00:00
Tom Tromey
6a0225133c re PR java/7950 (jc1 parses files ending in 0x0d incorrectly)
* lex.c (java_read_unicode_collapsing_terminators): Handle case
	where \r appears at EOF.  Fixes PR java/7950.

From-SVN: r57258
2002-09-17 20:59:53 +00:00
Nick Clifton
f1acdf8b0f (output_return_instruction): Do not writeback the stack pointer when it is being loaded.
(output_return_instruction): Do not writeback the stack pointer when it is
being loaded.  (arm_output_epilogue): Likewise.

From-SVN: r57256
2002-09-17 19:29:12 +00:00
Kazu Hirata
24491a0950 optabs.c (prepare_cmp_insn): Let emit_library_call_value generate a pseudo reg that receives the result of a...
* optabs.c (prepare_cmp_insn): Let emit_library_call_value
	generate a pseudo reg that receives the result of a libcall.
	(prepare_float_lib_cmp): Likewise.

From-SVN: r57255
2002-09-17 19:02:58 +00:00
Joseph Myers
ec55ac6864 * update_web_docs (MANUALS): Add fastjar.
From-SVN: r57254
2002-09-17 19:14:37 +01:00
Steve Ellcey
e6c247e043 * config/ia64/elf.h: Remove CPP_PREDEFINES.
From-SVN: r57253
2002-09-17 15:50:08 +00:00
Nicola Pero
ff2522a5c9 New tests for ObjC typechecking
From-SVN: r57251
2002-09-17 14:00:15 +00:00
Nicola Pero
1074d9d492 Fixed ObjC typechecking, particularly case with protocols
From-SVN: r57250
2002-09-17 13:59:30 +00:00
Nick Clifton
256e9fd21a machmode.def (V1DImode): New mode.
* machmode.def (V1DImode): New mode.  A single element vector.
* tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
  (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
* tree.c (build_common_tree_nodes_2): Build
  unsigned_V1DI_type_node and V1D1_type_node.
* c-common.c (c_common_type_for_mode): Return
  unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
* rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.

From-SVN: r57248
2002-09-17 13:03:40 +00:00
Nicola Pero
838c4534d4 Extended/updated objc documentation on constant string classes
From-SVN: r57247
2002-09-17 11:51:40 +00:00
Michael Koch
17656182f7 natNetworkInterface.cc: Removed unneed and yet wrong includes.
2002-09-17  Michael Koch  <konqueror@gmx.de>

	* java/net/natNetworkInterface.cc:
	Removed unneed and yet wrong includes.

From-SVN: r57246
2002-09-17 10:57:14 +00:00
Richard Henderson
eaff3bf8c3 trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
* trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
        * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
        * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
        (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
        * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
        and real_2expN instead of a loop.
        * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
        (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.

From-SVN: r57245
2002-09-17 02:30:47 -07:00
Richard Henderson
34bdc2473c Fix typo.
From-SVN: r57244
2002-09-17 02:26:05 -07:00
Roger Sayle
07532fad02 cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
* cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
	NOTE_INSN_LOOP_CONT notes when deleting basic blocks.

From-SVN: r57243
2002-09-17 09:03:57 +00:00
Nathan Sidwell
6d9f7a6866 Add expected error
From-SVN: r57242
2002-09-17 08:36:04 +00:00
GCC Administrator
63fcfe8e64 Daily bump.
From-SVN: r57241
2002-09-17 07:17:45 +00:00
Zack Weinberg
f989ed67ff Makefile.am (CFILES): Add cxxfilt.c.
binutils:
	* Makefile.am (CFILES): Add cxxfilt.c.
	(cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
	(cxxfilt_LDADD): Delete.
	Remove all references to underscore.c.
	Regen dependencies.
	* configure.in: Define TARGET_PREPENDS_UNDERSCORE in
	config.h from $UNDERSCORE, rather than AC_SUBSTing it.
	* binutils/cxxfilt.c: Moved here from gcc/cp, minor
	adjustments to fit into binutils framework.
	* configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.

gcc/cp:
	* Make-lang.in: Remove all references to the demangler.
	* cxxfilt.c: Moved to binutils.

From-SVN: r57235
2002-09-17 07:09:50 +00:00
Michael Koch
26ad77f173 NetworkInterface.java: New file.
2002-09-17  Michael Koch  <konqueror@gmx.de>

	* java/net/NetworkInterface.java: New file.
	* java/net/natNetworkInterface.java: New file.
	* configure.in: Added check for net/if.h.
	* configure: Regenerated.
	* Makefile.am
	(ordinary_java_source_files): Added NetworkInterface.java.
	(nat_source_files): Added natNetworkInterface.cc.
	* Makefile.in: Regenerated.

From-SVN: r57234
2002-09-17 06:58:40 +00:00
Richard Henderson
cb38fd88af expr.c (emit_block_move): Set memory block size as appropriate for the copy.
* expr.c (emit_block_move): Set memory block size as appropriate
        for the copy.

From-SVN: r57233
2002-09-16 23:56:47 -07:00
Richard Henderson
bd055118bd re PR fortran/3924 (g77 generates code which is rejected by GAS if COFF debugging info is requested)
PR fortran/3924
        * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.

From-SVN: r57232
2002-09-16 23:05:53 -07:00
Benjamin Kosnik
8c7820a0de c_shadow: Remove.
2002-09-16  Benjamin Kosnik  <bkoz@redhat.com>

        * include/c_shadow: Remove.
        * include/bits/generic_shadow.h: Remove.
        * include/Makefile.am: Remove generic_shadow.h.
        * acinclude.m4: Remove c_shadow references.
        * aclocal.m4: Regenerate.
        * configure: Regenerate.
        * mkcshadow: Remove.
        * mkinclosure: Remove.

From-SVN: r57231
2002-09-17 05:50:44 +00:00