OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago2004-08-04 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 5 Aug 2004 06:06:49 +0000 (06:06 +0000)]
2004-08-04  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/20020118-1.c: Declare abort.
        * gcc.dg/altivec_check.h: Likewise.
        * gcc.dg/iftrap-2.c: Likewise.
        * gcc.dg/pragma-darwin.c: Likewise.
        * gcc.dg/rs6000-ldouble-1.c: Declare abort and exit.

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

18 years ago2004-08-04 Geoffrey Keating <geoffk@apple.com>
geoffk [Thu, 5 Aug 2004 05:52:01 +0000 (05:52 +0000)]
2004-08-04  Geoffrey Keating  <geoffk@apple.com>

PR 14516
* c-common.c (c_expand_decl): Don't special-case static VAR_DECLs.
* c-common.h (make_rtl_for_local_static): Delete.
* c-decl.c (shadow_tag_warned): Clean up comment.
(finish_decl): Clean up spacing.  Use set_user_assembler_name when
appropriate.  Don't pass asmspec to rest_of_decl_compilation.
* c-semantics.c (make_rtl_for_local_static): Delete.
* expr.c (init_block_move_fn): Use set_user_assembler_name.
(init_block_clear_fn): Likewise.
* passes.c (rest_of_decl_compilation): Remove asmspec parameter,
expect it to be in DECL_ASSEMBLER_NAME.  Update callers in many files.
* toplev.h (rest_of_decl_compilation): Remove asmspec parameter.
* tree.h (make_decl_rtl): Remove second parameter.
(set_user_assembler_name): New.
* varasm.c (set_user_assembler_name): New.
(make_decl_rtl): Remove second parameter.  Update callers in many
files.

Index: cp/ChangeLog
2004-08-04  Geoffrey Keating  <geoffk@apple.com>

* decl.c (make_rtl_for_nonlocal_decl): Set DECL_ASSEMBLER_NAME rather
than passing it as a parameter to rest_of_decl_compilation.
* decl2.c (grokfield): Use set_user_assembler_name.

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

18 years ago * g++.dg/ext/altivec_check.h: Declare exit as extern "C".
geoffk [Thu, 5 Aug 2004 05:31:30 +0000 (05:31 +0000)]
* g++.dg/ext/altivec_check.h: Declare exit as extern "C".

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

