Commit Graph

50433 Commits

Author SHA1 Message Date
Andreas Jaeger
e25a75e6da toplev.c: Use ISO C90 prototypes.
* toplev.c: Use ISO C90 prototypes.

        * toplev.h: Use ISO C90 prototypes.

From-SVN: r67299
2003-06-01 18:04:55 +02:00
Andreas Jaeger
16610927c0 genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
* genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
        Remove #if 0'ed function simplify_by_alternatives.
        (optimize_attrs): Remove #if 0'ed code.
        Remove ^L.
        Use ISO C90 prototypes.
        (make_canonical): Remove #if 0'ed code.
        (convert_const_symbol_ref): Remove #if 0'ed function.

From-SVN: r67298
2003-06-01 18:02:11 +02:00
Andreas Jaeger
3d7aafde11 genrecog.c: Use ISO C90 prototypes.
* genrecog.c: Use ISO C90 prototypes.
	(nodes_identical): Correct declaration to match prototype.
	(maybe_both_true): Likewise.
	(merge_trees): Likewise.

	* genpeep.c (gen_peephole): Remove #if 0 code.
	Use ISO C90 prototypes.

	* genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
	Remove #if 0'ed function simplify_by_alternatives.
	(optimize_attrs): Remove #if 0'ed code.
	Remove ^L.
	Use ISO C90 prototypes.
	(make_canonical): Remove #if 0'ed code.
	(convert_const_symbol_ref): Remove #if 0'ed function.

	* gen-protos.c (main): Check for argument.

	* rtl.h: Use ISO C90 prototypes for functions from lists.c.

	* params.h: Use ISO C90 prototypes.
	* params.c: Likewise.
	* intl.c: Likewise.
	* intl.h: Likewise.
	* lists.c: Likewise.
	* errors.c: Likewise.
	* errors.h: Likewise.
	* gencodes.c: Likewise.
	* genpreds.c: Likewise.
	* genattr.c: Likewise.
	* gen-protos.c: Likewise.
	* genflags.c: Likewise
	* genconditions.c: Likewise.
	* genautomata.c: Likewise.
	* gencheck.c: Likewise.
	* genconfig.c: Likewise.
	* genconstants.c: Likewise.
	* genemit.c: Likewise.
	* genextract.c: Likewise.
	* gengenrtl.c: Likewise.
	* gengtype.c: Likewise.
	* gengtype.h: Likewise.
	* genopinit.c: Likewise.
	* genoutput.c: Likewise.
	* gensupport.c: Likewise.
	* gensupport.h: Likewise.

From-SVN: r67296
2003-06-01 17:59:10 +02:00
Bud Davis
a5a88a76ab ste.c (ffeste_R838): Handle ERROR_MARK.
2003-06-01  Bud Davis  <bdavis9659@comcast.net>

	* ste.c (ffeste_R838): Handle ERROR_MARK.
	(ffeste_R839): Ditto.

From-SVN: r67295
2003-06-01 15:45:05 +00:00
Andreas Jaeger
cef2bd3e84 sdbout.h: Use ISO C90 prototypes.
* sdbout.h: Use ISO C90 prototypes.

	* sdbout.c (CONTIN): Removed empty macro.
	(sdbout_one_type): Remove CONTIN usages.
	Remove ^Ls.
	(tag_of_ru_type): Remove #if 0'ed function.
	(sdbout_symbol): Remove #if 0'ed code.
	(sdbout_one_type): Remove a #if 1.
	(sdbout_one_type): Remove #if 0'ed code.
	(sdbout_init): Remove RMS_QUICK_HACK_1 code.
	Remove PARAMS, use ISO C90 prototypes for all functions.

From-SVN: r67294
2003-06-01 17:43:59 +02:00
Josef Zlomek
4319414517 * rtl.def (CONST_DOUBLE): Update comment.
From-SVN: r67293
2003-06-01 14:42:42 +00:00
Neil Booth
cea8d8164c * opts.sh: Remove path from sort.
From-SVN: r67291
2003-06-01 13:19:50 +00:00
Aldy Hernandez
965f3913f4 add PR#
From-SVN: r67290
2003-06-01 11:36:25 +00:00
Aldy Hernandez
28636c6e0a rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require TARGET_SPE for SPE_VECTOR_MODE.
2003-06-01  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require
        TARGET_SPE for SPE_VECTOR_MODE.

