OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years agopartial fix for PR target/10021
wilson [Wed, 9 Jul 2003 00:18:19 +0000 (00:18 +0000)]
partial fix for PR target/10021
* emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
loop over new variable t2 instead of t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69111 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Wed, 9 Jul 2003 00:16:05 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69109 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR bootstrap/11455
dannysmith [Tue, 8 Jul 2003 23:40:36 +0000 (23:40 +0000)]
PR bootstrap/11455
* config/i386/winnt.c: Replace use of error(), warning() with
error_with_decl(), warning_with_decl(),  throughout.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69107 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * opts.c (wrap_help): Use unsigned int, not size_t.
neil [Tue, 8 Jul 2003 21:36:34 +0000 (21:36 +0000)]
* opts.c (wrap_help): Use unsigned int, not size_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69106 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-08 Gawain Bolton <gp.bolton@computer.org>
bkoz [Tue, 8 Jul 2003 21:33:18 +0000 (21:33 +0000)]
2003-07-08  Gawain Bolton  <gp.bolton@computer.org>

* testsuite/performance/list_create_fill_sort.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69105 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcj/cni.h: CNI now expands to Compiled Native Interface.
mark [Tue, 8 Jul 2003 21:27:37 +0000 (21:27 +0000)]
   * gcj/cni.h: CNI now expands to Compiled Native Interface.

       * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
       * java/lang/fdlibm.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69104 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcj.texi: CNI now expands to Compiled Native Interface.
mark [Tue, 8 Jul 2003 21:25:54 +0000 (21:25 +0000)]
   * gcj.texi: CNI now expands to Compiled Native Interface.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69103 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
ciceron [Tue, 8 Jul 2003 21:05:39 +0000 (21:05 +0000)]
* config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
as .file/.loc directives are incompatible with linker relaxation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69101 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agooops, left this bit out
zack [Tue, 8 Jul 2003 20:43:37 +0000 (20:43 +0000)]
oops, left this bit out

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69100 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
zack [Tue, 8 Jul 2003 20:42:19 +0000 (20:42 +0000)]
* Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
* fixinc/Makefile.in: Remove all references to gnu-regex.[och].
* fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
* fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
* fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
* fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
Escape { and } characters which are not part of range expressions.
* fixinc/fixincl.x: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69099 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 8 Jul 2003 20:25:39 +0000 (20:25 +0000)]
2003-07-08  Benjamin Kosnik  <bkoz@redhat.com>

* config/locale/generic/numeric_members.cc: Correct type info.
* config/locale/gnu/numeric_members.cc: Same.
* include/bits/locale_facets.h: Same.

* include/bits/char_traits.h: Correct spacing.

* src/locale.cc: Wrap to 80 col.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69098 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-08 Steven Bosscher <steven@gcc.gnu.org>
steven [Tue, 8 Jul 2003 19:44:17 +0000 (19:44 +0000)]
2003-07-08  Steven Bosscher  <steven@gcc.gnu.org>

PR c/1687
* tree-inline.c (find_alloca_call): Use
walk_tree_without_duplicates, instead of walk_tree.
(find_builtin_longjmp_call): Likewise.
* c-objc-common.c (c_cannot_inline_fn): Likewise.
* c-semantics.c (find_reachable_label): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69097 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c/11420
jakub [Tue, 8 Jul 2003 18:01:51 +0000 (18:01 +0000)]
PR c/11420
* config/i386/i386.c (ix86_check_movabs): New function.
* config/i386/i386-protos.h (ix86_check_movabs): New prototype.
* config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
(movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.

* gcc.dg/20030708-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69092 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-08 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 8 Jul 2003 17:47:16 +0000 (17:47 +0000)]
2003-07-08  Chris Demetriou  <cgd@broadcom.com>

        * Makefile.in (install-po): Cope with empty CATALOGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69091 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
