DJ Delorie [Sun, 1 Jun 2003 18:55:15 +0000 (14:55 -0400)]
cppmacro.c (warn_of_redefinition): Handle cases where the two definitions have different numbers of tokens.
* cppmacro.c (warn_of_redefinition): Handle cases where the two
definitions have different numbers of tokens.
* gcc.dg/cpp/redef3.c: New file.
From-SVN: r67307
Andreas Jaeger [Sun, 1 Jun 2003 18:48:38 +0000 (20:48 +0200)]
gen-protos.c (main): Readd unused attribute for argc.
2003-06-01 Andreas Jaeger <aj@suse.de>
* gen-protos.c (main): Readd unused attribute for argc.
From-SVN: r67306
Neil Booth [Sun, 1 Jun 2003 18:24:08 +0000 (18:24 +0000)]
Makefile.in (c-options.c, [...]): Parallel make safe.
* Makefile.in (c-options.c, c-options.h): Parallel make safe.
* c.opt: End in blank line.
* opts.sh: Take AWK from environment if available; use C locale.
From-SVN: r67305
Andreas Schwab [Sun, 1 Jun 2003 17:43:20 +0000 (17:43 +0000)]
* config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.
From-SVN: r67304
Andreas Jaeger [Sun, 1 Jun 2003 16:48:05 +0000 (18:48 +0200)]
* gen-protos.c (main): Revert patch to check for argument.
From-SVN: r67303
Eric Botcazou [Sun, 1 Jun 2003 16:10:09 +0000 (18:10 +0200)]
re PR target/11044 ([x86] out of range loop instructions for FP code on K6)
PR target/11044
* config/i386/i386.md (length attribute): Set length to 4
for instructions of type "fcmp".
From-SVN: r67300
Andreas Jaeger [Sun, 1 Jun 2003 16:04:55 +0000 (18:04 +0200)]
toplev.c: Use ISO C90 prototypes.
* toplev.c: Use ISO C90 prototypes.
* toplev.h: Use ISO C90 prototypes.
From-SVN: r67299
Andreas Jaeger [Sun, 1 Jun 2003 16:02:11 +0000 (18:02 +0200)]
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
Andreas Jaeger [Sun, 1 Jun 2003 15:59:10 +0000 (17:59 +0200)]
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
Bud Davis [Sun, 1 Jun 2003 15:45:05 +0000 (15:45 +0000)]
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
Andreas Jaeger [Sun, 1 Jun 2003 15:43:59 +0000 (17:43 +0200)]
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
Josef Zlomek [Sun, 1 Jun 2003 14:42:42 +0000 (16:42 +0200)]
* rtl.def (CONST_DOUBLE): Update comment.
From-SVN: r67293
Neil Booth [Sun, 1 Jun 2003 13:19:50 +0000 (13:19 +0000)]
* opts.sh: Remove path from sort.
From-SVN: r67291
Aldy Hernandez [Sun, 1 Jun 2003 11:36:25 +0000 (11:36 +0000)]
add PR#
From-SVN: r67290
Aldy Hernandez [Sun, 1 Jun 2003 11:35:45 +0000 (11:35 +0000)]
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
Andreas Jaeger [Sun, 1 Jun 2003 07:21:02 +0000 (09:21 +0200)]
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
GCC Administrator [Sun, 1 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67283
Aldy Hernandez [Sat, 31 May 2003 23:46:41 +0000 (23:46 +0000)]
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
Wolfgang Bangerth [Sat, 31 May 2003 23:09:11 +0000 (17:09 -0600)]
Remove some references to GNATS. Reference to gnats.html still to be purged.
From-SVN: r67280
Diego Novillo [Sat, 31 May 2003 22:32:42 +0000 (22:32 +0000)]
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
Neil Booth [Sat, 31 May 2003 21:18:21 +0000 (21:18 +0000)]
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
Toon Moene [Sat, 31 May 2003 19:49:59 +0000 (21:49 +0200)]
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
Bud Davis [Sat, 31 May 2003 19:45:41 +0000 (19:45 +0000)]
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
Andreas Jaeger [Sat, 31 May 2003 18:59:10 +0000 (20:59 +0200)]
Add missed chunk in last commit.
From-SVN: r67275
Andreas Jaeger [Sat, 31 May 2003 18:45:31 +0000 (20:45 +0200)]
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
Neil Booth [Sat, 31 May 2003 15:03:02 +0000 (15:03 +0000)]
* MAINTAINERS: Add self as option-handling maintainer.
From-SVN: r67273
Kazu Hirata [Sat, 31 May 2003 14:48:45 +0000 (14:48 +0000)]
* doc/invoke.texi: Update dump file names.
From-SVN: r67272
Kaveh R. Ghazi [Sat, 31 May 2003 14:03:06 +0000 (14:03 +0000)]
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
Roger Sayle [Sat, 31 May 2003 13:23:32 +0000 (13:23 +0000)]
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
Gabriel Dos Reis [Sat, 31 May 2003 12:53:41 +0000 (12:53 +0000)]
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
Kriang Lerdsuwanakij [Sat, 31 May 2003 12:13:30 +0000 (12:13 +0000)]
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
Eric Botcazou [Sat, 31 May 2003 09:31:41 +0000 (11:31 +0200)]
install.texi (mips-sgi-irix5): Add missing HTML <hr> marker.
* doc/install.texi (mips-sgi-irix5): Add missing
HTML <hr> marker.
From-SVN: r67265
Eric Botcazou [Sat, 31 May 2003 07:53:13 +0000 (09:53 +0200)]
md.texi (Machine Constraints): Document missing SPARC constraints.
* doc/md.texi (Machine Constraints): Document
missing SPARC constraints.
From-SVN: r67263
Eric Botcazou [Sat, 31 May 2003 07:43:47 +0000 (09:43 +0200)]
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
Roger Sayle [Sat, 31 May 2003 02:44:34 +0000 (02:44 +0000)]
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
GCC Administrator [Sat, 31 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67257
Stan Shebs [Fri, 30 May 2003 23:14:41 +0000 (23:14 +0000)]
* system.h: Poison OBJC_PROLOGUE.
From-SVN: r67255
Roger Sayle [Fri, 30 May 2003 21:41:21 +0000 (21:41 +0000)]
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
Kazu Hirata [Fri, 30 May 2003 19:50:02 +0000 (19:50 +0000)]
invoke.texi: Fix typos.
* doc/invoke.texi: Fix typos.
* doc/rtl.texi: Likewise.
From-SVN: r67251
Dhananjay Deshpande [Fri, 30 May 2003 19:26:14 +0000 (19:26 +0000)]
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
Phil Edwards [Fri, 30 May 2003 19:12:56 +0000 (19:12 +0000)]
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
Dhananjay Deshpande [Fri, 30 May 2003 19:12:42 +0000 (19:12 +0000)]
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
Roger Sayle [Fri, 30 May 2003 17:49:44 +0000 (17:49 +0000)]
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
Eric Christopher [Fri, 30 May 2003 16:23:59 +0000 (16:23 +0000)]
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
Florian Weimer [Fri, 30 May 2003 15:52:42 +0000 (17:52 +0200)]
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
Kaveh R. Ghazi [Fri, 30 May 2003 14:02:48 +0000 (14:02 +0000)]
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
Rainer Orth [Fri, 30 May 2003 12:02:45 +0000 (12:02 +0000)]
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
Paolo Carlini [Fri, 30 May 2003 11:39:56 +0000 (13:39 +0200)]
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
Matt Kraai [Fri, 30 May 2003 00:50:32 +0000 (00:50 +0000)]
Remove conflict marker.
From-SVN: r67239
Matt Kraai [Fri, 30 May 2003 00:43:08 +0000 (00:43 +0000)]
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
GCC Administrator [Fri, 30 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67236
Jason Merrill [Thu, 29 May 2003 23:05:39 +0000 (19:05 -0400)]
* Makefile.in (unstrap): Remove stage_last after make unstage1.
From-SVN: r67233
Roger Sayle [Thu, 29 May 2003 21:36:52 +0000 (21:36 +0000)]
* mips-tfile.c (PAGE_SIZE): Increase page size to 32K.
From-SVN: r67232
Jason Merrill [Thu, 29 May 2003 21:33:50 +0000 (17:33 -0400)]
add comment
From-SVN: r67231
Roger Sayle [Thu, 29 May 2003 21:33:35 +0000 (21:33 +0000)]
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
Stan Shebs [Thu, 29 May 2003 21:13:35 +0000 (21:13 +0000)]
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
Gabriel Dos Reis [Thu, 29 May 2003 17:25:04 +0000 (17:25 +0000)]
decl.c (ENABLE_SCOPE_CHECKING): Rename from DEBUG_BINDING_LEVELS.
* decl.c (ENABLE_SCOPE_CHECKING): Rename from DEBUG_BINDING_LEVELS.
(binding_depth): Unconditionally define.
(is_class_level): Likewise.
(indent): Likewise. Take an indenting parameter.
(push_binding_level): Remove conditional definittion.
(pop_binding_level): Likewise.
(suspend_binding_level): Likewise.
(resume_binding_level): Likewise.
(pushlevel): Likewise.
(pushlevel_class): Likewise.
(poplevel_class): Likewise.
(pop_everything): Likewise.
From-SVN: r67226
Roger Sayle [Thu, 29 May 2003 16:38:04 +0000 (16:38 +0000)]
builtins.c (cos_builtin, [...]): Delete.
* builtins.c (cos_builtin, sin_builtin, sqrt_builtin): Delete.
(builtin_record): Add an additional builtin_code field to
record which GCC built-in corresponds to the Java function.
(java_builtins): Add new entries for atan, atan2, exp, log,
pow and tan.
(max_builtin, min_builtin, abs_builtin): Perform constant
folding on the resulting tree.
(java_build_function_call_expr): Likewise, perform constant
folding on the resulting tree.
(initialize_builtins): The NULL creators are now allowed in
the java_builtins table, which is now terminated by an entry
with builtin_code == END_BUILTINS.
(check_for_builtin): Likewise. If the matching creator is
NULL, construct the call using java_build_function_call_expr
directly with the decl for the corresponding builtin_code.
From-SVN: r67225
Roger Sayle [Thu, 29 May 2003 16:33:47 +0000 (16:33 +0000)]
c-semantics.c (genrtl_do_stmt_1): New function split out from...
* c-semantics.c (genrtl_do_stmt_1): New function split out from...
(gen_rtl_do_stmt): ... here. Call genrtl_do_stmt_1.
(expand_unreachable_stmt): Expand unreachable while statements
using genrtl_do_stmt_1.
* gcc.dg/duff-4.c: New test case.
From-SVN: r67224
Paolo Carlini [Thu, 29 May 2003 12:21:26 +0000 (12:21 +0000)]
[multiple changes]
2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
PR libstdc++/10783
* include/bits/stl_iterator.h (class __normal_iterator):
Don't inherit from iterator, add missing typedefs.
2003-05-29 Paolo Carlini <pcarlini@unitus.it>
* testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
* testsuite/24_iterators/reverse_iterator/1.cc: New.
* testsuite/24_iterators/reverse_iterator/2.cc: New.
* testsuite/24_iterators/reverse_iterator/3.cc: New, from
PR libstdc++/10783.
From-SVN: r67223
Gabriel Dos Reis [Thu, 29 May 2003 11:04:10 +0000 (11:04 +0000)]
name-lookup.h (global_scope_p): New macro.
* name-lookup.h (global_scope_p): New macro.
* decl.c (pop_binding_level): Use it. Don't refer directly to
global_binding_level.
(suspend_binding_level): Likewise.
(global_bindings_p): Likewise.
(print_other_binding_stack): Likewise.
(print_binding_stack): Likewise.
(maybe_push_to_top_level): Likewise.
(pushdecl_namespace_level): Likewise.
(cxx_init_decl_processing): Likewise.
(start_decl): Likewise.
(cp_finish_decl): Likewise.
(start_function): Likewise.
(global_binding_level): Remove.
From-SVN: r67221
Richard Sandiford [Thu, 29 May 2003 08:33:25 +0000 (08:33 +0000)]
mips-protos.h (mips_output_load_label): Declare.
* config/mips/mips-protos.h (mips_output_load_label): Declare.
* config/mips/mips.c (mips_output_load_label): New function.
(mips_output_conditional_branch): Use it.
* config/mips/mips.md (jump): And here.
From-SVN: r67220
Michael Meissner [Thu, 29 May 2003 00:22:36 +0000 (00:22 +0000)]
Remove myself as m32r/v850 maintainer
From-SVN: r67219
GCC Administrator [Thu, 29 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67217
Bob Wilson [Thu, 29 May 2003 00:08:36 +0000 (00:08 +0000)]
xtensa-protos.h (smalloffset_double_mem_p): Delete.
* config/xtensa/xtensa-protos.h (smalloffset_double_mem_p): Delete.
(xtensa_split_operand_pair): New proto.
* config/xtensa/xtensa.c (move_operand): Handle DFmode and DImode.
(smalloffset_double_mem_p): Delete.
(gen_float_relational, printx, print_operand, xtensa_va_arg):
Fix whitespace.
(xtensa_split_operand_pair): New.
(xtensa_dbx_register_number): Fix formatting.
* config/xtensa/xtensa.h (EXTRA_CONSTRAINT): Remove 'S' constraint.
* config/xtensa/xtensa.md (movdi, movdf): Force constants to memory
instead of splitting them into single-word moves. Remove unnecessary
checks for reload_in_progress and reload_completed.
(movdi_internal, movdf_internal): Change to post-reload split patterns.
Add constraints to allow constant operands.
(movsf_internal): Allow CONST_INT operands.
From-SVN: r67215
Danny Smith [Wed, 28 May 2003 21:17:07 +0000 (21:17 +0000)]
Fix ChangeLog whitespace for last commit.
From-SVN: r67214
Danny Smith [Wed, 28 May 2003 21:06:23 +0000 (21:06 +0000)]
config.gcc (i[34567]86-*-mingw32*): Add host makefile fragment i386/x-mingw32.
* config.gcc (i[34567]86-*-mingw32*): Add host makefile
fragment i386/x-mingw32.
* config/i386/x-mingw32: New file. Make local_includedir
relative to EXEC_PREFIX.
From-SVN: r67213
Aaron W. LaFramboise [Wed, 28 May 2003 20:54:19 +0000 (20:54 +0000)]
mingw32.h (STANDARD_INCLUDE_DIR): Update.
2003-05-27 Aaron W. LaFramboise <awlaframboise@aol.com>
* config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Update.
(MD_STARTFILE_PREFIX): Define.
From-SVN: r67212
Denis Chertykov [Wed, 28 May 2003 19:18:29 +0000 (19:18 +0000)]
cselib.c (cselib_invalidate_regno): Abort if hardreg have a VOIDmode.
* cselib.c (cselib_invalidate_regno): Abort if hardreg have a
VOIDmode.
* cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in
call of cselib_invalidate_regno.
From-SVN: r67210
DJ Delorie [Wed, 28 May 2003 19:15:38 +0000 (15:15 -0400)]
Makefile.tpl: Make maybe-check-gcc .PHONY.
* Makefile.tpl: Make maybe-check-gcc .PHONY.
* Makefile.in: Regenerate.
From-SVN: r67209
Daniel Jacobowitz [Wed, 28 May 2003 18:00:52 +0000 (18:00 +0000)]
linux.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread.
* config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
-lthread to -lpthread.
From-SVN: r67208
Gerald Pfeifer [Wed, 28 May 2003 15:14:37 +0000 (17:14 +0200)]
snapshot-index.html: Refer to .bz2 files instead of .gz files.
* snapshot-index.html: Refer to .bz2 files instead of .gz files.
Simplify the note on not using unannounced snapshots.
From-SVN: r67207
Eric Botcazou [Wed, 28 May 2003 11:53:34 +0000 (11:53 +0000)]
inclhack.def: Add missing declaration of getpagesize() to unistd.h on Solaris 2.5.1.
* fixinc/inclhack.def: Add missing declaration of getpagesize()
to unistd.h on Solaris 2.5.1.
Fix prototype of recv() and send() in sys/socket.h on
Solaris 2.5.1 and 2.6.
* fixinc/tests/base/unistd.h: Add solaris_unistd fix test.
* fixinc/tests/base/sys/socket.h: Add solaris_socket test.
* fixinc/check.tpl: Use 'diff -c', not 'diff -u'.
* fixinc/fixincl.x: Regenerate.
From-SVN: r67206
Gerald Pfeifer [Wed, 28 May 2003 11:23:36 +0000 (13:23 +0200)]
snapshot-README: Refer to .bz2 files instead of .gz files.
* snapshot-README: Refer to .bz2 files instead of .gz files.
Add a note on where to find the diff files.
Simplify the note on not using unannounced snapshots.
Remove documentation of the gcc_latest_snapshot tag.
From-SVN: r67205
GCC Administrator [Wed, 28 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67203
Jason Merrill [Tue, 27 May 2003 22:53:01 +0000 (18:53 -0400)]
tree.c (expr_first, [...]): New fns.
* tree.c (expr_first, expr_length): New fns.
* tree.h: Declare them.
* tree.c (iterative_hash_expr): Hash commutative expressions
consistently.
From-SVN: r67201
Brendan Kehoe [Tue, 27 May 2003 22:44:26 +0000 (18:44 -0400)]
locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and make sure the number of digits required after the...
2003-05-26 Brendan Kehoe <brendan@zen.org>
* include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
make sure the number of digits required after the decimal-point
(if any) is exactly the value returned by frac_digits().
* testsuite/22_locale/money_get/get/char/9.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
From-SVN: r67196
Steve Ellcey [Tue, 27 May 2003 21:45:48 +0000 (21:45 +0000)]
os_defines.h: Define _LIBUNWIND_STD_ABI if we are on IA64 HP-UX.
* config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
on IA64 HP-UX.
* libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
_LIBUNWIND_STD_ABI is set.
From-SVN: r67193
Brendan Kehoe [Tue, 27 May 2003 21:14:49 +0000 (17:14 -0400)]
locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and make sure the number of digits required after the...
2003-05-26 Brendan Kehoe <brendan@zen.org>
* include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
make sure the number of digits required after the decimal-point
(if any) is exactly the value returned by frac_digits().
From-SVN: r67192
Jason Merrill [Tue, 27 May 2003 19:59:13 +0000 (15:59 -0400)]
revert change on wrong branch
From-SVN: r67191
Richard Kenner [Tue, 27 May 2003 18:44:57 +0000 (14:44 -0400)]
tree.h (contains_placeholder_p): Now returns bool.
* tree.h (contains_placeholder_p): Now returns bool.
(CONTAINS_PLACEHOLDER_P): New macro.
(type_contains_placeholder_p): New function.
* tree.c (save_expr): Remove code avoiding folding COMPONENT_REF.
(contains_placeholder_p): Now returns bool.
Rework to use CONTAINS_PLACEHOLDER_P macro.
(type_contains_placeholder_p): New function.
* fold-const.c (fold, case COMPONENT_REF): Don't fold if
type_contains_placeholder_p.
(fold_range_test, fold_mathfn_compare, fold_inf_compare, fold):
Use CONTAINS_PLACEHOLDER_P macro.
* builtins.c (fold_builtin): Likewise.
* calls.c (initialize_argument_information): Likewise.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
* explow.c (expr_size): Likewise.
* expr.c (store_constructor, get_inner_reference): Likewise.
* function.c (assign_parms): Likewise.
* stor-layout.c (variable_size): Likewise.
From-SVN: r67189
Jason Merrill [Tue, 27 May 2003 16:09:28 +0000 (12:09 -0400)]
c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the source location of its first line.
* c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the
source location of its first line.
From-SVN: r67188
Jonathan Wakely [Tue, 27 May 2003 13:29:39 +0000 (14:29 +0100)]
std_istream.h, [...]: Typo in comment.
2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
* include/std/std_istream.h, include/std/std_ostream.h: Typo in comment.
From-SVN: r67187
Gerald Pfeifer [Tue, 27 May 2003 13:26:23 +0000 (15:26 +0200)]
gcc_release (build_diffs): Add diagnostics in case we cannot generate a specific diff file.
* gcc_release (build_diffs): Add diagnostics in case we cannot
generate a specific diff file.
From-SVN: r67186
Michael Koch [Tue, 27 May 2003 06:34:29 +0000 (06:34 +0000)]
2003-05-27 Michael Koch <konqueror@gmx.de>
* java/util/zip/Deflater.java
(FILTERED): Merged documentation from classpath.
* java/util/zip/DeflaterOutputStream.java
(DeflaterOutputStream): Merged documentation and argument validity
check from classpath.
(deflate): Merged documentation from classpath.
(finish): Likewise.
* java/util/zip/Inflater.java
(Inflater): Merged class documentation from classpath.
(zstream): Reordered.
(is_finished): Reordered.
(dict_needed): Reordered.
(Inflater): Reordered, merged documentation from classpath.
(end): Likewise.
(finalize): Merged documentation from classpath.
(finished): Likewise.
(getAdler): Likewise.
(getRemaining): Likewise.
(getTotalIn): Likewise.
(getTotalOut): Likewise.
(inflate): Likewise.
(needsDictionary): Likewise.
(needsInput): Likewise.
(reset): Likewise.
(setDictionary): Likewise.
(setInput): Likewise.
From-SVN: r67185
Michael Koch [Tue, 27 May 2003 06:17:57 +0000 (06:17 +0000)]
2003-05-27 Michael Koch <konqueror@gmx.de>
* java/net/URLConnection.java
(getHeaderFieldInt): Merged with classpath.
From-SVN: r67184
Michael Koch [Tue, 27 May 2003 06:04:28 +0000 (06:04 +0000)]
2003-05-27 Michael Koch <konqueror@gmx.de>
* java/io/PrintStream.java
(PrintStream): Reformatted.
(PrintStream): New method, merged from classpath.
(write): Reformatted.
From-SVN: r67183
Michael Koch [Tue, 27 May 2003 06:03:14 +0000 (06:03 +0000)]
System.java: Explicitely import needed classes.
2003-05-27 Michael Koch <konqueror@gmx.de>
* java/lang/System.java:
Explicitely import needed classes.
From-SVN: r67182
David Billinghurst [Tue, 27 May 2003 05:07:58 +0000 (05:07 +0000)]
re PR fortran/10843 (g77 -ffree-form rejects "GO TO".)
2003-05-27 David Billinghurst (David.Billinghurst@riotinto.com)
PR fortran/10843
* g77.dg/ffixed-form-1.f: New test
* g77.dg/ffixed-form-2.f: New test
* g77.dg/ffree-form-2.f: New test - XFAIL pending fix
* g77.dg/ffree-form-3.f: New test
From-SVN: r67181
GCC Administrator [Tue, 27 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67179
Andreas Tobler [Mon, 26 May 2003 18:10:20 +0000 (20:10 +0200)]
wchar_t-1.c: XFAIL on darwin, no wchar.h available.
2003-05-26 Andreas Tobler <a.tobler@schweiz.ch>
* gcc.dg/wchar_t-1.c: XFAIL on darwin, no wchar.h available.
* gcc.dg/wint_t-1.c: Likewise.
From-SVN: r67176
Benjamin Kosnik [Mon, 26 May 2003 14:54:42 +0000 (14:54 +0000)]
re PR libstdc++/9339 (filebuf::pubsetbuf(0, 0) doesn't turn off buffering)
2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/9339
* include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
(_M_pback): No array necessary.
* include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
unbuffered case, coalesec into ...
(basic_filebuf::overflow): ...this.
* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
From-SVN: r67175
Michael Koch [Mon, 26 May 2003 12:58:02 +0000 (12:58 +0000)]
NetPermission.java, [...]: New versions from classpath.
2003-05-26 Michael Koch <konqueror@gmx.de>
* java/net/NetPermission.java,
java/net/NetworkInterface.java,
java/net/PasswordAuthentication.java,
java/net/SocketPermission.java:
New versions from classpath.
From-SVN: r67174
GCC Administrator [Mon, 26 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67172
Gabriel Dos Reis [Sun, 25 May 2003 20:36:30 +0000 (20:36 +0000)]
diagnostic.h (output_verbatim, verbatim): Remove printf attribute.
* diagnostic.h (output_verbatim, verbatim): Remove printf
attribute.
From-SVN: r67169
Gerald Pfeifer [Sun, 25 May 2003 18:48:45 +0000 (20:48 +0200)]
* doc/contrib.texi (Contributors): Update Kean Johnston.
From-SVN: r67167
Kriang Lerdsuwanakij [Sun, 25 May 2003 12:59:22 +0000 (12:59 +0000)]
parser.c (cp_parser_explicit_instantiation): Restore old access before template instantiation.
* parser.c (cp_parser_explicit_instantiation): Restore old
access before template instantiation.
* g++.dg/template/access11.C: New test.
From-SVN: r67166
Michael Koch [Sun, 25 May 2003 11:40:19 +0000 (11:40 +0000)]
PushbackInputStream.java, [...]: Merged new versions from classpath.
2003-05-25 Michael Koch <konqueror@gmx.de>
* java/io/PushbackInputStream.java,
java/net/Authenticator.java,
java/net/ContentHandler.java,
java/net/ContentHandlerFactory.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/DatagramSocketImplFactory.java,
java/net/FileNameMap.java,
java/net/SocketImplFactory.java,
java/net/SocketOptions.java,
java/net/URLStreamHandlerFactory.java:
Merged new versions from classpath.
From-SVN: r67165
Michael Koch [Sun, 25 May 2003 11:24:27 +0000 (11:24 +0000)]
Checkbox.java, [...]: New versions from classpath.
2003-05-25 Michael Koch <konqueror@gmx.de>
* java/awt/Checkbox.java,
java/awt/Dialog.java,
java/awt/Font.java,
java/awt/Frame.java,
java/awt/ScrollPaneAdjustable.java,
java/awt/Scrollbar.java,
java/awt/Window.java:
New versions from classpath.
From-SVN: r67164
Kriang Lerdsuwanakij [Sun, 25 May 2003 10:34:51 +0000 (10:34 +0000)]
re PR c++/10849 (Cannot define an out-of-class specialization of a private nested template class)
PR c++/10849
* g++.dg/template/access10.C: New test.
From-SVN: r67163