From-SVN: r67289
2003-06-01 11:35:45 +00:00
Andreas Jaeger
e90c9dc046 lex.c (ffelex_file_fixed): Remove usage of REDUCE_CARD_SIZE_AFTER_BIGGY.
* lex.c (ffelex_file_fixed): Remove usage of
	REDUCE_CARD_SIZE_AFTER_BIGGY.

	* expr.c (ffeexpr_exprstack_push_operand_): Remove code depenend
	on WEIRD_NONFORTRAN_RULES.

	* com.c (ffecom_arg_ptr_to_expr): Remove
	PASS_HOLLERITH_BY_DESCRIPTOR dependend code.
	(ffecom_const_expr): Remove usage of NEWCOMMON.
	(ffecom_expand_let_stmt): Remove MOVE_EXPR.

From-SVN: r67287
2003-06-01 09:21:02 +02:00
GCC Administrator
1174a658cf Daily bump.
From-SVN: r67283
2003-06-01 00:16:06 +00:00
Aldy Hernandez
ddc9542b81 toplev.c (botch): Remove.
2003-05-31  Aldy Hernandez  <aldyh@redhat.com>

	* toplev.c (botch): Remove.
	(do_abort): Remove.
	(set_Wunused): Comment.
	(set_Wextra): Comment.
	Remove ^L's.
	(rest_of_compilation): Factor out common code into functions.
	(rest_of_handle_inlining): New.
	(rest_of_handle_ssa): New.
	(rest_of_handle_cse): New.
	(rest_of_handle_gcse): New.
	(rest_of_handle_loop_optimize): New.
	(rest_of_handle_jump_bypass): New.
	(rest_of_handle_sibling_calls): New.
	(rest_of_handle_null_pointer): New.
	(rest_of_handle_addresof): New.
	(rest_of_handle_flow): New.
	(rest_of_handle_branch_prob): New.
	(rest_of_handle_if_conversion): New.
	(rest_of_handle_tracer): New.
	(rest_of_handle_loop2): New.
	(rest_of_handle_cse2): New.
	(rest_of_handle_life): New.
	(rest_of_handle_combine): New.
	(rest_of_handle_if_after_combine): New.
	(rest_of_handle_regmove): New.
	(rest_of_handle_sched): New.
	(rest_of_handle_old_regalloc): New.
	(rest_of_handle_new_regalloc): New.
	(rest_of_handle_regrename): New.
	(rest_of_handle_reorder_blocks): New.
	(rest_of_handle_sched2): New.
	(rest_of_handle_new_regalloc): New.
	(rest_of_handle_old_regalloc): New.
	(rest_of_handle_regrename): New.
	(rest_of_handle_reorder_blocks): New.
	(rest_of_handle_stack_regs): New.
	(rest_of_handle_machine_reorg): New.
	(rest_of_handle_delay_slots): New.
	(rest_of_handle_final): New.

	* toplev.h (botch): Remove prototype.
	(do_abort): Same.

From-SVN: r67281
2003-05-31 23:46:41 +00:00
Wolfgang Bangerth
c487d8b607 Remove some references to GNATS. Reference to gnats.html still to be purged.
From-SVN: r67280
2003-05-31 17:09:11 -06:00
Diego Novillo
522801e76c class.c (dump_array): Call CONSTRUCTOR_ELTS to access the operand of a CONSTRUCTOR node.
* class.c (dump_array): Call CONSTRUCTOR_ELTS to access
	the operand of a CONSTRUCTOR node.

From-SVN: r67279
2003-05-31 18:32:42 -04:00
Neil Booth
fef3106c7b Makefile.in (c-opts.o, [...]): Update dependencies.
* Makefile.in (c-opts.o, c-options.h): Update dependencies.
	* c-opts.c: Include c-options.h and c-options.c.
	(CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY):
	Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX.
	(CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option,
	OPT, opt_comp): Remove.
	(missing_arg, c_common_init_options, c_common_decode_option,
	write_langs): Update for macro redefinitions and enumeration
	name changes.
	* c.opt, opts.sh: New files.
	* doc/passes.texi: Update.

From-SVN: r67278
2003-05-31 21:18:21 +00:00
Toon Moene
5f90145a64 ffree-form-2.f: XFAIL removed, because fixed.
2003-05-31  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.dg/ffree-form-2.f: XFAIL removed, because fixed.

