Commit Graph

32794 Commits

Author SHA1 Message Date
Warren Levy
3824a48600 re PR libgcj/1411 (natTimeZone.cc should be removed)
Fix for PR libgcj/1411:
	* Makefile.am: Removed java/util/natTimeZone.cc.
	* Makefile.in: Rebuilt.
	* gnu/gcj/text/LocaleData_en_US.java (zoneStringsDefault): Added
	missing localized timezone names.
	* java/lang/System.java (getDefaultTimeZoneId): New private method.
	* java/lang/natSystem.cc (getSystemTimeZone): New private method.
	(init_properties): Set user.timezone property.
	* java/text/DateFormatSymbols.java (zoneStringsDefault): Added
	default timezone names; removed non-standard ones.  Use standard
	ID names per JCL.
	* java/util/Date.java (toGMTString): Removed zoneGMT variable.
	(UTC): Ditto.
	* java/util/TimeZone.java: Add standard ID names per JCL; removed
	non-standard ones.
	(getDefaultTimeZoneId): Removed.
	(zoneGMT): Removed.
	(getDefaultTimeZoneId): Removed.
	* java/util/natTimeZone.cc: Removed.

From-SVN: r38816
2001-01-09 07:07:51 +00:00
Nick Clifton
61db460830 Use init/mark/free machine status functions.
Fix compile time warnings building varasm.o
Define USER_LABEL_PREFIX, undefine ASM_OUTPUT_LABELREF

From-SVN: r38815
2001-01-09 03:10:13 +00:00
Alexandre Oliva
4a70b13a4c gen-num-limits.cc (signal_adapter): New template function.
* src/gen-num-limits.cc (signal_adapter): New template function.
(signal_handler): Use it, instead of signal.
(traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
require both tests to trap to set trap_flag.

From-SVN: r38814
2001-01-09 03:01:56 +00:00
Jim Wilson
9c8fad3381 sched-rgn.c (BITSET_ADD, [...]): Cast 1 to unsigned HOST_WIDE_INT before left shift.
* sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
	1 to unsigned HOST_WIDE_INT before left shift.

From-SVN: r38813
2001-01-08 19:40:18 -07:00
Loren J. Rittle
18eb26d4fe mzero2.x: Adjust statement of where a failure is expected.
* gcc.c-torture/execute/ieee/mzero2.x: Adjust statement of
	where a failure is expected.
	* gcc.c-torture/execute/ieee/rbug.x: Likewise.

From-SVN: r38812
2001-01-08 18:11:34 -07:00
Nick Clifton
f7a80099bd Fix memory leak
From-SVN: r38811
2001-01-09 01:08:53 +00:00
Benjamin Kosnik
5a259aec51 fpos.h (fpos:::fpos(streamoff __pos)): Explicitly initialize mbstate_t member, name offset data members *off, not pos.
2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
	initialize mbstate_t member, name offset data members *off, not pos.
	* include/bits/fstream.tcc (filebuf::filebuf): Same.

From-SVN: r38809
2001-01-08 23:51:57 +00:00
Bryce McKinlay
5bb11b2e20 In gcc/java:
* class.c (make_class_data): Push initial value for "arrayclass".
	* decl.c (init_decl_processing): Add new class field "arrayclass".

In libjava:
	* java/lang/Class.h (_Jv_InitClass): Use __builtin_expect.
	(_Jv_NewArrayClass): Renamed from _Jv_FindArrayClass.
	(_Jv_GetArrayClass): New inline function.
	(arrayclass): New field.
	* prims.cc (_Jv_NewObjectArray): Use _Jv_GetArrayClass. Don't use
	_Jv_GetArrayElementFromElementType.
	(_Jv_NewPrimArray): Ditto.
	(_Jv_PrimClass constructor): Initialize "depth", "ancestors", and
	"idt" for completeness. Initialze "arrayclass" using _Jv_NewArrayClass.
	Set Modifier::ABSTRACT.
	* java/lang/natClassLoader.cc (_Jv_NewClass): Initialize "arrayclass".
	(_Jv_NewArrayClass): Renamed from _Jv_FindArrayClass. Now void.
	Now synchronized. Array classes are now referenced from
	elementClass->arrayclass. Don't use _Jv_FindClassInCache.
	Set array classes' accessibility flags correctly. Optimize so that
	all array classes share the same IDT.
	* java/lang/reflect/natArray.cc (newInstance): Use _Jv_GetArrayClass.
	* java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature): Ditto.
	* java/lang/natClass.cc (_getFields): Increment offset. Prevent fields
	in superclasses from overwriting classes own fields.
	(_Jv_IsAssignableFrom): Check for NULL source idt instead of calling
	Modifier::isAbstract().
	(null_idt): New static field.
	(_Jv_PrepareConstantTimeTables): Optimize case where class implements
	no interfaces.
	(_Jv_IndexOf): Made inline.
	* boehm.cc (_Jv_MarkObj): Mark "arrayclass" field.