rsandifo [Tue, 8 Jul 2003 17:36:01 +0000 (17:36 +0000)]
* config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
(SECTION_FUNCTION_TEMPLATE): Delete.
* config/mips/elf.h: As for elf64.h.
(ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
* config/mips/linux.h: As for elf.h
* config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
* config/mips/iris6.h (EXTRA_SECTIONS): Delete.
(EXTRA_SECTION_FUNCTIONS): Remove sdata_section.  Remove the handling
of in_sdata from current_section_name and current_section_flags.
* config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
* config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
(MASK_GP_OPT, TARGET_GP_OPT): Delete.
(MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
(TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
(SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
* config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
(TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
(mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
(override_options): Remove setting of MASK_GPOPT.
(mips_output_external): Use mips_in_small_data_p to check whether a
symbol needs an .extern directive.  Don't emit such directives for
TARGET_EXPLICIT_RELOCS.
(mips_declare_object): Update accordingly.
(mips_select_rtx_section): Call named_section rather than
SMALL_DATA_SECTION.
(mips_select_section): Use default_elf_section_section for everything
except .text string constants.
(mips_in_small_data_p): New function.
(mips_encode_section_info): Remove small data handling.
(mips_unique_section): Delete.
(iris6_section_type_flags): New function.
* doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69090 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago f:
ro [Tue, 8 Jul 2003 16:00:54 +0000 (16:00 +0000)]
f:
* Make-lang.in (f/g77.dvi): Use PWD_COMMAND.

java:
* Make-lang.in (java/gcj.dvi): Use PWD_COMMAND.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69089 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11030
lerdsuwa [Tue, 8 Jul 2003 15:35:53 +0000 (15:35 +0000)]
PR c++/11030
* pt.c (instantiate_class_template): Don't call xref_tag to
inject name when the friend class is a specialization.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69088 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR Target/11453
danglin [Tue, 8 Jul 2003 15:26:04 +0000 (15:26 +0000)]
PR Target/11453
* pa.md: Disparage all mtsar constraints.
(extzv, extv, insv): Don't fail on length of {32|64}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69087 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * system.h: Poison MAP_CHARACTER.
zack [Tue, 8 Jul 2003 15:10:16 +0000 (15:10 +0000)]
* system.h: Poison MAP_CHARACTER.
* config/i370/i370-protos.h (mvs_map_char): Delete.
* config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
* config/i370/i370.h (MAP_CHARACTER): Delete definition.
(ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
f:
* lex.c: Remove error block #ifdef MAP_CHARACTER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69086 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Update my e-mail address.
manfred [Tue, 8 Jul 2003 13:10:53 +0000 (13:10 +0000)]
* Update my e-mail address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69084 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * toplev.c (randomize): Correct call to time().
dannysmith [Tue, 8 Jul 2003 10:40:33 +0000 (10:40 +0000)]
* toplev.c (randomize): Correct call to time().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69083 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc_release: Move handling of complex modes directly after
gerald [Tue, 8 Jul 2003 09:54:24 +0000 (09:54 +0000)]
* gcc_release: Move handling of complex modes directly after
switch handling.
(TAG): Include the branch name as part of snapshot CVS tags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69082 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
jakub [Tue, 8 Jul 2003 07:26:27 +0000 (07:26 +0000)]
* unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
REG_EQUIV notes as well.

* g++.dg/opt/strength-reduce.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69076 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/md.texi: Fix the description of addmodecc.
kazu [Tue, 8 Jul 2003 06:44:00 +0000 (06:44 +0000)]
* doc/md.texi: Fix the description of addmodecc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69073 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agotop:
zack [Tue, 8 Jul 2003 05:55:11 +0000 (05:55 +0000)]
top:
* Makefile.tpl (configure-gcc): Depend on maybe-configure-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: Delete all former contents.
(ZW_GNU_GETTEXT_SISTER_DIR): New macro.
* progtest.m4: New file.
gcc:
* Makefile.in (top_builddir): Set to "..", not ".".
(INTLLIBS, INTLDEPS): Delete.
(LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
(LIBDEPS): Add $(LIBICONV_DEP).
(LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
(INCLUDES): Replace -I../intl with @INCINTL@.
($(top_builddir)/intl/libintl.a): Delete rule.
(stage2-start, stage3-start, stage4-start, stageprofile-start,
stagefeedback-start): Use $$ for variable to be evaluated by
shell, not make.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
* aclocal.m4: sinclude ../config/progtest.m4.  Add
contents of lcmessage.m4 from gettext distro.
* configure.in: Check for wchar.h and setlocale.  Set
LIBICONV_DEP to the empty string and substitute it.
Call AM_LC_MESSAGES.  Delete AC_ARG_ENABLE for --enable-nls;
this is handled elsewhere.  Use ZW_GNU_GETTEXT_SISTER_DIR,
not CY_GNU_GETTEXT.  Clear $LIBICONV if its text is included
in $LIBINTL, to avoid linking it twice.
* configure, config.in: Regenerate.
intl:
* README: Update.
* Makefile.in (INSTALL, INSTALL_DATA, MKINSTALLDIRS,
mkinstalldirs, gettextsrcdir, l): Delete.
(COMPILE): Add $(DEFS-$@), remove $(XCFLAGS).
(HEADERS): libgnuintl.h not libgnuintl.h.in.  Remove os2compat.h.
(SOURCES): Remove os2compat.c.
(DEFS-dcigettext.o, DEFS-localealias.o, DEFS-localcharset.o,
DEFS-relocatable.o): New.
(all-yes): Add config.intl.
(libintl.h): Use cp, not cat.
(INCLUDES): Remove -I..
(TAGS, CTAGS, ID): Word wrap.
(mostlyclean, distclean): Remove junk.
(config.intl): New rule.
* aclocal.m4: sinclude ../config/progtest.m4 instead of
including it inline.
* config.intl.in: New file.
* configure.in: Take out unnecessary AC_CONFIG_AUX_DIR.
Take out AC_DEFINEs for LOCALEDIR, LOCALE_ALIAS_PATH,
LIBDIR, INSTALLDIR.  Set LIBINTL_DEP and INCINTL and AC_SUBST
them.  Add config.intl to AC_OUTPUT.
* os2compat.c, os2compat.h: Delete, unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69071 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fixinc/mkfixinc.sh: Remove winnt support.
neroden [Tue, 8 Jul 2003 05:49:59 +0000 (05:49 +0000)]
* fixinc/mkfixinc.sh: Remove winnt support.
* fixinc/fixinc.winnt: Delete with extreme prejudice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69070 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoForgotten commit
neil [Tue, 8 Jul 2003 05:26:27 +0000 (05:26 +0000)]
Forgotten commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69069 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in: Update.
neil [Tue, 8 Jul 2003 05:25:39 +0000 (05:25 +0000)]
* Makefile.in: Update.
* c-opts.c (c_common_handle_option): opt_text now contains the '-'.
* c.opt: Update documentation.
* common.opt: Add some help text.
* opts.c: Include intl.h.
(wrap_help, print_help): New.
(find_opt, handle_option, common_handle_option): opt_text now
contains the '-'.  Use print_help to output help.
* opts.h (struct cl_option): New member "help".
* opts.sh: Update to handle help text output and to prepend
options with '-'.
* toplev.c (display_help): Remove some help text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69068 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-07 Adam Megacz <adam@xwt.org>
megacz [Tue, 8 Jul 2003 04:49:16 +0000 (04:49 +0000)]
2003-07-07  Adam Megacz <adam@xwt.org>

        * posix.cc: added #include<stdio.h>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69066 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-07 David Edelsohn <edelsohn@gnu.org>
dje [Tue, 8 Jul 2003 01:45:30 +0000 (01:45 +0000)]
2003-07-07  David Edelsohn  <edelsohn@gnu.org>
            Fariborz Jahanian  <fjahanian@apple.com>

        * configure.in: Test for PowerPC mfcr field support in assembler.
        * config.in, configure: Regenderated.

        * config/rs6000/power4.md: Add mfcrf reservation.
        * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
        * config/rs6000/rs6000.c (mfcr_operation): Define.
        (print_operand): Add 'Q' case for mfcrf.
        * config/rs6000/rs6000.h (TARGET_MFCRF): New.
        * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
        (movcc_internal1): Emit optional field operand for mfcr and set
        "type" attribute appropriately.
        (mfcr SCC): Likewise.
        (movesi_from_cr_one): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69064 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cp-tree.h (build_scoped_method_call): Remove.
mmitchel [Tue, 8 Jul 2003 01:38:44 +0000 (01:38 +0000)]
* cp-tree.h (build_scoped_method_call): Remove.
(lookup_qualified_name): Remove parameter.
(tsubst_copy_and_build): Declare.
(finish_qualified_object_call_expr): Remove.
(check_accessibility_of_qualified_id): New function.
(finish_qualified_id_expr): Likewise.
(non_reference): Likewise.
(build_expr_from-tree): Remove.
* call.c (non_reference): Remove.
(build_scoped_method_call): Likewise.
(build_method_call): Use error_operand_p.  Assert that we are not
processing a template.
(standard_conversion): Use non_reference.
* class.c (build_vtbl_entry_ref): Likewise.
(build_vtbl_ref_1): Likewise.
* cvt.c (build_expr_type_conversion): Use non_reference.
* decl.c (lookup_qualified_name): Remove flags parameter.
(grok_op_properties): Use non_reference.
* decl2.c (grok_array_decl): Likewise.
(build_expr_from_tree): Remove.
(build_offset_ref_call_from_tree): Update comment.
* error.c (parm_to_string): Call reinit_global_formatting_buffer.
* except.c (prepare_eh_types): Use non_reference.
(can_convert_eh): Likewise.
* init.c (build_dtor_call): Avoid using build_method_call.
* mangle.c (write_template_param): Remove misleading comment.
* method.c (locate_copy): Use non_reference.
* parser.c (cp_parser_scope_through_which_access_occurs): Remove.
(cp_parser_primary_expression): Do not create SCOPE_REFs is
non-dependent contexts.
(cp_parser_postfix_expression): Use finish_qualified_id_expr.
(cp_parser_direct_declarator): Use tsubst_copy_and_build, not
build_expr_from_tree.
(cp_parser_lookup_name): Adjust call to lookup_qualified_name.
Use check_accessibility_of_qualified_id.
* pt.c (maybe_fold_nontype_arg): Use tsubst_copy_and_build, not
build_expr_from_tree.
(tsubst_baselink): New function.
(tsubst_qualified_id): Likewise.
(tsubst_copy): Use them.  Remove support for METHOD_CALL_EXPR.
(tsubst_expr): Adjust call to lookup_qualified_name.
(tsubst_copy_and_build): Handle SCOPE_REFs specially.  Adjust
handling of CALL_EXPRs.
(value_dependent_expression_p): Use INTEGRAL_OR_ENUMERATION_TYPE_P.
* rtti.c (get_tinfo_decl_dynamic): Use non_reference.
* search.c (check_final_overrider): Likewise.
* semantics.c (check_accessibility_of_qualified_id): New function.
(finish_qualified_object_call_expr): Remove.
* typeck.c (target_type): Use non_reference.
(cxx_sizeof_or_alignof_type): Likewise.
(dubious_conversion_warnings): Likewise.
(convert_for_initialization): Likewise.
(non_reference): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69063 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/i386.md: Correct check-in of incorrect version.
sayle [Tue, 8 Jul 2003 00:43:49 +0000 (00:43 +0000)]
* config/i386/i386.md: Correct check-in of incorrect version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69062 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agogcc:
ghazi [Tue, 8 Jul 2003 00:35:52 +0000 (00:35 +0000)]
gcc:
* bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
adjacent stdio calls.
* c-decl.c (c_print_identifier): Likewise.
* mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
* print-rtl.c (print_rtx): Likewise.
* print-tree.c (print_node_brief, print_node): Likewise.
* system.h (HOST_PTR_PRINTF): Ensure we have a literal string.

* configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
* config.in, configure: Regenerated.

cp:
* decl.c (print_binding_level, print_other_binding_stack,
print_binding_stack): Merge uses of HOST_PTR_PRINTF with adjacent
stdio calls.
* ptree.c (cxx_print_decl, cxx_print_binding): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69061 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/10979
sayle [Tue, 8 Jul 2003 00:28:47 +0000 (00:28 +0000)]
PR target/10979
* config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
Changed to define_expand patterns that copy operand[1] to prevent
it from being clobbered before emitting an atan2?f3_1 insn.
(atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
patterns that actually specify the behaviour of x87's FPATAN.

* gcc.dg/20030707-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69060 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Tue, 8 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69058 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
fitzsim [Mon, 7 Jul 2003 21:50:47 +0000 (21:50 +0000)]
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69056 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
jakub [Mon, 7 Jul 2003 20:53:44 +0000 (20:53 +0000)]
* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
clearing of SYMBOL_FLAG_LOCAL bit.
If vcall_offset fits into signed 16-bit immediate, use
one instruction for both addition and load.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69055 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
fitzsim [Mon, 7 Jul 2003 19:56:04 +0000 (19:56 +0000)]
* gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
(setCaretPosition, setEditable): Rely entirely on native
implementation.
(getArgs): Remove.
(postTextEvent): New method.
(handleEvent): New method.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
method.
* java/awt/event/ActionEvent.java (paramString): Fix formatting.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(keysym_to_awt_keycode): Fix range checks.
(generates_key_typed_event): New function.
(awt_event_handler): Post AWT_KEY_RELEASED events to event
queue.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
(gtkInit): Store TextComponent's postTextEvent method ID.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
(setText): Post TEXT_VALUE_CHANGED event to event queue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69054 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * opts.c (common_handle_option): Correct handling of the
neil [Mon, 7 Jul 2003 19:27:30 +0000 (19:27 +0000)]
* opts.c (common_handle_option): Correct handling of the
-falign- switches that do and don't take an argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69053 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * friend.c: Convert to ISO C90 prototypes.
aj [Mon, 7 Jul 2003 19:19:07 +0000 (19:19 +0000)]
    * friend.c: Convert to ISO C90 prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69052 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
kazu [Mon, 7 Jul 2003 19:19:01 +0000 (19:19 +0000)]
* config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
today.
(pushhi1_h8300hs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69051 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-07 Andreas Jaeger <aj@suse.de>
aj [Mon, 7 Jul 2003 19:11:59 +0000 (19:11 +0000)]
2003-07-07  Andreas Jaeger  <aj@suse.de>

* genextract.c: Convert remaining prototypes to ISO C90.

* cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
* fold-const.c (fold_single_bit_test): Likewise.
* diagnostic.c (default_diagnostic_finalizer): Likewise.
* cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.

* gengtype.c (write_array): Generate ISO C90 prototypes.

* genflags.c (gen_proto): Generate ISO C90 prototypes.

For cp:
2003-07-07  Andreas Jaeger  <aj@suse.de>

* friend.c: Convert to ISO C90 prototypes.

* Make-lang.in ($(srcdir)/cp/cfns.h): Use ANSI-C as output
language.
* cfns.h: Regenerate.

* typeck.c: Convert remaining prototypes to ISO C90.
* search.c: Likewise.

* decl2.c (build_expr_from_tree): Convert prototype to ISO C90.
* semantics.c (expand_or_defer_fn): Likewise
* mangle.c (discriminator_for_string_literal): Likewise.
* g++spec.c (lang_specific_driver): Likewise.

* search.c (lookup_base_r): Remove unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69050 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/11059
sayle [Mon, 7 Jul 2003 18:54:28 +0000 (18:54 +0000)]
PR optimization/11059
* expr.c (can_store_by_pieces): Return true if length is zero.
(store_by_pieces): If length is zero and endp is two, abort,
othwerise, if length is zero and endp is not two, return "to".
(clear_by_pieces): Do nothing if length is zero.
(clear_storage): Do nothing if length is zero.
(store_constructor): Simplify code when size is zero, or the
target has already been cleared.  This avoids emitting a
blockage instruction when initializing empty structures.

* g++.dg/opt/emptyunion.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69049 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * mips-tfile.c: Convert prototypes to ISO C90.
aj [Mon, 7 Jul 2003 18:05:22 +0000 (18:05 +0000)]
* mips-tfile.c: Convert prototypes to ISO C90.
* mips-tdump.c: Convert prototypes to ISO C90.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69048 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * rtl.h (emit_line_note): Take a location_t.
nathan [Mon, 7 Jul 2003 17:57:30 +0000 (17:57 +0000)]
* rtl.h (emit_line_note): Take a location_t.
(emit_line_note_force): Remove.
(set_file_and_line_for_statement): Take a location_t.
* tree.g (emit_line_note): Take a location_t.
* emit-rtl.c (emit_line_note): Take a location_t.
(emit_line_note_force): Remove.
* function.c (init_function_start): Adjust emit_line_note call.
(expand_function_end): Use force_next_line_note, not
emit_line_note_force.
* c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
* c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
genrtl_continue_stmt, genrtl_switch_stmt,
genrtl_asm_stmt): Likewise.
* expr.c (expand_expr): Likewise.
* integrate.c (expand_inline_function): Likewise.
* stmt.c (set_file_and_line_for_stmt): Take a location_t.
(expand_decl_init): Adjust emit_line_note call.

* ada/trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
calls.

* cp/semantics.c: (genrtl_try_block) Adjust emit_line_note
calls.

* f/com.c (bison_rule_pushlevel_, bison_rule_compstmt_): Adjust
emit_line_note calls.
* f/ste.c (ffeste_emit_line_note_): Likewise.

* java/expr.c (expand_byte_code):

* treelang/treetree.c (tree_code_if_start, tree_code_if_else,
tree_code_if_end, tree_code_create_function_initial,
tree_code_create_function_wrapup, tree_code_generate_return,
tree_code_output_expression_statement): Adjust emit_line_note
calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69047 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix PR 10900.
dalej [Mon, 7 Jul 2003 17:27:53 +0000 (17:27 +0000)]
Fix PR 10900.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69045 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/i386-protos.h: Convert prototypes to ISO C90.
aj [Mon, 7 Jul 2003 15:56:23 +0000 (15:56 +0000)]
* config/i386/i386-protos.h: Convert prototypes to ISO C90.
* config/i386/i386.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69044 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.md: Use gen_int_mode instead of
kazu [Mon, 7 Jul 2003 15:51:27 +0000 (15:51 +0000)]
* config/h8300/h8300.md: Use gen_int_mode instead of
GEN_INT (trunc_int_for_mode (...)).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69043 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
kazu [Mon, 7 Jul 2003 15:46:02 +0000 (15:46 +0000)]
* config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
2 bytes and then subtract 2 from the stack pointer.
(pushhi1_h8300hs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69042 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Check for usleep declaration.
ro [Mon, 7 Jul 2003 14:11:09 +0000 (14:11 +0000)]
* configure.in: Check for usleep declaration.
* acconfig.h (HAVE_USLEEP_DECL): Provide template.
* configure: Regenerate.
* include/config.h.in: Likewise.
* include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69041 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-07 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 7 Jul 2003 12:15:00 +0000 (12:15 +0000)]
2003-07-07  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_complex.h: Partially revert last
changes: cmath functions must not be qualified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69040 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
nathan [Mon, 7 Jul 2003 11:12:31 +0000 (11:12 +0000)]
* configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
-frandom-seed.
* configure: Regenerated.
* Makefile.in: Remove extraneous comment.
* toplev.c (randomize): Protect against potential multiple calls.
* doc/invoke.texi (-frandom-seed): Document use for in coverage
files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69039 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/11198
ebotcazou [Mon, 7 Jul 2003 07:25:36 +0000 (07:25 +0000)]
PR optimization/11198
* alias.c (objects_must_conflict_p): Return 1 if the types have
the same alias set, not if the alias sets only conflict.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69034 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * search.c (lookup_base_r): Remove unused variable.
aj [Mon, 7 Jul 2003 05:39:28 +0000 (05:39 +0000)]
* search.c (lookup_base_r): Remove unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69033 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR debug/10055
neil [Mon, 7 Jul 2003 05:02:22 +0000 (05:02 +0000)]
PR debug/10055
* lex.c (cxx_init): Call push_srcloc and pop_srcloc rather than
assigning to input_filename directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69032 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/invoke.texi (-falign-functions): Document that
aj [Mon, 7 Jul 2003 04:49:24 +0000 (04:49 +0000)]
* doc/invoke.texi (-falign-functions): Document that
when n is zero then a machine-dependent default is used.
(-falign-labels): Document that when n is zero then a
machine-dependent default is used and that -falign-labels =1
is equivalent to -fno-align-labels.
(-falign-loops): Likewise.
(-falign-jumps): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69031 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
aj [Mon, 7 Jul 2003 04:49:00 +0000 (04:49 +0000)]
2003-07-07  Andrew Pinski  <pinskia@physics.uc.edu>

* doc/invoke.texi (-falign-functions): Document that
when n is zero then a machine-dependent default is used.
(-falign-labels): Document that when n is zero then a
machine-dependent default is used and that -falign-labels =1
is equivalent to -fno-align-labels.
(-falign-loops): Likewise.
(-falign-jumps): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69030 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
aj [Mon, 7 Jul 2003 04:46:29 +0000 (04:46 +0000)]
2003-07-07  Andrew Pinski  <pinskia@physics.uc.edu>

* cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
(convert_cset): Change inbuf to type ICONV_CONST char.
* Makefile.in (LIBS): Add LIBICONV.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69029 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoPatch from Art Haas
wilson [Mon, 7 Jul 2003 04:06:29 +0000 (04:06 +0000)]
Patch from Art Haas
* f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
initializer syntax.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69028 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoPR optimization/9812
wilson [Mon, 7 Jul 2003 03:42:23 +0000 (03:42 +0000)]
PR optimization/9812
* rtl.h (mem_for_const_double): Delete prototype.
* varasm.c (mem_for_const_double): Delete function.
* config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
(LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
* config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
(LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
* config/m68k/m68k.md (movxf): Add reload_in_progress guard.  Add
comment about confused support for XFmode constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69027 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Mon, 7 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69025 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
hubicka [Mon, 7 Jul 2003 00:05:11 +0000 (00:05 +0000)]
* cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69023 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * call.c: Fix comment formatting.
kazu [Sun, 6 Jul 2003 23:23:46 +0000 (23:23 +0000)]
* call.c: Fix comment formatting.
* class.c: Likewise.
* cp-tree.h: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* error.c: Likewise.
* method.c: Likewise.
* name-lookup.c: Likewise.
* parser.c: Likewise.
* pt.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* typeck.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69022 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.c: Fix comment typos.
kazu [Sun, 6 Jul 2003 23:05:13 +0000 (23:05 +0000)]
* config/h8300/h8300.c: Fix comment typos.
* config/h8300/h8300.md: Likewise.
* config/i386/athlon.md: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/pentium.md: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/itanium1.md: Likewise.
* config/ia64/itanium2.md: Likewise.
* config/m32r/m32r.md: Likewise.
* config/m68hc11/m68hc11.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mips/sr71k.md: Likewise.
* config/mips/t-iris5-as: Likewise.
* config/mmix/mmix.h: Likewise.
* config/ns32k/ns32k.h: Likewise.
* config/ns32k/NOTES: Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69021 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11345
mmitchel [Sun, 6 Jul 2003 22:21:35 +0000 (22:21 +0000)]
PR c++/11345
* search.c (lookup_base_r): Remove is_non_public and
within_current_scope parameters.  Remove other dead code.
(lookup_base): Adjust call to lookup_base_r.
(adjust_result_of_qualified_name_lookup): Improve comment.
* semantics.c (finish_call_expr): Use maybe_dummy_object.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69020 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 6 Jul 2003 21:45:37 +0000 (21:45 +0000)]
2003-07-06  H.J. Lu <hongjiu.lu@intel.com>

* demangle.h: Support C++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69016 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * stmt.c: Convert remaining prototypes to ISO C90.
aj [Sun, 6 Jul 2003 20:42:56 +0000 (20:42 +0000)]
* stmt.c: Convert remaining prototypes to ISO C90.
* cfglayout.c: Likewise.
* dbxout.c: Likewise.
* gcc.c: Likewise.
* genemit.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69015 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * bad.c: Convert () to (void) in function definitions.
aj [Sun, 6 Jul 2003 20:32:17 +0000 (20:32 +0000)]
* bad.c: Convert () to (void) in function definitions.
* bld.c: Likewise.
* data.c: Likewise.
* equiv.c: Likewise.
* expr.c: Likewise.
* global.c: Likewise.
* implic.c: Likewise.
* info.c: Likewise.
* intdoc.c: Likewise.
* intrin.c: Likewise.
* lab.c: Likewise.
* lex.c: Likewise.
* malloc.c: Likewise.
* src.c: Likewise.
* st.c: Likewise.
* sta.c: Likewise.
* stb.c: Likewise.
* stc.c: Likewise.
* std.c: Likewise.
* ste.c: Likewise.
* storag.c: Likewise.
* stt.c: Likewise.
* stw.c: Likewise.
* symbol.c: Likewise.
* top.c: Likewise.
* where.c: Likewise.

* com.c: Convert prototypes to ISO C90.
* com.h: Likewise.
* g77spec.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69014 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-06 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 20:30:55 +0000 (20:30 +0000)]
2003-07-06  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Do not test for binutils
2.11 with globbing backport fix.
* aclocal.m4, configure:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69013 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdd entries for last round of ISO C90 conversions.
aj [Sun, 6 Jul 2003 19:05:17 +0000 (19:05 +0000)]
Add entries for last round of ISO C90 conversions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69012 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-common.h (c_comon_handle_filename,
neil [Sun, 6 Jul 2003 19:01:21 +0000 (19:01 +0000)]
* c-common.h (c_comon_handle_filename,
c_common_missing_arguement): New.
* c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): New.
* c-opts.c (missing_arg): Rename c_common_missing_argument,
update to be an appropriate langhook.
(c_common_handle_option): Don't handle filenames.
(c_common_handle_filename): New.
* hooks.c (hook_void_constcharptr,
hook_bool_constcharptr_size_t_false): New.
* hooks.h (hook_void_constcharptr,
hook_bool_constcharptr_size_t_false): New.
* langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): Add handle_filename and
missing_argument.
* opts.c (handle_option): Don't handle filenames here, but ...
(handle_options): ... here.
(common_handle_option): Don't handle missing arguments here.
* objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): New.
ada:
* misc.c (gnat_handle_option): Don't handle filenames.
cp:
* cp-lang.c (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): Override.
f:
* top.c (ffe_handle_option): Don't handle filenames.
java:
* lang.c (java_handle_option): Don't handle filenames.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69011 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * basic-block.h: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 18:59:38 +0000 (18:59 +0000)]
* basic-block.h: Convert prototypes to ISO C90.
* c-parse.in: Likewise.
* c-pragma.h: Likewise.
* c-typeck.c: Likewise.
* cfghooks.h: Likewise.
* cfgloopanal.c: Likewise.
* dbxout.h: Likewise.
* debug.h: Likewise.
* dwarf2asm.h: Likewise.
* gcov.c: Likewise.
* gengtype-lex.l: Likewise.
* sched-int.h: Likewise.
* timevar.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69010 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makfile.in: Remove traces of mbchar.
neil [Sun, 6 Jul 2003 18:50:45 +0000 (18:50 +0000)]
* Makfile.in: Remove traces of mbchar.
* c-parse.in (MULTIBYTE_CHARS): Remove.
* config.in (MULTIBYTE_CHARS): Remove.
* configure: Remove --enable-mbchar.
* configure.in: Remove --enable-mbchar.
* mbchar.c, mbchar.h: Remove.
* system.h: Poison MULTIBYTE_CHARS.
* config/linux-aout.h (MULTIBYTE_CHARS): Remove.
* config/linux.h (MULTIBYTE_CHARS): Remove.
* config/svr4.h (MULTIBYTE_CHARS): Remove.
* config/sparc/linux.h (MULTIBYTE_CHARS): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69009 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * varray.c (varray_check_failed): Fix typo.
aj [Sun, 6 Jul 2003 17:01:47 +0000 (17:01 +0000)]
* varray.c (varray_check_failed): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69008 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * unroll.c: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 16:53:24 +0000 (16:53 +0000)]
* unroll.c: Convert prototypes to ISO C90.
* varasm.c: Likewise.
* varray.c: Likewise.
* varray.h: Likewise.
* vmsdbgout.c: Likewise.
* xcoffout.c: Likewise.
* xcoffout.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69007 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcov-io.h: Add a local time stamp.
nathan [Sun, 6 Jul 2003 14:51:48 +0000 (14:51 +0000)]
* gcov-io.h: Add a local time stamp.
(struct gcov_info): Add stamp field.
(gcov_truncate): New.
* coverage.c (read_counts_file): Skip the stamp.
(coverage_begin_output): Write the stamp.
(build_gcov_info): Declare and init the stamp.
(coverage_finish): Only unlink data file, if stamp is zero.
* gcov-dump.c (dump_file): Dump the stamp.
* gcov.c (bbg_stamp): New.
(release_structures): Clear bbg_stamp.
(read_graph_file): Read stamp.
(read_count_file): Check stamp.
* libgcov.c (gcov_exit): Check stamp and truncate if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69006 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree.h (default_flag_random_seed): Remove.
nathan [Sun, 6 Jul 2003 14:48:56 +0000 (14:48 +0000)]
* tree.h (default_flag_random_seed): Remove.
* toplev.h (local_tick): Declare.
* tree.c (flag_random_seed, default_flag_random_seed): Move to
toplev.c.
(append_random_chars): Don't call default_flag_random_seed.
* toplev.c (flag_random_seed): Define here. Set local_tick.
(local_tick): Define.
(randomize): New, moved from tree.c.
(print_switch_values): Adjust.
(toplev_main): Call randomize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69005 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree.h (crc32_string): Declare.
nathan [Sun, 6 Jul 2003 14:40:49 +0000 (14:40 +0000)]
* tree.h (crc32_string): Declare.
* tree.c (append_random_chars): Remove.
(crc32_string): New.
(get_file_function_name_long): Use crc32_string here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69004 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * sbitmap.c: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 12:35:56 +0000 (12:35 +0000)]
* sbitmap.c: Convert prototypes to ISO C90.
* sbitmap.h: Likewise.
* scan-decls.c: Likewise.
* scan.c: Likewise.
* sched-deps.c: Likewise.
* sched-ebb.c: Likewise.
* sched-int.h: Likewise.
* sched-rgn.c: Likewise.
* sched-vis.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* sreal.c: Likewise.
* sreal.h: Likewise.
* ssa-ccp.c: Likewise.
* ssa-dce.c: Likewise.
* ssa.c: Likewise.
* ssa.h: Likewise.
* stack.h: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* stringpool.c: Likewise.
* target.h: Likewise.
* timevar.c: Likewise.
* timevar.h: Likewise.
* tlink.c: Likewise.
* tracer.c: Likewise.
* tree-inline.c: Likewise.
* tree-inline.h: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69002 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 6 Jul 2003 11:24:43 +0000 (11:24 +0000)]
2003-07-06  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
if output is at all possible (!_M_reading), cannot be active.

* include/std/std_fstream.h: Tweak comments to doxygen style.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69001 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * genattrtab.h: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 10:00:00 +0000 (10:00 +0000)]
* genattrtab.h: Convert prototypes to ISO C90.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69000 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdjust last entry.
aj [Sun, 6 Jul 2003 09:59:25 +0000 (09:59 +0000)]
Adjust last entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68999 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jump.c: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 09:56:09 +0000 (09:56 +0000)]
* jump.c: Convert prototypes to ISO C90.
* langhooks-def.h: Likewise.  Add extern to prototypes.
* langhooks.c: Likewise.
* langhooks.h: Likewise.
* lcm.c: Likewise.
* local-alloc.c: Likewise.
* loop-init.c: Likewise.
* loop-unroll.c: Likewise.
* loop-unswitch.c: Likewise.
* loop.c: Likewise.
* loop.h: Likewise. Add extern to prototypes.
* machmode.h: Likewise.
* main.c: Likewise.
* mbchar.c: Likewise.
* mbchar.h: Likewise.
* mkdeps.c: Likewise.
* mkdeps.h: Likewise.
* optabs.c: Likewise.
* optabs.h: Likewise.
* output.h: Likewise.
* gccspec.c: Likwise.
* postreload.c: Likewise.
* prefix.c: Likewise.
* prefix.h: Likewise.
* print-rtl.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.
* read-rtl.c: Likewise.
* real.c: Likewise.
* real.h: Likewise.
* recog.c: Likewise.
* recog.h: Likewise.
* reg-stack.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* regrename.c: Likewise.
* regs.h: Likewise.
* reload.c: Likewise.
* reload.h: Likewise.
* reload1.c: Likewise.
* reorg.c: Likewise.
* resource.c: Likewise.
* resource.h: Likewise.
* rtl-error.c: Likewise.
* rtl.c: Likewise.
* rtl.h: Likewise.
* rtlanal.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68998 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 6 Jul 2003 09:37:11 +0000 (09:37 +0000)]
2003-07-06  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_classes.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/bits/locale_facets.tcc: Likewise.
* src/locale.cc: Likewise.
* src/localename.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68997 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c: Convert prototypes to ISO C90.
aj [Sun, 6 Jul 2003 06:15:36 +0000 (06:15 +0000)]
* gcc.c: Convert prototypes to ISO C90.
* gcc.h: Likewise.
* gcov-dump.c: Likewise.
* gcov-iov.c: Likewise.
* gcse.c: Likewise.
* genattrtab.h: Likewise.
* ggc.h: Likewise.
* global.c: Likewise.
* graph.c: Likewise.
* graph.h: Likewise.
* hosthooks.h: Likewise.
* hooks.h: Likewise.
* hooks.c: Likewise.
* hashtable.h: Likewise.
* hashtable.c: Likewise.
* haifa-sched.c: Likewise.
* integrate.h: Likewise.
* integrate.c: Likewise.
* input.h: Likewise.
* ifcvt.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68995 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-06 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 04:37:22 +0000 (04:37 +0000)]
2003-07-06  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/allocator_traits.h:  Fix doxygen markup.
* include/ext/mt_allocator.h:  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68994 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-06 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 04:30:10 +0000 (04:30 +0000)]
2003-07-06  Phil Edwards  <pme@gcc.gnu.org>