From-SVN: r67277
2003-05-31 19:49:59 +00:00
Bud Davis
92ffc027d1 re PR fortran/10843 (g77 -ffree-form rejects "GO TO".)
2003-05-31  Bud Davis  <bdavis9659@comcast.net>

	PR fortran/10843
	* sta.c (ffesta_second_): Parse GO TO correctly,
	even in free source format.

From-SVN: r67276
2003-05-31 19:45:41 +00:00
Andreas Jaeger
14fb18b06f Add missed chunk in last commit.
From-SVN: r67275
2003-05-31 20:59:10 +02:00
Andreas Jaeger
0d569849e6 function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE usage.
* function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE
        usage.

        * doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE.

        * config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE.

        * system.h: Poison ALLOCATE_TRAMPOLINE.

        * doc/tm.texi (Misc): Remove HANDLE_PRAGMA.
        * system.h: Poison HANDLE_PRAGMA.

	In f/
        * lex.c (ffelex_hash_): Remove HANDLE_PRAGMA and
        HANDLE_GENERIC_PRAGMA dependend code, remove #if 0 code.
        (pragma_getc): Removed.
        (pragma_ungetc): Removed.

From-SVN: r67274
2003-05-31 20:45:31 +02:00
Neil Booth
c79af3fafd * MAINTAINERS: Add self as option-handling maintainer.
From-SVN: r67273
2003-05-31 15:03:02 +00:00
Kazu Hirata
e0ce2ed28c * doc/invoke.texi: Update dump file names.
From-SVN: r67272
2003-05-31 14:48:45 +00:00
Kaveh R. Ghazi
2ec29bbfdf c-format.c (format_length_info, [...]): De-const-ify structure members.
* c-format.c (format_length_info, format_char_info,
	format_flag_spec, format_flag_pair, format_kind_info):
	De-const-ify structure members.

From-SVN: r67271
2003-05-31 14:03:06 +00:00
Roger Sayle
4fa26a6079 flags.h (flag_wrapv): New flag controlling overflow semantics.
* flags.h (flag_wrapv): New flag controlling overflow semantics.
	* toplev.c (flag_wrapv): Declare the variable with default false.
	(lang_independent_options): New option "-fwrapv" to set the above.

	* fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2
	as x, when signed arithmetic overflow wraps around.
	(fold): Optimize "-A - B" as "-B - A" if overflow wraps around.
	* loop.c (basic_induction_var): Ignore BIVs that rely on undefined
	overflow when flag_wrapv is true.

	* java/lang.c (java_init_options): Prescribe wrap-around two's
	complement arithmetic overflow by setting flag_wrapv.

	* doc/invoke.texi: Document new -fwrapv command line option.
	* doc/c-tree.texi: Mention that the overflow semantics of
	NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent
	upon both flag_wrapv and flag_trapv.

	* gcc.dg/fwrapv-1.c: New test case.
	* gcc.dg/fwrapv-2.c: New test case.

	* libjava.lang/Overflow.java: New test.
	* libjava.lang/Overflow.out: New file.

From-SVN: r67270
2003-05-31 13:23:32 +00:00
Gabriel Dos Reis
82a2669ea7 decl.c (cp_binding_level::this_entity): Rename from this_class.
* decl.c (cp_binding_level::this_entity): Rename from this_class.
	(cxx_scope_descriptor): New function.
	(cxx_scope_debug): Likewise.
	(push_binding_level): Use it.
	(pop_binding_level): Likewise.
	(suspend_binding_level): Likewise.
	(resume_binding_level): Likewise.
	(pushlevel_class): Adjust use of this_class.
	(pushtag): Likewise.
	(lookup_name_real): Likewise.
	(global_scope_name): New variable.
	(initialize_predefined_identifiers): Initialize it.
	(push_namespace): Use it.
	(make_cxx_scope): New function.
	(pushlevel): Use it.
	(pushlevel_class): Likewise.
	(push_binding_level): Simplify.  Loose the last two arguments.
	(make_binding_level): Remove.
	(initial_push__namespace_scope): New function.
	(push_namespace): Use it.  Simplify.
	(cxx_init_decl_processing): Likewise.
	(declare_namespace_level): Remove.

From-SVN: r67269
2003-05-31 12:53:41 +00:00
Kriang Lerdsuwanakij
76d3baad59 re PR c++/10956 (ICE when specializing a template member function of a template class, in tsubst, at cp/pt.c:6459)
PR c++/10956
	* pt.c (instantiate_decl): Don't use full template arguments if
	we are dealing with specializations.

	* g++.dg/template/spec9.C: New test.