From-SVN: r38808
2001-01-08 23:28:56 +00:00
Tom Tromey
5bab9296f5 re PR java/1586 (linux build problem for libjava - cpplib (?))
Fix for PR java/1586:
	* Makefile.in: Rebuilt.
	* Makefile.am (AUTOMAKE_OPTIONS): Added no-dependencies.

From-SVN: r38807
2001-01-08 22:55:15 +00:00
Richard Henderson
3c74f8f987 * jump.c (simplejump_p): Revert last change.
From-SVN: r38806
2001-01-08 10:52:50 -08:00
Neil Booth
674c3b405c cppinit.c (init): Rename init_library.
* cppinit.c (init): Rename init_library.
        (cpp_create_reader): Update.
        * gcc.c (cpp_options): If -o given, use it as the target of
        any -M options.

From-SVN: r38805
2001-01-08 18:52:09 +00:00
Benjamin Kosnik
1d8939ef8a reported by Chris G.
2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>

	reported by Chris G. Demetriou <cgd@sibyte.com>
	* configure.in: Change -linux-* to -linux*.
	* configure: Regenerate.

From-SVN: r38804
2001-01-08 17:53:52 +00:00
Richard Earnshaw
b15bca310f arm.c (arm_arch5e): New variable.
* arm.c (arm_arch5e): New variable.
(all_cores): XScale is a 5TE device.
(arm_override_options): Set arm_arch5e.
(arm_init_builtins): __builtin_prefetch is in arch5e.
* arm.h (arm_arch5e): Declare it.

* arm.h (PREDICATE_CODES): Add arm_hard_register_operand.