* testsuite/testsuite_hooks.h:  Guard against a missing unlink().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68993 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-05 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 04:07:36 +0000 (04:07 +0000)]
2003-07-05  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Bump minimal version
requirement.  Add port_specific_symbol_file variable.
* configure.host:  Add docs for port_specific_symbol_file.
Clean up try_cpu block for x86.
* config/linker-map.gnu:  No more "last symbol can't have a
semicolon" kaka.  Add hook for port-specific symbols.
* src/Makefile.am:  Remove trailing whitespace.
(libstdc++-symbol.ver):  Detect the presence of port-specific
symbols, and add them accordingly.

* docs/html/17_intro/porting.texi:  Bring up to date.

* src/Makefile.in, aclocal.m4, configure,
docs/html/17_intro/porting.html:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68992 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/11431
mmitchel [Sun, 6 Jul 2003 03:30:57 +0000 (03:30 +0000)]
PR c++/11431
* typeck.c (build_static_cast): Check for reference conversions
earlier.

* cp-tree.h (perform_integral_promotions): Declare.
* call.c (build_addr_func): Use decay_conversion.
(convert_arg_to_ellipsis): Likewise.  Remove misleading comment.
(convert_for_arg_passing): Use perform_integral_promotions.
* cvt.c (build_expr_type_conversion): Use decay_conversion.
(type_promotes_to): Do not return a cv-qualified type.
* decl.c (grok_reference_init): Fix formatting.
(get_atexit_node): Use decay_conversion.
(build_enumerator): Use perform_integral_promotions.
* init.c (build_vec_init): Use decay_conversion.
* semantics.c (finish_expr_stmt): Likewise.
(finish_switch_cond): Use perform_integral_promotions.
* typeck.c (default_conversion): Likewise.
(perform_integral_promotions): New function.
(build_indirect_ref): Use decay_conversion.
(build_array_ref): Use perform_integral_promotions.
(convert_arguments): Use decay_conversion.
(build_unary_op): Use perform_integral_promotions.
(build_c_cast): Use decay_conversion.
(build_modify_expr): Likewise.
(convert_for_initialization): Likewise.
* typeck2.c (build_x_arrow): Likewise.