From-SVN: r67268
2003-05-31 12:13:30 +00:00
Eric Botcazou
5fb5709764 install.texi (mips-sgi-irix5): Add missing HTML <hr> marker.
* doc/install.texi (mips-sgi-irix5): Add missing
	HTML <hr> marker.

From-SVN: r67265
2003-05-31 09:31:41 +00:00
Eric Botcazou
8a69f99fc9 md.texi (Machine Constraints): Document missing SPARC constraints.
* doc/md.texi (Machine Constraints): Document
	missing SPARC constraints.

From-SVN: r67263
2003-05-31 07:53:13 +00:00
Eric Botcazou
68e4d4c56e md.texi (Automaton pipeline description): Use "type" instead of "cpu" as the attribute in the examples.
* doc/md.texi (Automaton pipeline description): Use
	"type" instead of "cpu" as the attribute in the examples.

From-SVN: r67261
2003-05-31 07:43:47 +00:00
Roger Sayle
d57f4eadb3 com.c (ffecom_init_0): Define built-in functions for tan and atan.
* com.c (ffecom_init_0): Define built-in functions for tan and atan.
	* com-rt.def: Use then to implement g77's tan and atan intrinsics.

From-SVN: r67260
2003-05-31 02:44:34 +00:00
GCC Administrator
1ca244f8a3 Daily bump.
From-SVN: r67257
2003-05-31 00:16:06 +00:00
Stan Shebs
e5bcbd89d8 * system.h: Poison OBJC_PROLOGUE.
From-SVN: r67255
2003-05-30 23:14:41 +00:00
Roger Sayle
b1d673bef7 emit-rtl.c (gen_complex_constant_part): New function for getting the constant real or imaginary part of a complex constant.
* emit-rtl.c (gen_complex_constant_part): New function for getting
	the constant real or imaginary part of a complex constant.
	(gen_realpart): Use it.
	(gen_imagpart): Likewise.

From-SVN: r67252
2003-05-30 21:41:21 +00:00
Kazu Hirata
65d2d7642e invoke.texi: Fix typos.
* doc/invoke.texi: Fix typos.
	* doc/rtl.texi: Likewise.

From-SVN: r67251
2003-05-30 19:50:02 +00:00
Dhananjay Deshpande
5c29d24c62 crti.asm: Use .h8300hn and .h8300sn for normal mode.
* config/h8300/crti.asm: Use .h8300hn and .h8300sn for normal
	mode.
	* config/h8300/crtn.asm: Likewise.
	* config/h8300/lib1funcs.asm: Likewise.
	* config/h8300/h8300.c (asm_file_start): Likewise.
	* config/h8300/elf.h (LINK_SPEC): Use h8300hnelf and
	h8300snelf emulations for normal mode.
	* config/h8300/h8300.h (LINK_SPEC): Use h8300hn and h8300sn
	emulations for normal mode.

From-SVN: r67250
2003-05-30 19:26:14 +00:00
Phil Edwards
a75e519150 filter: New file.
2003-05-30  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/filter:  New file.
	* docs/doxygen/filter.sed:  New file.
	* docs/doxygen/run_doxygen:  Add g flag to sed substitutions.  Duh.
	* docs/doxygen/user.cfg.in (INPUT_FILTER):  Point to new filter.
	* docs/html/documentation.html:  Fix links to doxygen pages.

From-SVN: r67249
2003-05-30 19:12:56 +00:00
Dhananjay Deshpande
6d7d3112bd h8300.c (h8300_tiny_constant_address_p): Return true if TARGET_NORMAL_MODE.
* config/h8300/h8300.c (h8300_tiny_constant_address_p): Return
	true if TARGET_NORMAL_MODE.

From-SVN: r67248
2003-05-30 19:12:42 +00:00
Roger Sayle
0c19a26f77 cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when making a substitution.
* cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when
	making a substitution.
	(dead_libcall_p): If directly replacing a libcall with a
	constant value produces an invalid instruction, also try forcing
	the constant into the constant pool.
	* expr.c (emit_move_insn): Add a REG_EQUAL note when it is not
	obvious that the source is a constant.
	(compress_float_constant): Use set_unique_reg_note to place
	REG_EQUAL notes on instructions.