* arm.md (define_constants): Add defines for UNSPEC and
UNSPEC_VOLATILE insns.  Update all users.
(define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
* arm.c (multi_register_push, note_invalid_constants)
(emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
* arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
(STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.

From-SVN: r38803
2001-01-08 15:33:06 +00:00
Jan Hubicka
261efdefd0 jump.c (jump_optimize_1): Use reversed_comparison_code instead of can_reverse_comparison_p.
* jump.c (jump_optimize_1): Use reversed_comparison_code
	instead of can_reverse_comparison_p.
	(jump_back_p): Likewise.
	(invert_exp_1): Likewise.
	(thread_jumps): Likewise.
	* simplify-rtx.c (simplify_unary_operation): Likewise.
	(simplify_ternary_operation): Likewise.
	* cse.c (find_comparison_args): Convert to use
	can_reverse_comparison_p.
	(record_jump_equiv): Likewise.

From-SVN: r38802
2001-01-08 15:16:40 +00:00
Nathan Sidwell
3febd12318 cp-tree.h (lang_decl_flags): Rename defined_in_class to initialized_in_class.
cp:
	* cp-tree.h (lang_decl_flags): Rename defined_in_class to
	initialized_in_class.
	(DECL_DEFINED_IN_CLASS_P): Rename to ...
	(DECL_INITIALIZED_IN_CLASS_P): ... here, to reflect true meaning.
	* decl.c (duplicate_decls): Preseve DECL_INITIALIZED_IN_CLASS_P.
	(cp_finish_decl): Adjust for DECL_INITIALIZED_IN_CLASS_P.
	* pt.c (check_default_tmpl_args): Adjust for
	DECL_INITIALIZED_IN_CLASS_P.
	(instantiate_class_template): Likewise.
	(instantiate_decl): Check DECL_INITIALIZED_IN_CLASS_P.

	* class.c (finish_struct): Constify saved_filename.
testsuite:
	* g++.old_deja/g++.pt/instantiate12.C: New test.

From-SVN: r38801
2001-01-08 14:41:03 +00:00
Richard Earnshaw
c7861455c8 arm.h (HARD_REGNO_RENAME_OK): Delete.
* arm.h (HARD_REGNO_RENAME_OK): Delete.
(EPILOGUE_USES): Define.
(INITIAL_ELIMINATION_OFFSET): Current prologue code does not
automatically stack the LR if it isn't live.

From-SVN: r38800
2001-01-08 14:32:53 +00:00
Jan Hubicka
734dba19cd i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions properly.
* i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
	properly.

From-SVN: r38799
2001-01-08 12:47:15 +00:00
Nathan Sidwell
1f0d71c5bb class.c (duplicate_tag_error): Adjust diagnostic.
cp:
	* class.c (duplicate_tag_error): Adjust diagnostic.
	(finish_struct): Locally set location to start of struct.
	* decl.c (fixup_anonymous_aggr): Use cp_error_at.
testsuite:
	* g++.old-deja/g++.benjamin/15309-1.C: Expect diagnostic at
	start of structs.
	* g++.old-deja/g++.benjamin/15309-2.C: Likewise.
	* g++.old-deja/g++.brendan/crash17.C: Likewise.
	* g++.old-deja/g++.brendan/crash29.C: Likewise.
	* g++.old-deja/g++.brendan/crash48.C: Likewise.
	* g++.old-deja/g++.brendan/ns1.C: Likewise.
	* g++.old-deja/g++.brendan/warnings1.C: Likewise.
	* g++.old-deja/g++.bugs/900205_04.C: Likewise.
	* g++.old-deja/g++.bugs/900514_03.C: Likewise.
	* g++.old-deja/g++.eh/spec6.C: Likewise.
	* g++.old-deja/g++.jason/crash3.C: Likewise.
	* g++.old-deja/g++.law/ctors11.C: Likewise.
	* g++.old-deja/g++.law/ctors17.C: Likewise.
	* g++.old-deja/g++.law/ctors5.C: Likewise.
	* g++.old-deja/g++.law/ctors9.C: Likewise.
	* g++.old-deja/g++.mike/ambig1.C: Likewise.
	* g++.old-deja/g++.mike/net22.C: Likewise.
	* g++.old-deja/g++.mike/p3538a.C: Likewise.
	* g++.old-deja/g++.mike/p3538b.C: Likewise.
	* g++.old-deja/g++.mike/virt3.C: Likewise.
	* g++.old-deja/g++.niklas/t128.C: Likewise.
	* g++.old-deja/g++.other/anon4.C: Likewise.
	* g++.old-deja/g++.other/using1.C: Likewise.
	* g++.old-deja/g++.other/warn3.C: Likewise.
	* g++.old-deja/g++.pt/t37.C: Likewise.
	* g++.old-deja/g++.robertl/eb69.C: Likewise.
	* g++.old-deja/g++.robertl/eb71.C: Likewise.

From-SVN: r38798
2001-01-08 11:45:22 +00:00
Nathan Sidwell
5bf15e846b Oops, wrong email on previous changelog
From-SVN: r38797
2001-01-08 11:33:46 +00:00
Nathan Sidwell
76191fdd29 decl.c (struct binding_level): Adjust class_shadowed comments to reflect reality.
cp:
	* decl.c (struct binding_level): Adjust class_shadowed comments
	to reflect reality.
	(push_class_level_binding): Ajust comments to reflect reality.
	Set IDENTIFIER_CLASS_VALUE when replacing an existing binding.
	Don't set TREE_VALUE on the class_shadowed list.
testsuite:
	* g++.old-deja/g++.other/lookup16.C: Remove XFAIL.

From-SVN: r38796
2001-01-08 11:30:22 +00:00
Jeff Law
02fbf2d20d Daily bump.
From-SVN: r38795
2001-01-08 01:45:09 -07:00
Bryce McKinlay
0a8f3dbb7a Makefile.am: Use the new "-M -MF" option for generating dependencies from the c++ compiler.
* Makefile.am: Use the new "-M -MF" option for generating dependencies
	from the c++ compiler.
	* Makefile.in: Rebuilt.

From-SVN: r38794
2001-01-08 07:55:25 +00:00
Bryce McKinlay
4fd297757d * libjava.compile/SuperConstr.java: New test case.
From-SVN: r38793
2001-01-08 02:13:32 +00:00
Mark Mitchell
0c58da3ed0 decl2.c (grokfield): Don't accept `asm' specifiers for non-static data members.
* decl2.c (grokfield): Don't accept `asm' specifiers for
	non-static data members.

From-SVN: r38792
2001-01-08 01:58:54 +00:00
Mark Mitchell
b1095f9cec ggc-page.c (max_alignment): New structure.
* ggc-page.c (max_alignment): New structure.
	(MAX_ALIGNMENT): New macro.
	(init_ggc): Use it to round up the sizes in the
	extra_order_size_table.

From-SVN: r38791
2001-01-08 01:38:53 +00:00
Franz Sirl
a701949a72 rs6000.h (EPILOGUE_USES): New, mark link register after reload.
2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
	after reload.

From-SVN: r38790
2001-01-08 01:07:31 +00:00
Anthony Green
6a9d31a7d4 001-01-07 Anthony Green <green@redhat.com>
* Makefile.am (texinfo): Add texinfo target for generating texinfo
        documentation.
	* Makefile.in: Rebuilt.

	* scripts/TexinfoDoclet.java: New file.

	* doc/java-applet.texi, doc/java-lang-reflect.texi,
	doc/java-awt-color.texi, doc/java-lang.texi,
	doc/java-awt-datatransfer.texi, doc/java-math.texi,
        doc/java-awt-event.texi, doc/java-net.texi,
	doc/java-awt-geom.texi, doc/java-security-spec.texi,
	doc/java-awt-image.texi, doc/java-security.texi,
	doc/java-awt-peer.texi, doc/java-sql.texi, doc/java-awt.texi,
	doc/java-text.texi, doc/java-beans-beancontext.texi,
        doc/java-util-jar.texi, doc/java-beans.texi,
	doc/java-util-zip.texi, doc/java-io.texi, doc/java-util.texi,
	doc/java-lang-ref.texi: New files.

From-SVN: r38789
2001-01-08 00:27:51 +00:00
Kaveh R. Ghazi
18f988a06b builtins.def (BUILT_IN_FPRINTF): New entry.
* builtins.def (BUILT_IN_FPRINTF): New entry.

	* c-common.c (c_expand_builtin_fprintf): New function.
	(init_function_format_info): Handle __builtin_fprintf.
	(c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
	(c_expand_builtin): Handle BUILT_IN_FPRINTF.

	* c-decl.c (duplicate_decls): Adjust comment.

	* extend.texi (fprintf): Document new builtin.

testsuite:
	* gcc.c-torture/execute/stdio-opt-3.c: New test.

From-SVN: r38788
2001-01-07 23:15:47 +00:00
Kaveh R. Ghazi
45b8ddb491 * expr.c (cplus_expand_expr): Don't reset `target'.
From-SVN: r38787
2001-01-07 23:03:53 +00:00
Richard Henderson
8cd0792fdd jump.c (simplejump_p): Recognize any single_set jump of the proper form.
* jump.c (simplejump_p): Recognize any single_set jump
        of the proper form.

From-SVN: r38786
2001-01-07 14:50:50 -08:00
Richard Henderson
9c2e06d903 t-linux (SHLIB_INSTALL): Double quote slibdir; fix typo in rm -f.
* config/t-linux (SHLIB_INSTALL): Double quote slibdir;
        fix typo in rm -f.
        * config/t-aix43 (SHLIB_INSTALL): Likewise.
        * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
        (SHLIB_LINK): Create links for the soname.
        * config/mips/t-iris6: Likewise.
        * config/sparc/t-slibgcc: Likewise.
        * config/sparc/t-slibgcc-sld: Likewise.

From-SVN: r38785
2001-01-07 13:55:10 -08:00
Richard Henderson
5b15f27732 configure.in (slibdir): Accept an --with-slibdir option.
* configure.in (slibdir): Accept an --with-slibdir option.
        Use "test" not "[" in configure.  Default to $(libdir).

From-SVN: r38784
2001-01-07 13:48:30 -08:00
Jakub Jelinek
eaf19aba9d i386.c (constant_call_address_operand): Accept (const (plus (symbol_ref) (const_int))).
* config/i386/i386.c (constant_call_address_operand): Accept
	(const (plus (symbol_ref) (const_int))).
	* config/i386/i386.h (PREDICATE_CODES): Add CONST for
	constant_call_address_operand.

	* gcc.c-torture/compile/20010107-1.c: New test.

From-SVN: r38783
2001-01-07 22:30:22 +01:00
Michael Hayes
a8b462be08 libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1 and LONG_LONG_TYPE_SIZE > 32.
* libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
	and LONG_LONG_TYPE_SIZE > 32.

From-SVN: r38782
2001-01-07 20:54:35 +00:00
Anthony Green
bc6d273e64 Fix bug in URLConnection and correct javadoc annotations in StringBuffer.
From-SVN: r38781
2001-01-07 20:01:46 +00:00
Gerald Pfeifer
3799607a1a jump.c (reversed_comparison_code_parts): Fix typo introduced by the previous change.
* jump.c (reversed_comparison_code_parts): Fix typo introduced by
	the previous change.

From-SVN: r38780
2001-01-07 19:09:44 +00:00
Jan Hubicka
ab94bc4884 jump.c (reversed_comparison_code_parts, [...]): New.
* jump.c (reversed_comparison_code_parts, reversed_comparison_code):
	New.
	(can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
	(reverse_condition_maybe_unordered): Abort on unsigned comparisons.
	* rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
	Declare.

From-SVN: r38779
2001-01-07 18:39:19 +00:00
Neil Booth
f6a13bffbb * fix-header.c (read_scan_file): s/pfile/scan_in/.
From-SVN: r38778
2001-01-07 17:42:22 +00:00
Neil Booth
963024335a c-lang.c (c_post_options): Call cpp_post_options.
* c-lang.c (c_post_options): Call cpp_post_options.
        * cppmain.c (main): Similarly.
        * fix-header.c (read_scan_file): Similarly.
        * cp/decl2.c (cxx_post_options): Similarly.
        * objc/objc-act.c (objc_post_options): Similarly.
        * cppinit.c (cpp_start_read): Move option consistency checks
        to cpp_post_options.  Don't call init_dependency_output.
        If needed, add default target and main file dependency.
        (OPT_MD, OPT_MMD): Remove.
        (OPT_MF): New.
        (cpp_handle_option): Update for OPT_* changes.
        (cpp_post_options): New.
        (init_dependency_output): Command line -MF overrides environment
        variables.  Don't set default target etc.  Suppress output
        if dependencies are going to stdout.
        (print_help): Update.
        * cpplib.h (cpp_post_options): New.
        * gcc.c (cpp_options): Update for -MD, -MMD, -MF.

From-SVN: r38777
2001-01-07 15:17:07 +00:00
Jan Hubicka
b34878a37b * jump.c (comparison_dominates_p): Support unordered compares.
From-SVN: r38776
2001-01-07 13:45:33 +00:00
Jan Hubicka
1f36a2ddaa simplify-rtx.c (simplify_relational_operation): Always simplify ORDERED and UNORDERED when FLAG_FAST_MATH.
* simplify-rtx.c (simplify_relational_operation): Always simplify
	ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
	and UNGE.

From-SVN: r38775
2001-01-07 13:40:09 +00:00
Jan Hubicka
69bc0a1faf combine.c (combine_simplify_rtx): Recognize the unordered compares.
* combine.c (combine_simplify_rtx): Recognize the unordered compares.
	(nonzero_bits): Likewise.
	(simplify_comparison): Likewise.
	(num_sign_bit_copies): Likewise; return more sane value depending
	on STORE_FLAG_VALUE.
	(known_cond): Do not assume EQ to be always true for equivalent
	operands.

From-SVN: r38774
2001-01-07 13:37:32 +00:00
Jan Hubicka
fd13313fdb * cse.c (fold_rtx): Handle unordered comparisons.
From-SVN: r38773
2001-01-07 13:32:59 +00:00
Jan Hubicka
91b2d1199a rtlanal.c (set_of_1): New static function.
* rtlanal.c (set_of_1): New static function.
	(reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
	 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
	 reg_set_last_last_regno): Remove.
	(set_of): New global function.
	(set_of_data): New structure.
	(reg_set_p, reg_set_last): Revamp for set_of.
	* rtl.h (set_of): New.

From-SVN: r38772
2001-01-07 13:06:43 +00:00
Joseph Myers
796cdb659f c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
* c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
	* extend.texi: Document _Exit builtin.

testsuite:
	* gcc.c-torture/execute/builtin-noret-1.c: New test.

From-SVN: r38771
2001-01-07 11:26:15 +00:00
Neil Booth
7ca3d2b152 (initialize, [...]): Rename s/initialize/init.
* (initialize, initialize_builtins,
        initialize_dependency_output, initialize_standard_includes):
        Rename s/initialize/init. Update.
        (init_dependency_output): Move to after
        cpp_handle_options, the correct location temporally at least.
        (opt_comp): Move next to init (), its caller.  Fix prototype.
        (init): Make "initialized" local scope.
        (cpp_create_reader): Always call init ().
        (cpp_start_read): Update.
        (output_deps): New function, broken out of cpp_finish.
        (cpp_finish): Break out output_deps.

From-SVN: r38770
2001-01-07 11:15:13 +00:00
Alexandre Oliva
536fe39c7a Fix typo.
From-SVN: r38769
2001-01-07 11:14:39 +00:00
Richard Henderson
344450940e collect2.c (COFF specific stuff): Revert 12-06 patch to prototype system functions.
* collect2.c (COFF specific stuff): Revert 12-06 patch
        to prototype system functions.

From-SVN: r38768
2001-01-07 02:46:09 -08:00
Joseph Myers
42110e7b0f format.h: New file.
* gcc.dg/format/format.h: New file.
	* gcc.dg/format/array-1.c, gcc.dg/format/attr-1.c,
	gcc.dg/format/branch-1.c, gcc.dg/format/c90-printf-1.c,
	gcc.dg/format/c90-printf-2.c, gcc.dg/format/c90-printf-3.c,
	gcc.dg/format/c90-scanf-1.c, gcc.dg/format/c90-scanf-2.c,
	gcc.dg/format/c90-scanf-3.c, gcc.dg/format/c90-scanf-4.c,
	gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c,
	gcc.dg/format/c94-printf-1.c, gcc.dg/format/c94-scanf-1.c,
	gcc.dg/format/c99-printf-1.c, gcc.dg/format/c99-printf-2.c,
	gcc.dg/format/c99-printf-3.c, gcc.dg/format/c99-scanf-1.c,
	gcc.dg/format/c99-scanf-2.c, gcc.dg/format/c99-scanf-3.c,
	gcc.dg/format/c99-strftime-1.c, gcc.dg/format/c99-strftime-2.c,
	gcc.dg/format/diag-1.c, gcc.dg/format/errmk-1.c,
	gcc.dg/format/ext-1.c, gcc.dg/format/ext-2.c,
	gcc.dg/format/ext-3.c, gcc.dg/format/ext-4.c,
	gcc.dg/format/ext-5.c, gcc.dg/format/miss-1.c,
	gcc.dg/format/miss-2.c, gcc.dg/format/no-exargs-1.c,
	gcc.dg/format/no-y2k-1.c, gcc.dg/format/nonlit-1.c,
	gcc.dg/format/nonlit-2.c, gcc.dg/format/nonlit-3.c,
	gcc.dg/format/sec-1.c, gcc.dg/format/strfmon-1.c,
	gcc.dg/format/va-1.c, gcc.dg/format/warnll-1.c,
	gcc.dg/format/xopen-1.c, gcc.dg/format/z-1.c: Include "format.h"
	instead of declaring standard types, macros and functions in each
	test.

From-SVN: r38767
2001-01-07 10:44:59 +00:00
Michael Hayes
96a45535c3 hard-reg-set.h: Add multiple include guard.
* hard-reg-set.h: Add multiple include guard.
	* basic-block.h (struct loop): Add `sink' field.
	* loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
	(emit_iv_add_mult): Delete.
	(loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
	(loop_iv_add_mult_emit_before, loop_insn_sink): Define.
	(unroll_loop): Remove end_insert_before argument.
	* loop.c (loop_givs_rescan): Remove end_insert_before argument.
	(maybe_eliminate_biv_1): Likewise.
	(emit_iv_add_mult): Delete.
	(gen_add_mult, loop_regs_update): New.
	(loop_insn_emit_after, loop_insn_emit_before): New.
	(loop_insn_sink, loop_insn_sink_or_swim): New.
	(emit_iv_add_mult): Delete.
	(scan_loop): Set loop->sink.
	(loop_givs_reduce): Use loop_insn_sink and its ilk.
	(loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
	(maybe_eliminate_biv_1): Likewise.
	(maybe_eliminate_biv_1): Add basic block argument.
	* unroll.c (unroll_loop): Remove end_insert_before argument.
	(find_splittable_regs): Likewise.
	(find_splittable_regs): Use loop_insn_sink and its ilk.
	(find_splittable_givs, final_biv_value, final_giv_value): Likewise.

From-SVN: r38766
2001-01-07 10:38:29 +00:00