* g++.old-deja/g++.jason/typeid1.C: Make it a compile test, not a
run test.

PR c++/11431
* g++.dg/expr/static_cast3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68989 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-05 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 6 Jul 2003 03:14:37 +0000 (03:14 +0000)]
2003-07-05  Phil Edwards  <pme@gcc.gnu.org>

* scripts/create_testsuite_files:  New file.
* testsuite/Makefile.am (all-local, check-performance):  Use it.
* testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests):  Remove.
* testsuite/Makefile.in:  Regenerated.

* testsuite/performance/filebuf_sputc.cc:  Remove the temporary
files at the end.
* testsuite/performance/fstream_seek_write.cc:  Likewise.
* testsuite/performance/ofstream_insert_float.cc:  Likewise.
* testsuite/performance/ofstream_insert_int.cc:  Likewise.
* testsuite/abi_check.cc (main):  Nicer spacing in usage output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68988 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-05 Gawain Bolton <gp.bolton@computer.org>
bkoz [Sun, 6 Jul 2003 00:58:52 +0000 (00:58 +0000)]
2003-07-05  Gawain Bolton  <gp.bolton@computer.org>

* include/bits/stl_list.h: Performance and memory usage
improvements.
* include/bits/list.tcc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68987 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sun, 6 Jul 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68985 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * combine.c (nonzero_bits1): Fix a warning.
kazu [Sat, 5 Jul 2003 21:10:08 +0000 (21:10 +0000)]
* combine.c (nonzero_bits1): Fix a warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68983 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-05 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 5 Jul 2003 20:44:17 +0000 (20:44 +0000)]
2003-07-05  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_complex.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/std/std_memory.h: Likewise.
* include/std/std_valarray.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68982 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/h8300.c (compute_mov_length): Correct the
kazu [Sat, 5 Jul 2003 18:58:40 +0000 (18:58 +0000)]
* config/h8300/h8300.c (compute_mov_length): Correct the
length of loading CONST0_RTX (SFmode).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68981 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * toplev.c (output_clean_symbol_name): Remove.
nathan [Sat, 5 Jul 2003 16:11:53 +0000 (16:11 +0000)]
* toplev.c (output_clean_symbol_name): Remove.
* toplev.h (output_clean_symbol_name): Remove.
* config/alpha/alpha.c (unicosmk_output_module_name): Use
lbasename & clean_symbol_name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68978 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-05 Gawain Bolton <gp.bolton@computer.org>
bkoz [Sat, 5 Jul 2003 15:47:09 +0000 (15:47 +0000)]
2003-07-05  Gawain Bolton  <gp.bolton@computer.org>