From-SVN: r67247
2003-05-30 17:49:44 +00:00
Eric Christopher
9a38893aa7 mips.c (extern_list): Add GTY marker.
2003-05-30  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.c (extern_list): Add GTY marker.
	(extern_head): Separate out definition. Add marker.
	(mips_output_external): Use ggc_alloc for extern_list
	allocation.
	(mips_output_external_libcall): Ditto.

From-SVN: r67245
2003-05-30 16:23:59 +00:00
Florian Weimer
3e98a1199b install.texi: Ada-enabled bootstrap requires GNAT 3.14 or later.
2003-05-30  Florian Weimer  <fw@deneb.enyo.de>

	* doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or
	later.

From-SVN: r67244
2003-05-30 17:52:42 +02:00
Kaveh R. Ghazi
ace49484dd vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warnings.
* vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
	warnings.
	(PRINT_OPERAND): Likewise.

From-SVN: r67243
2003-05-30 14:02:48 +00:00
Rainer Orth
3bd4f46089 mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move -mdebug/-no-mdebug switches ...
* config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move
	-mdebug/-no-mdebug switches ...
	(MDEBUG_ASM_SPEC): ... here.
	Use only with gas.
	(EXTRA_SPECS): Initialize mdebug_asm_spec.

From-SVN: r67242
2003-05-30 12:02:45 +00:00
Paolo Carlini
c5b6351bd6 fstream.tcc (_M_convert_to_external): Don't check for __ilen > 0.
2003-05-30  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/fstream.tcc (_M_convert_to_external): Don't
	check for __ilen > 0.

From-SVN: r67240
2003-05-30 11:39:56 +00:00
Matt Kraai
61d74548d6 Remove conflict marker.
From-SVN: r67239
2003-05-30 00:50:32 +00:00
Matt Kraai
8fdf766886 gthr-gnat.c: Remove #undef UNUSED.
* gthr-gnat.c: Remove #undef UNUSED.
	(__gnat_default_lock, __gnat_default_unlock): Prototype.
	(__gnat_task_lock, __gnat_task_unlock): Make declarations
	prototypes.
	(__gnat_install_locks): Convert declaration to ISO C90, make
	parameter declarations prototypes, and remove blank line.
	* gthr-gnat.h (__gnat_install_locks): Make parameter
	declarations prototypes.

From-SVN: r67238
2003-05-30 00:43:08 +00:00
GCC Administrator
f0ae2326c0 Daily bump.
From-SVN: r67236
2003-05-30 00:16:06 +00:00
Jason Merrill
a7db751ae5 * Makefile.in (unstrap): Remove stage_last after make unstage1.
From-SVN: r67233
2003-05-29 19:05:39 -04:00
Roger Sayle
af7387cae5 * mips-tfile.c (PAGE_SIZE): Increase page size to 32K.
From-SVN: r67232
2003-05-29 21:36:52 +00:00
Jason Merrill
ac850948a6 add comment
From-SVN: r67231
2003-05-29 17:33:50 -04:00
Roger Sayle
d90f988266 re PR bootstrap/10169 (Bootstrap fails on mainline with Tru64 5.1B)
PR bootstrap/10169
	* mips-tfile.c (main): Use getopt_long instead of getopt.
	Add new command line option --version to display version.
	Treat --verbose like -v to report a single line version.
	(options): New global variable for getopt_long.
	* mips-tdump.c (main): Use getopt_long instead of getopt.
	New command line options -v, --version and -verbose to display
	the program version number (to match mips-tfile's behavior).
	(options): New global variable for getopt_long.

	* gcov.c (options): Zero-terminate getopt_long array.
	* gcov-dump.c (options): Likewise.

	* Makefile.in (mips-tdump.o): Add dependency on version.h.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

From-SVN: r67230
2003-05-29 21:33:35 +00:00
Stan Shebs
1c36b2f912 Remove OBJC_PROLOGUE everywhere.
* objc/objc-act.c (finish_objc): Remove use of OBJC_PROLOGUE.
	* config/avr/avr.h: Remove no-op ref to OBJC_PROLOGUE.
	* config/d30v/d30v.h: Similarly.
	* config/ip2k/ip2k.h: Similarly.
	* doc/tm.texi: Remove doc of OBJC_PROLOGUE.

From-SVN: r67229
2003-05-29 21:13:35 +00:00