Commit Graph

30381 Commits

Author SHA1 Message Date
Jeff Law
19b361db49 Daily bump.
From-SVN: r36288
2000-09-10 01:45:07 -06:00
Alexandre Oliva
2f7bf5b7eb acinclude.m4: Include libtool macros from the top level.
* acinclude.m4: Include libtool macros from the top level.
* aclocal.m4, configure: Rebuilt.

From-SVN: r36287
2000-09-10 07:43:14 +00:00
Richard Henderson
1d0f6d8982 * c-parse.in (asm patterns): Fix volatile check.
From-SVN: r36286
2000-09-10 00:07:20 -07:00
Kaveh R. Ghazi
e1aa514091 cppmacro.c (check_trad_stringification): New function.
* cppmacro.c (check_trad_stringification): New function.
	(save_expansion): If -Wtraditional, warn about stringification of
	macro arguments.

testsuite:
	* gcc.dg/cpp/tr-warn6.c: New test.

From-SVN: r36285
2000-09-10 03:41:50 +00:00
Michael Hayes
afa1738b58 loop.h (struct loop_mem_info): Move from loop.c (struct loop_info): Add fields store_mems...
* loop.h (struct loop_mem_info): Move from loop.c
	(struct loop_info): Add fields store_mems, mems, mems_idx,
	mems_allocated, unknown_address_altered,
	unknown_constant_address_altered, num_mem_sets, and
	first_loop_store_insn.

	* loop.c (loop_store_mems): Replace with field in loop_info struct.
	(loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
	(unknown_address_altered, unknown_constant_address_altered): Likewise.
	(num_mem_sets): Likewise.
 	(replace_loop_mems, replace_loop_regs): New.
	(struct loop_replace_args): New.
	(load_mems): Use replace_loop_mems.
	(try_copy_prop): Use replace_loop_regs.
	(replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.

From-SVN: r36284
2000-09-09 23:02:15 +00:00
Benjamin Kosnik
8a019bcf78 localefwd.h (locale::_Impl): Scope out types to public.
2000-09-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* bits/localefwd.h (locale::_Impl): Scope out types to public.
	(locale): Make _Impl declaration public.

From-SVN: r36283
2000-09-09 22:41:22 +00:00
Stephane Carrez
63883fc312 Recognize m6811-elf and m6812-elf
From-SVN: r36282
2000-09-09 23:21:25 +02:00
Geoff Keating
808788fe76 recog.c (validate_replace_rtx_1): Correct MODE parameter in call to operand_subword.
* recog.c (validate_replace_rtx_1): Correct MODE parameter in call
	to operand_subword.

From-SVN: r36281
2000-09-09 19:34:27 +00:00
Geoff Keating
0caae6ddb8 typeck.c (build_java_array_type): Correct first parameter in ADJUST_FIELD_ALIGN invocation.
* typeck.c (build_java_array_type): Correct first parameter
	in ADJUST_FIELD_ALIGN invocation.

From-SVN: r36280
2000-09-09 18:35:01 +00:00
Jeff Law
f52509a940 Daily bump.
From-SVN: r36279
2000-09-09 01:45:07 -06:00
Michael Hayes
02055ad620 loop.c (struct movables): New.
* loop.c (struct movables): New.
	(num_movables): Move into struct movables.
	(the_movables): Change type to struct movables.
	(ignore_some_movables): Change struct movable arg to struct movables.
 	(force_movables, combine_movables, regs_match_p): Likewise.
	(rtx_equal_for_loop_p, move_movables): Likewise.
	(scan_loop): Change movables to be of type struct movables.
	Replace last_movable with field in movables structure.

From-SVN: r36278
2000-09-09 04:48:48 +00:00
Zack Weinberg
ae54392bb9 c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
* c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
	(init_pragma): Avoid warning if pfile happens to be unused.
	* c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS.  Never
	define init_pragma to nothing.  Always prototype
	init_pragma.  Prototype dispatch_pragma if !USE_CPPLIB.

	* c-lex.c (process_directive): Always call dispatch_pragma.
	Initialize entering_c_header to 0.

From-SVN: r36277
2000-09-08 22:17:24 +00:00
Stephane Carrez
385c92176c m68hc11.md: New file, machine description for 68HC11 & 68HC12.
* config/m68hc11/m68hc11.md: New file, machine description for
	68HC11 & 68HC12.
	* config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
	* config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
	* config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
	* config/m68hc11/m68hc11-protos.h: New file.
	* config/m68hc11/m68hc11-crt0.S: New file, startup code.
	* config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
	* config/m68hc11/xm-m68hc11.h: New file, target defs.
	* config/m68hc11/larith.asm: New file, libgcc routines.

From-SVN: r36276
2000-09-08 22:54:44 +02:00
Felix Natter
e0b7ed05b2 porting-howto.html: New version.
2000-09-08  Felix Natter  <fnatter@gmx.net>

	* docs/17_intro/porting-howto.html:  New version.

From-SVN: r36275
2000-09-08 20:30:24 +00:00
Stephane Carrez
dfaf3cdbc4 Unsigned -> float conversion for fp-bit.c
From-SVN: r36274
2000-09-08 22:16:40 +02:00
Stephane Carrez
f246ff2351 Maintainer for 68hc11 port
From-SVN: r36273
2000-09-08 21:47:02 +02:00
Warren Levy
bc6ccd3316 PropertyChangeEvent.java (serialVersionUID): Added.
* java/beans/PropertyChangeEvent.java (serialVersionUID): Added.
	* java/beans/PropertyVetoException.java (serialVersionUID): Added.
	* java/io/File.java (writeObject): Added.
	(readObject): Added.
	(serialVersionUID): Added.
	* java/io/ObjectOutputStream.java (writeObject): Initialized
	fieldsAlreadyWritten before recursion rather than after.
	* java/io/ObjectStreamClass.java (serialVersionUID): Added.
	* java/io/OptionalDataException.java (serialVersionUID): Added.
	(OptionalDataException): Made package private.
	* java/io/SyncFailedException.java (SyncFailedException): Removed
	default constructor to match spec.
	* java/lang/Boolean.java (serialVersionUID): Added.
	* java/lang/Byte.java (serialVersionUID): Added.
	* java/lang/Character.java (serialVersionUID): Added.
	* java/lang/Double.java (serialVersionUID): Added.
	* java/lang/Float.java (serialVersionUID): Added.
	* java/lang/Integer.java (serialVersionUID): Added.
	* java/lang/Long.java (serialVersionUID): Added.
	* java/lang/Number.java (serialVersionUID): Added.
	* java/lang/Short.java (serialVersionUID): Added.
	* java/lang/String.java (serialVersionUID): Added.
	* java/lang/ThreadDeath.java (ThreadDeath): Removed constructor
	to match spec.
	* java/lang/reflect/InvocationTargetException.java
	(serialVersionUID): Added.
	* java/net/URL.java (handler): Made transient.
	(hashCode): Added field for serialization, per spec. and use
	cached value if available.
	(serialVersionUID): Added.
	(URL): Initialize hashCode.
	(set): Adjust hashCode.
	(readObject): New Method to initialize the protocol handler when
	deserializing.
	(writeObject): New method.
	* java/text/BreakIterator.java: Removed 'implements Serializable'.
	* java/text/Collator.java: Removed 'implements Serializable'.
	* java/util/GregorianCalendar.java (serialVersionUID): Added.
	* java/util/Properties.java (serialVersionUID): Added.
	* java/util/Random.java (serialVersionUID): Added.
	(seed): Made private.
	(nextNextGaussian): Made private.
	(haveNextNextGaussian): Made private.
	* java/util/Stack.java (serialVersionUID): Added.
	* java/util/TimeZone.java (serialVersionUID): Added.
	* java/util/Vector.java (serialVersionUID): Added.

Serialization mods.

From-SVN: r36272
2000-09-08 19:37:09 +00:00
Alex Samuel
759e81878c * cp-demangle.c: Fix copyright banner.
From-SVN: r36271
2000-09-08 17:50:54 +00:00
Bernd Schmidt
915119a5a3 MMX/SSE patterns for i386
From-SVN: r36270
2000-09-08 17:36:33 +00:00
Richard Earnshaw
8e49e00a2c * arm.c: Don't include tm.h directly.
From-SVN: r36269
2000-09-08 14:26:29 +00:00
Jan Hubicka
e65d02cf38 Fix typo
From-SVN: r36268
2000-09-08 12:37:10 +00:00
Jan Hubicka
bd5621a329 recog.c (validate_replace_rtx_1): Fix confusion about equality testing...
* recog.c (validate_replace_rtx_1): Fix confusion about equality
	testing; simplify subregs of constants and nested subregs.

From-SVN: r36267
2000-09-08 12:36:11 +00:00
Alexandre Oliva
6b3783de20 * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
From-SVN: r36266
2000-09-08 11:00:17 +00:00
Bernd Schmidt
9af354b715 Update docs for USE rtx.
From-SVN: r36265
2000-09-08 09:56:25 +00:00
Bernd Schmidt
ce701d1bd7 Fix computation of need_mode in choose_reload_regs.
From-SVN: r36264
2000-09-08 09:41:07 +00:00
Bernd Schmidt
82be40f7eb Some vector operation simplifications.
From-SVN: r36263
2000-09-08 09:39:23 +00:00
Jeff Law
d5e5ec886e Daily bump.
From-SVN: r36262
2000-09-08 01:45:07 -06:00
Richard Henderson
4287b5f14d lib1funcs.asm (__divsi3): Use .s1 for frcpa.
* config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
        (__modsi3, __umodsi3): Likewise.
        (__udivsi3): Likewise.  Normalize the TFmode values.

From-SVN: r36261
2000-09-07 23:17:23 -07:00
Geoff Keating
c5d71f39e0 sol-c0.c (_start): Declare `termfunc' parameter with a prototype.
* config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
	with a prototype.
	* config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
	warning.

From-SVN: r36260
2000-09-08 04:57:47 +00:00
Joern Rennecke
4c0d0505d9 Amend last change: add %, in front of Ldi%=:
From-SVN: r36259
2000-09-08 03:51:45 +01:00
J"orn Rennecke
712646d00e sh.md (cmpeqsi_ior_t, [...]): Remove.
* sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
	(cmpeqdi_t): Add output pattern.
	(cmpeqdi_t+1): Don't split when not optimizing.
	Restore proper splitting operation.

From-SVN: r36258
2000-09-08 03:46:41 +01:00
Richard Henderson
30acbc3e34 c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS, do not call dispatch_pragma.
* c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
        do not call dispatch_pragma.

From-SVN: r36257
2000-09-07 18:38:08 -07:00
Jim Wilson
46146529f6 Fix ia64-linux compiler abort on perl.
* reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
	to CLASS_CANNOT_CHANGE_MODE.
	* config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
	mode classes are different.

From-SVN: r36256
2000-09-07 18:35:53 -07:00
Benjamin Kosnik
f1158db342 atomicity.h (__exchange_and_add): Change unused to __unused__.
2000-09-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
	to __unused__.
	* config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
	* config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.

From-SVN: r36255
2000-09-08 01:30:38 +00:00
Zack Weinberg
6db8315512 cpplib.h (struct cpp_options): Add user_label_prefix member, left out of commit which removed cppulp.c.
* cpplib.h (struct cpp_options): Add user_label_prefix member,
	left out of commit which removed cppulp.c.

From-SVN: r36254
2000-09-08 01:29:56 +00:00
Richard Henderson
0d45144b57 bb-reorder.c (fixup_reorder_chain): Add jump in new block after switch for CASE_DROPS_THROUGH.
* bb-reorder.c (fixup_reorder_chain): Add jump in new block
        after switch for CASE_DROPS_THROUGH.

From-SVN: r36253
2000-09-07 17:25:05 -07:00
Benjamin Kosnik
7f586614b6 Add bits for --enable-maintainer-mode...
2000-09-07  Phil Edwards  <pme@sources.redhat.com>

	Add bits for --enable-maintainer-mode:
	- turns on enable_debug
          (doing "--enable-maint --disable-debug" will DTRT)
	- turns on -Werror, now off by default
	* acinclude.m4: Add bits.
	* aclocal.m4: Regenerate.
	* configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
	* configure: Regenerate.

From-SVN: r36252
2000-09-07 22:40:17 +00:00
Benjamin Kosnik
bed7f38970 std_cwctype.h: Remove yesterday's hacks.
2000-09-07  Benjamin Kosnik  <bkoz@cygnus.com>

	* bits/std_cwctype.h: Remove yesterday's hacks.

From-SVN: r36251
2000-09-07 22:38:41 +00:00
Richard Henderson
e8cb487384 loop.c (strength_reduce): Call check_ext_dependant_givs.
* loop.c (strength_reduce): Call check_ext_dependant_givs.
        Properly extend the biv initial value for the giv.
        (record_biv): Zero ext_dependant.
        (record_giv): New argument ext_val.  Update all callers.
        (general_induction_var): Likewise.
        (consec_sets_giv): Likewise.
        (simplify_giv_expr): Likewise.  Fill in ext_val if we find
        a sign-extend, zero-extend, or truncate.
        (combine_givs_p): Make sure modes are compatible.
        (check_ext_dependant_givs): New.
        (extend_value_for_giv): New.
        * loop.h (struct induction): Add ext_dependant.
        * unroll.c (iteration_info): Extend the biv initial value for the giv.
        (find_splittable_givs): Likewise.
        (final_giv_value): Likewise.

From-SVN: r36250
2000-09-07 15:26:37 -07:00
Zack Weinberg
8b97c5f8ef c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if REGISTER_TARGET_PRAGMAS is defined.
* c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
	REGISTER_TARGET_PRAGMAS is defined.  Duplicate some
	definitions from cpplib.h.
	* cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
	already done it.
	* tm.texi: Document HANDLE_PRAGMA as no longer supported.  Add
	documentation for REGISTER_TARGET_PRAGMAS.

	* c-lex.c: Include cpplib.h before c-pragma.h.  Define a
	default-pragma callback to implement -Wunknown-pragmas if
	USE_CPPLIB.
	* c-parse.in: Move all includes to top of file.
	* c-pragma.c: Include cpplib.h before c-pragma.h.  Include
	tm_p.h.
	(dispatch_pragma): Put the namespace in the -Wunknown-pragmas
	warning.
	(init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.

	* arm.h, arm-protos.h, arm.c,
	  c4x.h, c4x-protos.h, c4x.c,
	  h8300.h, h8300-protos.h, h8300.c,
	  i370.h, i370-protos.h, i370.c,
	  i960.h, i960-protos.h, i960.c,
	  sh.h, sh-protos.h, sh.c,
	  v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
	pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.

	* d30v.h: Don't mention HANDLE_PRAGMA in comment.  Add
	multiple include guard.
	* i370.md (untyped_call): Use GEN_CALL.
	(umodsi3): Remove unused variable.
	* sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
	* v850.c (output_move_single, output_move_double): Constify
	return value.
	(print_operand): Constify a char *.
	* v850.h (struct small_memory_info): Constify name member.

From-SVN: r36249
2000-09-07 22:24:34 +00:00
Kazu Hirata
1898584f04 h8300.h: Fix comment typos.
* config/h8300.h: Fix comment typos.
        * config/h8300/h8300.md: Likewise.
        * config/h8300/lib1funcs.asm: Likewise.

From-SVN: r36248
2000-09-07 16:11:31 -06:00
Brad Garcia
3a664f1601 stl_tree.h: Make operators !=, == type safe for map, set.
2000-09-07  Brad Garcia  <bgarcia@laurelnetworks.com>

	* bits/stl_tree.h: Make operators !=, == type safe for map, set.
	* testsuite/23_containers/set_operators.cc: New file. Should not
	compile.
	* testsuite/23_containers/map_operators.cc: New file. Ditto.

From-SVN: r36247
2000-09-07 21:08:59 +00:00
Brad Garcia
3eea1aed40 000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
* bits/stl_tree.h: Make operators !=, == type safe for map, set.
	* testsuite/23_containers/set_operators.cc: New file. Should not
	compile.
	* testsuite/23_containers/map_operators.cc: New file. Ditto.

From-SVN: r36246
2000-09-07 21:07:56 +00:00
Neil Booth
771c4df34e Makefile.in: Remove references to cppulp.{c,o}.
* Makefile.in: Remove references to cppulp.{c,o}.
	* cppinit.c (initialize_builtins, cpp_start_read,
	cpp_handle_option): Update to use cpp_options structure.
	* cppulp.c: Remove.

From-SVN: r36245
2000-09-07 20:31:06 +00:00
Michael Sokolov
2ecd81ef2b * md5.c: #include "ansidecl.h".
From-SVN: r36244
2000-09-07 14:38:43 -04:00
Alexandre Petit-Bianco
3e99f50c2b verify.c (merge_types): Load the types to merge if necessary.
2000-09-05  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* verify.c (merge_types): Load the types to merge if necessary.

(http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00245.html)

From-SVN: r36243
2000-09-07 11:24:41 -07:00
Joseph Myers
2496f0b583 c-common.c (time_char_table): Allow %#b and %#h.
* c-common.c (time_char_table): Allow %#b and %#h.

testsuite:
	* gcc.dg/format-ext-3.c: Test %#b and %#h as formats that should
	be accepted.

From-SVN: r36241
2000-09-07 18:20:04 +01:00
Herman A.J. ten Brugge
bf6302f0e7 reorg.c (find_end_label): If the basic block reorder pass moves the return insn to some other place try...
* reorg.c (find_end_label): If the basic block reorder pass moves the
	return insn to some other place try to locate it again and put our
	end_of_function_label there.
	* reorg.c (relax_delay_slots): Check if find_end_label created a
	new label that invalidates the current optimazation.

From-SVN: r36237
2000-09-07 09:18:46 -06:00
Catherine Moore
33b35a8dc4 * gcc.c-torture/execute/unroll-1.c: New test.
From-SVN: r36236
2000-09-07 09:12:24 -04:00
Catherine Moore
4598ffe97a unroll.c (unroll_loop): Check for unconditional jumps to loop continuation.
* unroll.c (unroll_loop): Check for unconditional jumps
        to loop continuation.  Delete if n_iterations is 1.
        (ujump_to_loop_cont): New routine.

From-SVN: r36235
2000-09-07 09:10:51 -04:00