18 years ago * config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.
nemet [Thu, 5 Aug 2004 04:55:37 +0000 (04:55 +0000)]
* config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.
(case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*.  Update
to LynxOS 4.0.
* gthr-lynx.h: New file.
* config/lynx-ng.h: Remove file.
* config/lynx.h: Update to LynxOS 4.0.
* config/t-lynx: New file.
* config/i386/lynx-ng.h: Remove file.
* config/i386/lynx.h: Update to LynxOS 4.0.
* config/rs6000/lynxbase.h: Remove file.
* config/rs6000/lynx.h: Update to LynxOS 4.0.
* config/rs6000/t-lynx: New file.
* doc/install.texi (Options specification): Remove reference to
LynxOS from systems where --with-gnu-as makes a difference.

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

18 years ago * c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and
jsm28 [Thu, 5 Aug 2004 00:38:31 +0000 (00:38 +0000)]
* c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and
__UINTMAX_TYPE__.
* c-cppbuiltin.c (builtin_define_stdint_macros): New.  Define
__INTMAX_MAX__.
(c_cpp_builtins): Call it.
* doc/cpp.texi: Update.

testsuite:
* gcc.c-torture/execute/builtins/abs-2.c,
gcc.c-torture/execute/builtins/abs-3.c,
gcc.c-torture/execute/builtins/lib/abs.c, gcc.dg/format/format.h,
gcc.dg/torture/builtin-attr-1.c: Use predefined macros for
intmax_t, uintmax_t and their limits.
* gcc.dg/intmax_t-1.c: New test.

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

18 years agoDaily bump.
gccadmin [Thu, 5 Aug 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero
dje [Wed, 4 Aug 2004 23:38:34 +0000 (23:38 +0000)]
    * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero
        cost.

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

18 years ago * g++.dg/tc1/dr147.C: Add reference to PR.
giovannibajo [Wed, 4 Aug 2004 23:36:53 +0000 (23:36 +0000)]
* g++.dg/tc1/dr147.C: Add reference to PR.

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

18 years ago * basic-block.h (profile_staus): New global variable.
hubicka [Wed, 4 Aug 2004 21:37:06 +0000 (21:37 +0000)]
* basic-block.h (profile_staus): New global variable.
* cfg.c (profile_status): Declare.
(check_bb_profile): Break out from ....; use profile_status
(dump_flow_info): ... here.
* cfgbuild.c (find_basic_blocks): Set profile_status.
* cfgexpand.c (tree_expand_cfg): Likewise.
* predict.c (estimate_probability): Likewise.
* profile.c (branch_prob): Likewise.
* tree-cfg.c (build_tree_cfg): Likewise.
(dump_function_to_file): Use check_bb_profile.
* tree-pretty-print (dump_bb_header): Likewise.
* tree-profile.c (do_tree_profiling): Cleanup.

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

18 years agofix typo
jason [Wed, 4 Aug 2004 21:13:16 +0000 (21:13 +0000)]
fix typo

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

18 years ago * Makefile.in (RTL_BASE_H, RTL_H): Correct.
zack [Wed, 4 Aug 2004 20:55:08 +0000 (20:55 +0000)]
* Makefile.in (RTL_BASE_H, RTL_H): Correct.
(BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o.
(genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o.
(read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o)
(genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o)
(genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o)
(genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H).
(ggc-none.o, errors.o): Move rule to generators section;
correct dependencies.
(min-insn-modes.o): Move rule to generators section; remove
unnecessary explicit command; correct dependencies.
(print-rtl.o, print-rtl1.o): Correct dependencies.
($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule.
(mostlyclean): Update.

* errors.c: Include bconfig.h not config.h.  Correct comment.
* gengtype.c, genpreds.c: Don't define NO_GENRTL_H.
* ggc-none.c: Include bconfig.h; not config.h or tm.h.
* print-rtl.c: Don't include tm_p.h.

* rtl.h: Move forward-decl of struct function down where it's
needed.  Include genrtl.h #ifndef GENERATOR_FILE, not
#ifndef NO_GENRTL_H.  Remove unnecessary #ifdef BUFSIZ statements.

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

18 years ago * tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
law [Wed, 4 Aug 2004 20:37:38 +0000 (20:37 +0000)]
* tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
* tree-flow.h (rewrite_ssa_into_ssa): Declaration changed.
* tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to
manipulate the duplicated ssa names.
* tree-ssanames.c (ssa_names_to_rewrite): New variable.
(marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite,
unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force):
New functions.
(release_ssa_name): Do not release ssa names that may have multiple
definitions.
* tree.h (release_ssa_name_force, mark_for_rewrite,
unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p,
marked_ssa_names): Declare.
* tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove.
(duplicate_blocks): Remove call to mark_defs_for_rewrite.
Update call to rewrite_ssa_into_ssa.

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

18 years ago * defaults.h (TARGET_DECLSPEC): New macro.
mmitchel [Wed, 4 Aug 2004 19:37:19 +0000 (19:37 +0000)]
* defaults.h (TARGET_DECLSPEC): New macro.
* c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC.
* config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support.
* config/arm/symbian. (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
* config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
(TARGET_DECLSPEC): Define.
* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
* config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove
__declspec support.
(TARGET_DECLSPEC): Define.
* config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove
__declspec support.
* config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec
support.
* doc/tm.texi (TARGET_DECLSPEC): Document.

* doc/extend.texi: Fix typo in comment.

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

18 years agoAdd missing ChangeLog entry
mmitchel [Wed, 4 Aug 2004 19:32:34 +0000 (19:32 +0000)]
Add missing ChangeLog entry

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

18 years ago2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
mkoch [Wed, 4 Aug 2004 19:30:13 +0000 (19:30 +0000)]
2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
    Michael Koch  <konqueror@gmx.de>

* acinclude.m4: Correctly quote PKG_CHECK_MODULES.
* configure.in: Replaced all usages of AC_LINK_FILES by
AC_CONFIG_LINKS.
* aclocal.m4,
configure: Regenerated.

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

18 years ago * gcc.dg/mips-args-[23].c: Declare abort() and exit().
rsandifo [Wed, 4 Aug 2004 19:12:58 +0000 (19:12 +0000)]
* gcc.dg/mips-args-[23].c: Declare abort() and exit().
* gcc.dg/torture/mips-hilo-[12].c: Likewise.

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

18 years ago2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
mkoch [Wed, 4 Aug 2004 18:02:00 +0000 (18:02 +0000)]
2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
    Michael Koch  <konqueror@gmx.de>

* acconfig.h: Removed.
* Makefile.am: Rename variables for xlib peer to include xlib and
gtk_c_headers to gtk_jni_headers.
* Makefile.in: Regenerated.

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

18 years ago2004-08-04 Andrew Haley <aph@redhat.com>
aph [Wed, 4 Aug 2004 16:49:21 +0000 (16:49 +0000)]
2004-08-04  Andrew Haley  <aph@redhat.com>

        * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
        debugging.

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

18 years agoFix typo.
pbrook [Wed, 4 Aug 2004 16:19:14 +0000 (16:19 +0000)]
Fix typo.

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

18 years ago * configure.in (arm*-*-symbianelf*): Add ${libgcj} and
mmitchel [Wed, 4 Aug 2004 16:11:12 +0000 (16:11 +0000)]
* configure.in (arm*-*-symbianelf*): Add ${libgcj} and
target-libiberty to noconfigdirs.

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

18 years ago * decl.c (complete_array_type): Don't gratuitously copy
nathan [Wed, 4 Aug 2004 15:59:37 +0000 (15:59 +0000)]
* decl.c (complete_array_type): Don't gratuitously copy
maxindex. Its type is always set.

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

18 years agogcc/
pbrook [Wed, 4 Aug 2004 15:33:51 +0000 (15:33 +0000)]
gcc/
* target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define.
(TARGET_CXX): Use it.
* target.h (struct gcc_target): Add cdtor_returns_this.
* config/arm/arm.c (arm_cxx_cdtor_returns_this): New function.
(TARGET_CXX_CDTOR_RETURNS_THIS): Define.
* doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS.
gcc/cp/
* Make-lang.in (cp/semantics.o, cp/optimize.o): Depend on TARGET_H.
* cp-tree.h (struct language_function): Rename x_dtor_label to
x_cdtor_label.
(dtor_label): Rename ...
(cdtor_label): ... to this.
* decl.c (begin_constructor_body): Remove.
(check_special_function_return_type): Maybe change the return type.
(grokdeclarator): Pass the class type.
(start_preparsed_function): Constructors may need a return label.
(finish_constructor_body, finish_destructor_body): Set the return
value.
(begin_function_body): Don't call begin_constructor_body.
(finish_function): Don't warn for constructors or destructors.
(implicitly_declare_fn): Maybe change the return type.
* optimize.c: Include target.h.
(maybe_clone_body): Remap the function result.
* semantics.c: Include target.h.
(finish_return_stmt): Maybe jump to return label for constructors.

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

18 years ago2004-08-04 Phil Edwards <phil@codesourcery.com>
pme [Wed, 4 Aug 2004 14:40:48 +0000 (14:40 +0000)]
2004-08-04  Phil Edwards  <phil@codesourcery.com>

* docs/html/configopts.html:  Emphasize that options change.
* docs/html/17_intro/configury.html:  Update links.

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

18 years ago * c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take
nathan [Wed, 4 Aug 2004 14:38:27 +0000 (14:38 +0000)]
* c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take
low/high pair. Do range checking directly.
(interpret_integer): Adjust.

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

18 years ago * libgfortran.h (array_t, size0) New declarations.
pbrook [Wed, 4 Aug 2004 14:30:46 +0000 (14:30 +0000)]
* libgfortran.h (array_t, size0) New declarations.
* m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
space if return value descriptor has NULL in its data field,
and initialize bounds and stride.
* intrinsics/size.c (array_t, size0): Declarations moved to
libgfortran.h.
* generated/*.c: Regenerate.

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

18 years agoconfig/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the GCC ABI.
nickc [Wed, 4 Aug 2004 13:54:51 +0000 (13:54 +0000)]
config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the GCC ABI.
doc/invoke.texi: Document this new switch and also the -mrenesas switch.

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

18 years ago2004-08-04 Paolo Bonzini <gcc@gcc.gnu.org>
bonzini [Wed, 4 Aug 2004 12:08:09 +0000 (12:08 +0000)]
2004-08-04  Paolo Bonzini  <gcc@gcc.gnu.org>

* gcc_update: libjava/configure.ac -> configure.in.  Automake
1.4 does not handle configure.ac properly.

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

18 years agoReverted renaming of configure.in to configure.ac, has to wait
bonzini [Wed, 4 Aug 2004 12:05:07 +0000 (12:05 +0000)]
Reverted renaming of configure.in to configure.ac, has to wait
for updating of automake.

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

18 years ago * cfglayout.c (insn_locators_initialize): Update the current
nathan [Wed, 4 Aug 2004 11:30:31 +0000 (11:30 +0000)]
* cfglayout.c (insn_locators_initialize): Update the current
location before initializing a location.

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

18 years ago2004-08-04 Roger Sayle <roger@eyesopen.com>
aph [Wed, 4 Aug 2004 11:13:07 +0000 (11:13 +0000)]
2004-08-04  Roger Sayle  <roger@eyesopen.com>
            Andrew Haley  <aph@redhat.com>

        * typeck.c (convert_ieee_real_to_integer): Call fold on the range
        checking trees as they're being built.
        (convert): Call convert_ieee_real_to_integer if we're
        converting a constant, even if we're writing a class file.

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

18 years ago* gcc_update: libjava/configure.in -> configure.ac.
schwab [Wed, 4 Aug 2004 11:01:10 +0000 (11:01 +0000)]
* gcc_update: libjava/configure.in -> configure.ac.

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

18 years ago2004-08-04 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 4 Aug 2004 09:57:09 +0000 (09:57 +0000)]
2004-08-04  Paolo Bonzini  <bonzini@gnu.org>

        * configure.ac: New name of...
* configure.in: ... this file.

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

18 years agoCorrect PR numbers
zack [Wed, 4 Aug 2004 07:25:19 +0000 (07:25 +0000)]
Correct PR numbers

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

18 years ago * dbxout.c (dbxout_function_decl): Always call dbxout_function_end.
zack [Wed, 4 Aug 2004 07:23:14 +0000 (07:23 +0000)]
* dbxout.c (dbxout_function_decl): Always call dbxout_function_end.
(dbxout_function_end): Return after emitting the "Lscope" symbol
under the same conditions that this function formerly wasn't called.
Add explanatory comments.

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

18 years ago PR 14680
zack [Wed, 4 Aug 2004 06:33:07 +0000 (06:33 +0000)]
PR 14680
* c-decl.c (record_builtin_type): Call debug_hooks->type_decl
on the new decl.

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

18 years ago PR 13596
zack [Wed, 4 Aug 2004 06:32:01 +0000 (06:32 +0000)]
PR 13596
* dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New
functions, broken out of dbxout_block.
(dbxout_block): The block at depth 0 should get LBRAC/RBRAC
stabs too, if it contains symbols.  Use the begin_label and
the Lscope label (emitted by dbxout_function_end) for the
range of this block.

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

18 years ago * class.c (build_vtable): Do not set DECL_VISIBILITY here.
mmitchel [Wed, 4 Aug 2004 05:27:52 +0000 (05:27 +0000)]
* class.c (build_vtable): Do not set DECL_VISIBILITY here.
(check_field_decls): Or here.
(check_methods): Or here.
(initialize_array): Don't mess with DECL_CONTEXT.
* cp-tree.h (start_decl): Adjust prototype.
(determine_visibility): New function.
* decl.c (duplicate_decls): Remove checks for hidden "operator
new".
(build_library_fn_1): Give all library functions default
visibility.
(start_decl): Add pop_scope_p parameter.  Tidy.
(cp_finish_decl): Do not pop scopes here.  Call
determine_visibility for variable definitions.
(start_preparsed_function): Call determine_visibility.
* decl2.c (determine_visibility): New function.
* method.c (use_thunk): Fix formatting.
* parser.c (cp_parser_condition): Adjust calls to start_decl.
(cp_parser_init_declarator): Likewise.
* pt.c (instantiate_decl): Always call pop_nested_class.
* rtti.c (get_tinfo_decl): Do not set DECL_VISIBILITY.
(tinfo_base_init): Likewise.

* g++.dg/ext/visibility/assign1.C: New test.
* g++.dg/ext/visibility/new1.C: Likewise.

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

18 years ago * configure.in: Eliminate uses of changequote (mostly by quoting []).
neroden [Wed, 4 Aug 2004 02:52:53 +0000 (02:52 +0000)]
* configure.in: Eliminate uses of changequote (mostly by quoting []).
Replace most top level 'dnl' comments with '#' comments, conforming
to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
help strings.
* configure: Rebuilt.

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

18 years ago * gcc.dg/compat/struct-layout-1.exp: Fix error message typo.
dje [Wed, 4 Aug 2004 01:43:30 +0000 (01:43 +0000)]
    * gcc.dg/compat/struct-layout-1.exp: Fix error message typo.

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

18 years ago * doc/install.texi: Update autoconf version requirements.
neroden [Wed, 4 Aug 2004 00:19:30 +0000 (00:19 +0000)]
* doc/install.texi: Update autoconf version requirements.

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

18 years agoDaily bump.
gccadmin [Wed, 4 Aug 2004 00:16:44 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago * defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
zack [Tue, 3 Aug 2004 23:37:34 +0000 (23:37 +0000)]
* defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition.
* recog.c (general_operand, immediate_operand, nonmemory_operand)
(asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P.
* regclass.c (record_reg_classes): Likewise.
* reload.c (find_reloads): Likewise.
* reload1.c (reload): Likewise.

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

18 years ago * gensupport.c (init_md_reader_args_cb): Renamed from
zack [Tue, 3 Aug 2004 23:30:45 +0000 (23:30 +0000)]
* gensupport.c (init_md_reader_args_cb): Renamed from
init_md_reader_args.  Add third option, callback function for
parsing program-specific options.  Add diagnosis of incorrect
number of input files.
(init_md_reader): Fold into init_md_reader_args_cb.
(init_md_reader_args): Now a thin wrapper around
init_md_reader_args_cb.
* gensupport.h: Update prototypes.

* genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c
* genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c
* genrecog.c: No need to diagnose lack of an input file;
init_md_reader_args will handle it.
* genconditions.c: Likewise, and use init_md_reader_args.
* genconstants.c: Likewise, and no need to call read_md_rtx.

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

18 years ago * c-decl.c (implicitly_declare): Diagnose incompatible implicit
jsm28 [Tue, 3 Aug 2004 22:09:13 +0000 (22:09 +0000)]
* c-decl.c (implicitly_declare): Diagnose incompatible implicit
declarations.

testsuite:
* gcc.dg/redecl-5.c: New test.
* gcc.dg/format/attr-6.c: Expect warning for implicit declaration
of scanf.

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

18 years ago2004-08-03 Kelley Cook <kcook@gcc.gnu.org>
kcook [Tue, 3 Aug 2004 21:42:18 +0000 (21:42 +0000)]
2004-08-03 Kelley Cook  <kcook@gcc.gnu.org>

* maintainer-scripts (snapshot_print): New function.
(announce_snapshot): Generate announcment on the fly.
Use a directory link for LATEST.
* snapshot-README: Delete.
* snapshot-index.html: Delete.

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

18 years ago * config/darwin-c.c: Don't search in "/Local/Library/Frameworks"
mrs [Tue, 3 Aug 2004 21:26:16 +0000 (21:26 +0000)]
* config/darwin-c.c: Don't search in "/Local/Library/Frameworks"
for frameworks.
* doc/invoke.texi (Darwin Options): Update to reflect above.

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

18 years ago PR middle-end/16790
sayle [Tue, 3 Aug 2004 21:24:32 +0000 (21:24 +0000)]
PR middle-end/16790
* fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local
truncations, not just global truncations.

* gcc.c-torture/execute/pr16790-1.c: New test case.

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

18 years ago * gcc.dg/symbian1.c: New test.
mmitchel [Tue, 3 Aug 2004 21:20:36 +0000 (21:20 +0000)]
* gcc.dg/symbian1.c: New test.
* gcc.dg/symbian2.c: Likewise.

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

18 years ago2004-08-03 Andrew Pinski <apinski@apple.com>
pinskia [Tue, 3 Aug 2004 21:13:15 +0000 (21:13 +0000)]
2004-08-03  Andrew Pinski  <apinski@apple.com>

        PR bootstrap/16865
        * loop-iv.c (simplify_using_assignment): Initialize lhs.

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

18 years ago * configure.in: Check for MPFR as well as GMP.
pbrook [Tue, 3 Aug 2004 21:11:29 +0000 (21:11 +0000)]
* configure.in: Check for MPFR as well as GMP.
* configure: Regenerate.
* gcc/doc/install.texi: Document MPFR requirement.

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

18 years agoRevert bogus portion of previous commit
neroden [Tue, 3 Aug 2004 20:52:01 +0000 (20:52 +0000)]
Revert bogus portion of previous commit

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

18 years agoChangeLog:
neroden [Tue, 3 Aug 2004 20:48:48 +0000 (20:48 +0000)]
ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable
libmudflap for all GNU-based systems (with Glibc).
* configure: Regenerate.

config/ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* mt-linux: Rename to ...
* mt-gnu: ... this.

libffi/ChangeLog:

2004-08-01  Robert Millan  <robertmh@gnu.org>

* configure.ac: Detect knetbsd-gnu and kfreebsd-gnu.
* configure: Regenerate.

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

18 years ago2004-07-30 Maciej W. Rozycki <macro@linux-mips.org>
neroden [Tue, 3 Aug 2004 20:36:23 +0000 (20:36 +0000)]
2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>

* acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
and mmap() explicitly instead of relying on preset autoconf cache
variables.
* aclocal.m4: Regenerate.
* configure: Regenerate.

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

18 years agoRemove spurious conflict marker
neroden [Tue, 3 Aug 2004 20:33:52 +0000 (20:33 +0000)]
Remove spurious conflict marker

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

18 years ago2004-07-30 Maciej W. Rozycki <macro@linux-mips.org>
neroden [Tue, 3 Aug 2004 20:33:23 +0000 (20:33 +0000)]
2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>

* aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
and mmap() explicitly instead of relying on preset autoconf cache
variables.
* configure: Regenerate.

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

18 years agogcc/
hjl [Tue, 3 Aug 2004 19:52:52 +0000 (19:52 +0000)]
gcc/

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>

PR target/16570
* config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc
to tmake_file.
(i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise.
(i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc
to tmake_file.

* config/i386/t-gmm_malloc: New file.
* config/i386/t-pmm_malloc: Likewise.

* config/i386/xmmintrin.h: Include <mm_malloc.h>.

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>
    Tanguy Fautr´┐Ż  <tfautre@pandora.be>

* config/i386/pmm_malloc.h: New file.

2004-08-03  Danny Smith  <dannysmith@users.sourceforge.net>

* config/i386/gmm_malloc.h: New file.

gcc/testsuite/

2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>

PR target/16570
* gcc.dg/i386-sse-9.c: New test.

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

18 years ago * acinclude.m4: Include no-executables.m4.
neroden [Tue, 3 Aug 2004 19:40:56 +0000 (19:40 +0000)]
* acinclude.m4: Include no-executables.m4.
* aclocal.m4: Rebuild.
* configure.in: Convert to the autoconf 2.59 version of
of the no-executables hack, and also of the nonstandard CXX
hack and the multilibbed CC and CXX hack.  Change prerequisite
to autoconf 2.59.
* configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
* Makefile.in, gcj/Makefile.in, include/Makefile.in,
testsuite/Makefile.in: Regenerate.

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

18 years ago2004-08-03 Dale Johannesen <dalej@apple.com>
dalej [Tue, 3 Aug 2004 18:23:35 +0000 (18:23 +0000)]
2004-08-03  Dale Johannesen  <dalej@apple.com>

* config/rs6000/rs6000.c (machopic_output_stub):  Align Darwin stubs.
* c-common.c: Include opts.h.
(c_common_get_alias_set): Fix check for a single input file.
* toplev.c: Remove current_file_decl.
* tree.h: Ditto.

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

18 years ago * jni.cc: Reindented.
tromey [Tue, 3 Aug 2004 17:38:30 +0000 (17:38 +0000)]
* jni.cc: Reindented.

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

18 years ago * config.gcc (arm*-*-symbianelf*): New target.
mmitchel [Tue, 3 Aug 2004 17:38:09 +0000 (17:38 +0000)]
* config.gcc (arm*-*-symbianelf*): New target.
* config/arm/symbian.h: New file.

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

18 years ago * gthr-gnat.c: Add visibility #pragmas.
mmitchel [Tue, 3 Aug 2004 16:57:40 +0000 (16:57 +0000)]
* gthr-gnat.c: Add visibility #pragmas.
* gthr-gnat.h : Likewise.
* gthr.h: Likewise.
* libgcc2.c (__ffsSI2): Move prototype to libgcc2.h.
(__ffsDI2): Likewise.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* libgcc2.h: Add visibility #pragmas.
(__clzDI2): Add prototype.
(__clzSI2): Likewise.
(__ctzSI2): Likewise.
(__ffsDI2): Likewise.
(__ffsSI2): Likewise.
(__ctzDI2): Likewise.
(__popcountSI2): Likewise.
(__popcountDI2): Likewise.
(__paritySI2): Likewise.
(__parityDI2): Likewise.
* unwind-dw2-fde.h: Add visibility #pragmas.
* unwind.h: Likewise.

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

18 years ago * config/rs6000/rs6000.c (rs6000_rtx_costs): Calculate cost of
dje [Tue, 3 Aug 2004 15:31:38 +0000 (15:31 +0000)]
    * config/rs6000/rs6000.c (rs6000_rtx_costs): Calculate cost of
        constants more accurately.  Adjust costs for FMA instructions.
        Add cases for most logical and float operations.  Recurse into
        most operands.

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

18 years ago* config.gcc (strongarm-*, xscale-*): Add t-arm to tmake_files.
rearnsha [Tue, 3 Aug 2004 15:22:03 +0000 (15:22 +0000)]
* config.gcc (strongarm-*, xscale-*): Add t-arm to tmake_files.

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

18 years ago2004-08-03 Pat Haugen <pthaugen@us.ibm.com>
dje [Tue, 3 Aug 2004 15:00:49 +0000 (15:00 +0000)]
2004-08-03  Pat Haugen  <pthaugen@us.ibm.com>

        * ra-build.c (conflicts_between_webs): For webs that cross a call add
        conflicts to regs_invalidated_by_call.

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

18 years ago * config/arm/arm.c (emit_sfm): Only emit a single frame adjustment.
pbrook [Tue, 3 Aug 2004 14:30:46 +0000 (14:30 +0000)]
* config/arm/arm.c (emit_sfm): Only emit a single frame adjustment.

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

18 years ago * gcc.dg/array-7.c, gcc.dg/c99-tag-2.c: New tests.
jsm28 [Tue, 3 Aug 2004 14:19:39 +0000 (14:19 +0000)]
* gcc.dg/array-7.c, gcc.dg/c99-tag-2.c: New tests.

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

18 years ago2004-08-03 Dale Johannesen <dalej@apple.com>
fche [Tue, 3 Aug 2004 14:19:26 +0000 (14:19 +0000)]
2004-08-03  Dale Johannesen  <dalej@apple.com>

         * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.

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

18 years ago * coverage.c (tree_coverage_counter_ref): Fix computation of the new
hubicka [Tue, 3 Aug 2004 14:05:15 +0000 (14:05 +0000)]
* coverage.c (tree_coverage_counter_ref): Fix computation of the new
ARRAY_REF argument.

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

18 years ago* arm-cores.def: Sort by architecture. Add arm946es, arm966es,
rearnsha [Tue, 3 Aug 2004 13:52:49 +0000 (13:52 +0000)]
* arm-cores.def: Sort by architecture.  Add arm946es, arm966es,
arm968es, arm10e, arm1020e, arm1022e.
* invoke.texi: Update list of ARM cores.
* arm-tune.md: Regenerate.

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

18 years ago2004-08-03 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 3 Aug 2004 13:40:21 +0000 (13:40 +0000)]
2004-08-03  Frank Ch. Eigler  <fche@redhat.com>

* mf-runtime.c (compare_uintptr_t): Remove function.  Inline
simplified contents in all former callers.

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

18 years ago* gcc_update: gcc/config/arm/arm-tune.md -> arm-cores.def gentune.sh.
rearnsha [Tue, 3 Aug 2004 13:35:47 +0000 (13:35 +0000)]
* gcc_update: gcc/config/arm/arm-tune.md -> arm-cores.def gentune.sh.

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

18 years ago PR libgfortran/16137
sayle [Tue, 3 Aug 2004 13:28:26 +0000 (13:28 +0000)]
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.

* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.

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

18 years ago* arm/gentune.sh: New file.
rearnsha [Tue, 3 Aug 2004 13:27:02 +0000 (13:27 +0000)]
* arm/gentune.sh: New file.
* arm/t-arm: New file.
* arm/arm-tune.md: New file (autogenerated).
* config.gcc (arm*-*-*): Add t-arm to tmake_file for all variants.
* arm.md (attribute tune): Delete.  Include arm-tune.md.

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

18 years ago2004-08-03 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 3 Aug 2004 10:11:31 +0000 (10:11 +0000)]
2004-08-03  Paolo Carlini  <pcarlini@suse.de>

* include/bits/list.tcc: Trivial formatting fixes.

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

18 years ago2004-08-03 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 3 Aug 2004 09:38:08 +0000 (09:38 +0000)]
2004-08-03  Paolo Bonzini <bonzini@gnu.org>

* gcc.c (add_prefix, add_sysrooted_prefix): Remove
penultimate parameter.  All callers adjusted.
(struct prefix_list): Remove used_flag_ptr.
(find_a_file): Do not set *pl->used_flag_ptr.
(warn_B, warn_std_ptr): Remove.

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

18 years ago2004-08-03 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 3 Aug 2004 09:35:46 +0000 (09:35 +0000)]
2004-08-03 Paolo Bonzini <bonzini@gnu.org>

* Makefile.def (host-modules): Add gcc.
* Makefile.in: Regenerate.
* Makefile.tpl (sorry): New rule.
(configure-host, all-host, [+make_target+]-host, do-check,
install-host): Do not add gcc as a special case.
(host modules): Add a small special-casing for gcc.  Export
extra_make_flags through the environment.
(maybe-configure-gcc, configure-gcc, maybe-all-gcc, all-gcc,
maybe-check-gcc, check-gcc, maybe-install-gcc, install-gcc,
other recursive targets for gcc): Remove.

(all, do-[+make_target+], do-check): Wrap between unstage and stage.
(stage, unstage): New rules.
(stage[+id+]-start, stage[+id+]-end, [+compare-target+],
distclean-stage[+id+]): Use stage_current.
([+bootstrap-target+], profiledbootstrap): Do not invoke manually
the stage*-start rules.

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

18 years ago * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern.
dorit [Tue, 3 Aug 2004 09:31:47 +0000 (09:31 +0000)]
    * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern.

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

18 years ago * gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c,
jsm28 [Tue, 3 Aug 2004 08:22:26 +0000 (08:22 +0000)]
* gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c,
gcc.dg/20010202-1.c, gcc.dg/20011008-2.c, gcc.dg/20011214-1.c,
gcc.dg/20020201-1.c, gcc.dg/20020312-2.c, gcc.dg/20020426-2.c,
gcc.dg/20030331-2.c, gcc.dg/20030612-1.c, gcc.dg/20030926-1.c,
gcc.dg/20031216-1.c, gcc.dg/20031218-3.c, gcc.dg/20040305-2.c,
gcc.dg/980226-1.c, gcc.dg/Wreturn-type2.c,
gcc.dg/Wunreachable-6.c, gcc.dg/Wunreachable-7.c,
gcc.dg/align-1.c, gcc.dg/builtin-prefetch-1.c,
gcc.dg/builtins-17.c, gcc.dg/builtins-19.c, gcc.dg/builtins-2.c,
gcc.dg/builtins-20.c, gcc.dg/builtins-21.c, gcc.dg/builtins-7.c,
gcc.dg/builtins-8.c, gcc.dg/cpp/19930510-1.c,
gcc.dg/cpp/charconst-3.c, gcc.dg/cpp/charconst-4.c,
gcc.dg/cpp/mi6.c, gcc.dg/cpp/tr-paste.c, gcc.dg/cpp/trad/mi6.c,
gcc.dg/cpp/trad/paste.c, gcc.dg/cpp/trad/strify.c,
gcc.dg/fastmath-1.c, gcc.dg/fshort-wchar.c, gcc.dg/i386-387-7.c,
gcc.dg/i386-387-8.c, gcc.dg/i386-asm-1.c, gcc.dg/i386-cadd.c,
gcc.dg/i386-fpcvt-3.c, gcc.dg/i386-loop-3.c,
gcc.dg/i386-memset-1.c, gcc.dg/loop-2.c, gcc.dg/nest.c,
gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c,
gcc.dg/noncompile/scope.c, gcc.dg/pack-test-4.c,
gcc.dg/pack-test-5.c, gcc.dg/pch/inline-4.c, gcc.dg/postincr-1.c,
gcc.dg/pr10392-1.c, gcc.dg/pragma-align.c,
gcc.dg/profile-generate-1.c, gcc.dg/sibcall-1.c,
gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c,
gcc.dg/sibcall-5.c, gcc.dg/sibcall-6.c, gcc.dg/switch-warn-1.c,
gcc.dg/switch-warn-2.c, gcc.dg/torture/builtin-attr-1.c,
gcc.dg/torture/builtin-math-1.c, gcc.dg/torture/builtin-noret-2.c,
gcc.dg/trampoline-1.c, gcc.dg/tree-ssa/20030703-1.c,
gcc.dg/tree-ssa/20030703-2.c, gcc.dg/tree-ssa/20030708-1.c,
gcc.dg/tree-ssa/20030709-3.c, gcc.dg/tree-ssa/20030710-1.c,
gcc.dg/tree-ssa/20030711-1.c, gcc.dg/tree-ssa/20030729-1.c,
gcc.dg/tree-ssa/20030730-1.c, gcc.dg/tree-ssa/20030730-2.c,
gcc.dg/tree-ssa/20030731-1.c, gcc.dg/tree-ssa/20030807-11.c,
gcc.dg/tree-ssa/20030807-2.c, gcc.dg/tree-ssa/20030807-5.c,
gcc.dg/tree-ssa/20030807-7.c, gcc.dg/tree-ssa/20030808-1.c,
gcc.dg/tree-ssa/20030814-1.c, gcc.dg/tree-ssa/20030814-2.c,
gcc.dg/tree-ssa/20030814-3.c, gcc.dg/tree-ssa/20030814-4.c,
gcc.dg/tree-ssa/20030814-5.c, gcc.dg/tree-ssa/20030814-6.c,
gcc.dg/tree-ssa/20030814-7.c, gcc.dg/tree-ssa/20030815-1.c,
gcc.dg/tree-ssa/20030907-1.c, gcc.dg/tree-ssa/20030917-3.c,
gcc.dg/tree-ssa/20030922-1.c, gcc.dg/tree-ssa/20031113-1.c,
gcc.dg/tree-ssa/20040121-1.c, gcc.dg/tree-ssa/20040319-1.c,
gcc.dg/tree-ssa/20040324-1.c, gcc.dg/tree-ssa/20040326-1.c,
gcc.dg/tree-ssa/20040326-2.c, gcc.dg/tree-ssa/20040517-1.c,
gcc.dg/tree-ssa/ssa-ccp-10.c, gcc.dg/tree-ssa/ssa-pre-1.c,
gcc.dg/tree-ssa/tailcall-1.c, gcc.dg/tree-ssa/tailrecursion-5.c,
gcc.dg/ultrasp3.c, gcc.dg/winline-7.c, gcc.misc-tests/bprob-1.c,
gcc.misc-tests/bprob-2.c, gcc.misc-tests/gcov-3.c,
gcc.misc-tests/gcov-4.c, gcc.misc-tests/gcov-4b.c,
gcc.misc-tests/gcov-6.c, gcc.misc-tests/gcov-7.c,
gcc.misc-tests/i386-pf-3dnow-1.c,
gcc.misc-tests/i386-pf-athlon-1.c,
gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c,
objc.dg/nested-func-1.m, objc.dg/special/unclaimed-category-1.m:
Declare built-in functions used.
* gcc.dg/torture/builtin-attr-1.c (nexttoward): Use FPTEST2ARG2.

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

18 years ago * libsupc++/new_op.cc: Update comments.
mmitchel [Tue, 3 Aug 2004 07:11:16 +0000 (07:11 +0000)]
* libsupc++/new_op.cc: Update comments.
* libsupc++/del_op.cc: Likewise.

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

18 years ago * libsupc++/cxxabi.h: Make all declarations have default
mmitchel [Tue, 3 Aug 2004 06:45:54 +0000 (06:45 +0000)]
* libsupc++/cxxabi.h: Make all declarations have default
visibility.
* libsupc++/exception: Likewise.
* libsupc++/new: Likewise.
* libsupc++/typeinfo: Likewise.
* libsupc++/unwind-cxx.h: Likewise.
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
the __cxxabiv1 namespace.
(__cxa_free_exception): Likewise.
* libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
(__cxa_bad_typeid): Likewise.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
(__cxa_end_catch): Likewise.
* libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
(__cxa_get_globals): Likewise.
* libsupc++/eh_throw.cc (__cxa_throw): Likewise.
(__cxa_rethrow): Likewise.
* libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
* libsupc++/eh_type.cc: Include <cxxabi.h>.

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

18 years agoIndex: ChangeLog
geoffk [Tue, 3 Aug 2004 00:52:18 +0000 (00:52 +0000)]
Index: ChangeLog
2004-08-02  Geoffrey Keating  <geoffk@apple.com>

* ltcf-cxx.sh: On Darwin, make archive multi-module, and don't
use -all_load flag.

Index: gcc/ChangeLog
2004-08-02  Geoffrey Keating  <geoffk@apple.com>

* dwarf2out.c (output_call_frame_info): Don't change data format
due to TARGET_USES_WEAK_UNWIND_INFO.  Always refer to the local
label.  Use 'true' not '1'.
* doc/install.texi (powerpc-*-darwin*): Mention cctools version
required.

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

18 years ago2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
bryce [Tue, 3 Aug 2004 00:21:26 +0000 (00:21 +0000)]
2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

* java/sql/Timestamp.java (valueOf): Synchronize access to
dateFormat.

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

18 years agoDaily bump.
gccadmin [Tue, 3 Aug 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

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

18 years ago2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
bryce [Mon, 2 Aug 2004 21:20:46 +0000 (21:20 +0000)]
2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

PR java/16701
* parse.y (fold_constant_for_init): Call resolve_field_access with
correct current_class context.

2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>

* testsuite/libjava.compile/PR16701.java: New test.

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

18 years ago * Makefile.am (hosted_source): Add libmath and testsuite.
mmitchel [Mon, 2 Aug 2004 20:28:22 +0000 (20:28 +0000)]
* Makefile.am (hosted_source): Add libmath and testsuite.
(SUBDIRS): Remove them.
* acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
on arm*-*-symbianelf*.
* crossconfig.m4: Add arm*-*-symbianelf* support.
* include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
when freestanding.  Do not bring names into std:: namespace with
"using" when freestanding.  Declare required functions and macros
when freestanding.
* libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
when freestanding.
* libsupc++/del_op.cc: Declare "free" only when freestanding.
* libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
(malloc): Declare when freestanding.
(free): Likewise.
(memset): Likewise.
(__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
for memset.
(__cxa_free_exception): Likewise for free.
* libsupc++/new_op.cc: Declare "malloc" when freestanding.
* libsupc++/pure.cc (writestr): Define to nothing when
freestanding.
* libsupc++/vterminate.cc: Do not define anything when
freestanding.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* include/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.

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

18 years ago * gdbinit.in: Reflect previous changes to rtunion_def.
gdr [Mon, 2 Aug 2004 19:36:57 +0000 (19:36 +0000)]
    * gdbinit.in: Reflect previous changes to rtunion_def.

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

18 years ago PR c++/16707
mmitchel [Mon, 2 Aug 2004 18:49:07 +0000 (18:49 +0000)]
PR c++/16707
* name-lookup.c (validate_nonmember_using_decl): Robustify.

PR c++/16707
* g++.dg/lookup/using12.C: New test.

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

18 years ago * g++.dg/init/null1.C: Fix PR number.
mmitchel [Mon, 2 Aug 2004 18:35:28 +0000 (18:35 +0000)]
* g++.dg/init/null1.C: Fix PR number.
* g++.dg/parse/namespace10.C: Likewise.

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

18 years ago * fold-const.c (fold) <TRUNC_MOD_EXPR>: The transformation "X % -Y"
sayle [Mon, 2 Aug 2004 17:11:42 +0000 (17:11 +0000)]
* fold-const.c (fold) <TRUNC_MOD_EXPR>: The transformation "X % -Y"
-> "X % Y" is only valid for TRUNC_MOD_EXPR.

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

18 years agoSync from src.
bonzini [Mon, 2 Aug 2004 16:58:38 +0000 (16:58 +0000)]
Sync from src.

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

18 years agoinclude/
gdr [Mon, 2 Aug 2004 16:45:52 +0000 (16:45 +0000)]
include/
        * libiberty.h (XDELETE, XDELETEVEC, XRESIZEVEC): Remove any
        const-qualification before disposal.

gcc/
        * vec.h (DEF_VEC_P): Add proper cast to uses of vec_o_reserve and
        vec_p_reserve.
        * langhooks.h (lang_hooks::builtin_function): Rename parameter
        from "class" to "bt_class".

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

18 years ago PR rtl-optimization/15068
pbrook [Mon, 2 Aug 2004 13:19:39 +0000 (13:19 +0000)]
PR rtl-optimization/15068
* flow.c (init_propagate_block_info): Check condition is reversible.

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

18 years ago * gengtype.h (options::info): Change type to const char *.
gdr [Mon, 2 Aug 2004 12:48:49 +0000 (12:48 +0000)]
    * gengtype.h (options::info): Change type to const char *.
        (enum gc_used_enum): Move out of struct type scope.
        * gengtype.c (create_option): Convert initializer for
        option::info to
        appropiate type.
        (adjust_field_type, walk_type, write_func_for_structure,
        write_root, write_roots): Remove pointless cast.

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

18 years ago * genopinit.c (gen_insn): Check for MODE_COMPLEX_FLOAT patterns for $F.
amylaar [Mon, 2 Aug 2004 12:07:51 +0000 (12:07 +0000)]
* genopinit.c (gen_insn): Check for MODE_COMPLEX_FLOAT patterns for $F.

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

18 years ago * rtl.h (union rtunion_def): Have all members start with the
gdr [Mon, 2 Aug 2004 10:29:26 +0000 (10:29 +0000)]
    * rtl.h (union rtunion_def): Have all members  start with the
        prefix "rt_".
        (XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE, XBBDEF, XTMPL,
        X0INT, X0UINT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
        X0MEMATTR, X0BBDEF, X0REGATTR, XCINT, XCUINT, XCSTR, XCEXP,
        XCVEC, XCMODE, XCBITMAP, XCTREE, XCBBDEF, XC2EXP): Adjust
        members
        access.
        * gengtype.c (adjust_field_rtx_def): Likewise.
        * rtlanal.c (loc_mentioned_in_p): Likewise.

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

18 years ago PR c++/16224
mmitchel [Mon, 2 Aug 2004 06:25:36 +0000 (06:25 +0000)]
PR c++/16224
* name-lookup.c (decl_namespace): Remove.
(current_decl_namespace): Use decl_namespace_context instead of
decl_namespace.
(push_decl_namespace): Likewise.
(arg_assoc_class): Likewise.
(arg_assoc_type): Likewise.
* pt.c (check_specialization_namespace): New function.
(maybe_process_partial_specialization): Use it.
(register_specialization): Likewise.

PR c++/16224
* g++.dg/template/spec17.C: New test.
* g++.old-deja/g++.ns/template13.C: Remove XFAIL.
* g++.old-deja/g++.pt/lookup10.C: Add dg-error marker.

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

18 years ago * config.gcc (mips*-*-elf*, mips*-*-rtems*): Add elfos.h to tm_file.
rsandifo [Mon, 2 Aug 2004 06:13:40 +0000 (06:13 +0000)]
* config.gcc (mips*-*-elf*, mips*-*-rtems*): Add elfos.h to tm_file.
Replace uses of mips/elf64.h with mips/elf.h
* config/mips/elf.h (MAX_OFILE_ALIGNMENT, TARGET_ASM_NAMED_SECTION)
(TYPE_OPERAND_FMT, TYPE_ASM_OP, SIZE_ASM_OP, BSS_SECTION_ASM_OP)
(ASM_OUTPUT_ALIGNED_BSS, ASM_WEAKEN_LABEL, ASM_OUTPUT_WEAK_ALIAS)
(MAKE_DECL_ONE_ONLY, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP)
(HANDLE_SYSV_PRAGMA): Delete.
(ASM_OUTPUT_DEF): Fix formatting.
* config/mips/elf64.h: Delete.

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

18 years ago2004-08-02 David Billinghurst
billingd [Mon, 2 Aug 2004 06:00:55 +0000 (06:00 +0000)]
2004-08-02  David Billinghurst

PR fortran/16292
* gfortran.dg/g77/cabs.f: xfail on mips-sgi-irix6*

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

18 years ago PR libstdc++/16844
austern [Mon, 2 Aug 2004 04:40:19 +0000 (04:40 +0000)]
PR libstdc++/16844
* include/bits/stl_list.h (_M_create_node): Remove unused
zero-argument version.
* include/ext/slist (_M_create_node): Pass two arguments to
allocator's construct() member function.
* testsuite/23_containers/deque/explicit_instantiation.cc: New.
* testsuite/23_containers/list/explicit_instantiation.cc: New.
* testsuite/23_containers/vector/explicit_instantiation.cc: New.
* testsuite/23_containers/map/explicit_instantiation.cc: New.
* testsuite/23_containers/set/explicit_instantiation.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation.cc: New.
* testsuite/ext/hash_set_explicit_instantiation.cc: New.
* testsuite/ext/slist_explicit_instantiation.cc: New.

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

18 years ago * config/ia64/ia64.c (got_symbolic_operand): Do require a
zack [Mon, 2 Aug 2004 03:23:01 +0000 (03:23 +0000)]
* config/ia64/ia64.c (got_symbolic_operand): Do require a
symbol+offset operand to have its offset be zero mod 0x3fff
when GOT entries are in use.  Clarify logic in SYMBOL_REF
case.  Clarify comments.
(ia64_expand_load_address): Split a symbol+offset load when
the offset is nonzero mod 0x3fff, not 0x1fff.
testsuite:
* gcc.dg/ia64-got-1.c: New test case.

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