* include/bits/stl_tree.h: _Rb_tree_rebalance():  Add local
          variable for grandparent and use const

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68977 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ggc.h: Follow spelling conventions.
kazu [Sat, 5 Jul 2003 15:39:59 +0000 (15:39 +0000)]
* ggc.h: Follow spelling conventions.
* config/i386/i386.c: Likewise.
* config/i386/winnt.c: Likewise.
* config/rs6000/rs6000.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68976 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * bt-load.c: Fix comment typos.
kazu [Sat, 5 Jul 2003 15:17:36 +0000 (15:17 +0000)]
* bt-load.c: Fix comment typos.
* c-incpath.c: Likewise.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfgloop.h: Likewise.
* cfgloopmanip.c: Likewise.
* cfgrtl.c: Likewise.
* diagnostic.h: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* et-forest.c: Likewise.
* et-forest.h: Likewise.
* expr.c: Likewise.
* gcse.c: Likewise.
* genattr.c: Likewise.
* jump.c: Likewise.
* langhooks.h: Likewise.
* local-alloc.c: Likewise.
* loop-unroll.c: Likewise.
* loop-unswitch.c: Likewise.
* ra-build.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* rtl.def: Likewise.
* rtlanal.c: Likewise.
* sched-ebb.c: Likewise.
* sched-rgn.c: Likewise.
* simplify-rtx.c: Likewise.
* ssa.c: Likewise.
* tracer.c: Likewise.
* tree.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68975 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-07-05 Zack Weinberg <zack@codesourcery.com>
aj [Sat, 5 Jul 2003 14:44:29 +0000 (14:44 +0000)]
2003-07-05  Zack Weinberg  <zack@codesourcery.com>

* cppcharset.c: Use the correct return type for the fallback iconv
macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68974 138bc75d-0d04-0410-961f-82ee72b054a4