bangerth [Sat, 31 May 2003 23:09:11 +0000 (23:09 +0000)]
Remove some references to GNATS. Reference to gnats.html still to be purged.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67280
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67279
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 31 May 2003 21:18:21 +0000 (21:18 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67278
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sat, 31 May 2003 19:49:59 +0000 (19:49 +0000)]
2003-05-31 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.dg/ffree-form-2.f: XFAIL removed, because fixed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67277
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sat, 31 May 2003 19:45:41 +0000 (19:45 +0000)]
2003-05-31 Bud Davis <bdavis9659@comcast.net>
PR fortran/10843
* sta.c (ffesta_second_): Parse GO TO correctly,
even in free source format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67276
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sat, 31 May 2003 18:59:10 +0000 (18:59 +0000)]
Add missed chunk in last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67275
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sat, 31 May 2003 18:45:31 +0000 (18:45 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67274
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 31 May 2003 15:03:02 +0000 (15:03 +0000)]
* MAINTAINERS: Add self as option-handling maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67273
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 31 May 2003 14:48:45 +0000 (14:48 +0000)]
* doc/invoke.texi: Update dump file names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67272
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 31 May 2003 14:03:06 +0000 (14:03 +0000)]
* c-format.c (format_length_info, format_char_info,
format_flag_spec, format_flag_pair, format_kind_info):
De-const-ify structure members.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67271
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 31 May 2003 13:23:32 +0000 (13:23 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67270
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 31 May 2003 12:53:41 +0000 (12:53 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67269
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 31 May 2003 12:13:30 +0000 (12:13 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67268
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 31 May 2003 09:31:41 +0000 (09:31 +0000)]
* doc/install.texi (mips-sgi-irix5): Add missing
HTML <hr> marker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67265
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 31 May 2003 07:53:13 +0000 (07:53 +0000)]
* doc/md.texi (Machine Constraints): Document
missing SPARC constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67263
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 31 May 2003 07:43:47 +0000 (07:43 +0000)]
* doc/md.texi (Automaton pipeline description): Use
"type" instead of "cpu" as the attribute in the examples.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67261
138bc75d-0d04-0410-961f-
82ee72b054a4
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-rt.def: Use then to implement g77's tan and atan intrinsics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67260
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 31 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67257
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Fri, 30 May 2003 23:14:41 +0000 (23:14 +0000)]
* system.h: Poison OBJC_PROLOGUE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67255
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
(gen_realpart): Use it.
(gen_imagpart): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67252
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 30 May 2003 19:50:02 +0000 (19:50 +0000)]
* doc/invoke.texi: Fix typos.
* doc/rtl.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67251
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 30 May 2003 19:26:14 +0000 (19:26 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67250
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 30 May 2003 19:12:56 +0000 (19:12 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67249
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 30 May 2003 19:12:42 +0000 (19:12 +0000)]
* config/h8300/h8300.c (h8300_tiny_constant_address_p): Return
true if TARGET_NORMAL_MODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67248
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67247
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Fri, 30 May 2003 16:23:59 +0000 (16:23 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67245
138bc75d-0d04-0410-961f-
82ee72b054a4
fw [Fri, 30 May 2003 15:52:42 +0000 (15:52 +0000)]
2003-05-30 Florian Weimer <fw@deneb.enyo.de>
* doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or
later.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67244
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 30 May 2003 14:02:48 +0000 (14:02 +0000)]
* vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
warnings.
(PRINT_OPERAND): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67243
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Fri, 30 May 2003 12:02:45 +0000 (12:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67242
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 30 May 2003 11:39:56 +0000 (11:39 +0000)]
2003-05-30 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (_M_convert_to_external): Don't
check for __ilen > 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67240
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Fri, 30 May 2003 00:50:32 +0000 (00:50 +0000)]
Remove conflict marker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67239
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Fri, 30 May 2003 00:43:08 +0000 (00:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67238
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 30 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67236
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 29 May 2003 23:05:39 +0000 (23:05 +0000)]
* Makefile.in (unstrap): Remove stage_last after make unstage1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67233
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 29 May 2003 21:36:52 +0000 (21:36 +0000)]
* mips-tfile.c (PAGE_SIZE): Increase page size to 32K.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67232
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 29 May 2003 21:33:50 +0000 (21:33 +0000)]
add comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67231
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 29 May 2003 21:33:35 +0000 (21:33 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67230
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67229
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Thu, 29 May 2003 17:25:04 +0000 (17:25 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67226
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 29 May 2003 16:38:04 +0000 (16:38 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67225
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 29 May 2003 16:33:47 +0000 (16:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67224
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 29 May 2003 12:21:26 +0000 (12:21 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67223
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Thu, 29 May 2003 11:04:10 +0000 (11:04 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67221
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 29 May 2003 08:33:25 +0000 (08:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67220
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Thu, 29 May 2003 00:22:36 +0000 (00:22 +0000)]
Remove myself as m32r/v850 maintainer
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67219
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 29 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67217
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Thu, 29 May 2003 00:08:36 +0000 (00:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67215
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Wed, 28 May 2003 21:17:07 +0000 (21:17 +0000)]
Fix ChangeLog whitespace for last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67214
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [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/i386/x-mingw32: New file. Make local_includedir
relative to EXEC_PREFIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67213
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Wed, 28 May 2003 20:54:19 +0000 (20:54 +0000)]
2003-05-27 Aaron W. LaFramboise <awlaframboise@aol.com>
* config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Update.
(MD_STARTFILE_PREFIX): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67212
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [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_process_insn): Pass reg_raw_mode for hardreg in
call of cselib_invalidate_regno.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67210
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 28 May 2003 19:15:38 +0000 (19:15 +0000)]
* Makefile.tpl: Make maybe-check-gcc .PHONY.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67209
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Wed, 28 May 2003 18:00:52 +0000 (18:00 +0000)]
* config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
-lthread to -lpthread.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67208
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 28 May 2003 15:14:37 +0000 (15:14 +0000)]
* snapshot-index.html: Refer to .bz2 files instead of .gz files.
Simplify the note on not using unannounced snapshots.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67207
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 28 May 2003 11:53:34 +0000 (11:53 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67206
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 28 May 2003 11:23:36 +0000 (11:23 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67205
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 28 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67203
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 May 2003 22:53:01 +0000 (22:53 +0000)]
* tree.c (expr_first, expr_length): New fns.
* tree.h: Declare them.
* tree.c (iterative_hash_expr): Hash commutative expressions
consistently.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67201
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Tue, 27 May 2003 22:44:26 +0000 (22:44 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67196
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Tue, 27 May 2003 21:45:48 +0000 (21:45 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67193
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Tue, 27 May 2003 21:14:49 +0000 (21:14 +0000)]
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().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67192
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 May 2003 19:59:13 +0000 (19:59 +0000)]
revert change on wrong branch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67191
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 27 May 2003 18:44:57 +0000 (18:44 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67189
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 27 May 2003 16:09:28 +0000 (16:09 +0000)]
* c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the
source location of its first line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67188
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 27 May 2003 13:29:39 +0000 (13:29 +0000)]
2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
* include/std/std_istream.h, include/std/std_ostream.h: Typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67187
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Tue, 27 May 2003 13:26:23 +0000 (13:26 +0000)]
* gcc_release (build_diffs): Add diagnostics in case we cannot
generate a specific diff file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67186
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67185
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67184
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67183
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Tue, 27 May 2003 06:03:14 +0000 (06:03 +0000)]
2003-05-27 Michael Koch <konqueror@gmx.de>
* java/lang/System.java:
Explicitely import needed classes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67182
138bc75d-0d04-0410-961f-
82ee72b054a4
billingd [Tue, 27 May 2003 05:07:58 +0000 (05:07 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67181
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 27 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67179
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Mon, 26 May 2003 18:10:20 +0000 (18:10 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67176
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 26 May 2003 14:54:42 +0000 (14:54 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67175
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 26 May 2003 12:58:02 +0000 (12:58 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67174
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 26 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67172
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 25 May 2003 20:36:30 +0000 (20:36 +0000)]
* diagnostic.h (output_verbatim, verbatim): Remove printf
attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67169
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Sun, 25 May 2003 18:48:45 +0000 (18:48 +0000)]
* doc/contrib.texi (Contributors): Update Kean Johnston.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67167
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sun, 25 May 2003 12:59:22 +0000 (12:59 +0000)]
* parser.c (cp_parser_explicit_instantiation): Restore old
access before template instantiation.
* g++.dg/template/access11.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67166
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sun, 25 May 2003 11:40:19 +0000 (11:40 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67165
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sun, 25 May 2003 11:24:27 +0000 (11:24 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67164
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sun, 25 May 2003 10:34:51 +0000 (10:34 +0000)]
PR c++/10849
* g++.dg/template/access10.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67163
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 25 May 2003 04:18:06 +0000 (04:18 +0000)]
* config/rs6000/rs6000.md (save_fpregs_{si,di}): Add length attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67160
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 25 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67158
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sat, 24 May 2003 16:54:04 +0000 (16:54 +0000)]
* config/rs6000/440.md, config/stormy16/stormy16protos.h,
config/stormy16/stormy16.c, config/stormy16/stormy16.md:
Replace "GNU CC" with "GCC".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67156
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sat, 24 May 2003 16:22:03 +0000 (16:22 +0000)]
2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
* libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
libsupc++/eh_unex_handler.cc, libsupc++/exception,
libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
Replace "GNU CC" with "GCC".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67155
138bc75d-0d04-0410-961f-
82ee72b054a4
kraai [Sat, 24 May 2003 14:50:02 +0000 (14:50 +0000)]
* builtins.c (expand_builtin_memcpy): Use mode of dest_addr for
intermediate computation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67154
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 24 May 2003 11:52:18 +0000 (11:52 +0000)]
* gcc.c-torture/compile/simd-5.x: XFAIL on SPARC64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67151
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Sat, 24 May 2003 06:04:35 +0000 (06:04 +0000)]
Andreas Tobler <a.tobler@schweiz.ch>
* gcc.dg/torture/builtin-noret-1.c: Add dg-option -multiply_defined
suppress for powerpc-*-darwin*.
* gcc.dg/torture/builtin-noret-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67150
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Sat, 24 May 2003 05:58:15 +0000 (05:58 +0000)]
2003-05-24 Andreas Tobler <a.tobler@schweiz.ch>
* gcc.c-torture/execute/builtins/builtins.exp: Add -multiply_defined
suppress option for powerpc-*-darwin*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67149
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 24 May 2003 05:23:27 +0000 (05:23 +0000)]
* ChangeLog: Correct typo in my previous ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67148
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Sat, 24 May 2003 04:50:19 +0000 (04:50 +0000)]
* include/backward/new.h: Replace "GNU CC" with "GCC".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67147
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 24 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67145
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 23 May 2003 22:55:50 +0000 (22:55 +0000)]
* gcc_release (build_sources): Only update ChangeLog files which
do not yet contain the entry we are going to add.
Fix typo in added ChangeLog entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67143
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Fri, 23 May 2003 22:19:16 +0000 (22:19 +0000)]
2003-05-23 Eric Christopher <echristo@redhat.com>
* config/mips/mips.md (clzsi, clzdi): New patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67142
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 23 May 2003 20:57:11 +0000 (20:57 +0000)]
* config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
and ! TARGET_STRING cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67140
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 23 May 2003 20:48:48 +0000 (20:48 +0000)]
2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
* fixinc/Makefile.in: Correct description.
* fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c,
fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c,
fixinc/genfixes: Replace "GNU CC" with "GCC".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67139
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Fri, 23 May 2003 20:45:40 +0000 (20:45 +0000)]
* builtins.def: Defome atan, atanf, atanl, tan, tanf and tanl
builtin functions (and their __builtin_* variants).
* builtins.c (mathfn_built_in): Handle tan{,f,l} and atan{,f,l}.
(expand_builtin): Don't expand tan{,f,l} or atan{,f,l} when not
optimizing.
* doc/extend.texi: Document new tan and atan builtins, and
their float and long double variants.
* gcc.dg/builtins-1.c: Add tests for tan and atan.
* gcc.dg/builtins-4.c: Add test for fmod.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67137
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Fri, 23 May 2003 20:42:41 +0000 (20:42 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67136
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 23 May 2003 20:36:04 +0000 (20:36 +0000)]
* config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define
__sparcv9 in the TARGET_ARCH64 case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67135
138bc75d-0d04-0410-961f-
82ee72b054a4