OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * g++.dg/ext/visibility/visibility-8.C: Add constructor and
mmitchel [Fri, 6 Aug 2004 03:26:19 +0000 (03:26 +0000)]
* g++.dg/ext/visibility/visibility-8.C: Add constructor and
destructor tests.

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

19 years ago2004-08-06 Kelley Cook <kcook@gcc.gnu.org>
kcook [Fri, 6 Aug 2004 02:03:47 +0000 (02:03 +0000)]
2004-08-06  Kelley Cook  <kcook@gcc.gnu.org>

* lang.c (flag_emit_class_files, flag_filelist_file, flag_redundant,
flag_use_divide_subroutine, flag_use_boehm_gc, flag_store_check,
flag_hash_synchronization, flag_assert, flag_jni, flag_newer,
flag_check_references, flag_extraneous_semicolon, flag_deprecated,
flag_force_classes_archive_check, flag_optimize_sci,
flag_indirect_dispatch): Remove explicit declarations.
* lang.opt: Add implicit declare/define/assign.  Remove obsolete
final comment.

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

19 years ago * tree.c (handle_dll_attribute): Move here from i383/winnt.c.
mmitchel [Fri, 6 Aug 2004 02:03:29 +0000 (02:03 +0000)]
* tree.c (handle_dll_attribute): Move here from i383/winnt.c.
Replace use of DECL_INLINE with DECL_DECLARED_INLINE_P.  Set
DECL_VISIBLITY.  Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
* tree.h (handle_dll_attribute): Declare.  Test
TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
* c-common.h (c_determine_visibility): Declare.
* c-common.c (c_determine_visibility): New function.
* c-decl.c (finish_decl): Use it.
(finish_function): Likewise.
* defaults.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to
zero, by default.  Use #if, not #ifdef, to test it.
* config/arm/arm.c (arm_attribute_table): Use
handle_dll_attribute.  Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with
#if.
* config/arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define to 1.
* config/i386/cygming.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
to 1.
* config/i386/i386-protos.h (ix86_handle_dll_attribute): Remove.
* config/i386/i386.c (ix86_attribute_table): Use
handle_dll_attribute for dllimport/dllexport.  Test
TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
* config/i386/winnt.c (ix86_handle_dll_attribute): Remove.
* config/mcore/mcore.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
it to 1.
* config/mcore/mcore.c (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Test it
with #if.
* config/sh/symbian-pre.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
it to 1.
* doc/extend.texi (dllexport): Clarify and correct documentation.
(dllimport): Likewise.
* doc/tm.texi (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Mention
handle_dll_attribute.

* decl.c (start_preparsed_function): Move determine_visibility
call.
* decl2.c (determine_visibility): Incorporate dllexport testing.

* g++.dg/ext/visibility/assign1.C: Use scan-hidden and
dg-require-visiblity.
* g++.dg/ext/visibility/fvisibility-inlines-hidden.C: Likewise.
* g++.dg/ext/visibility/fvisibility.C: Likewise.
* g++.dg/ext/visibility/memfuncts.C: Likewise.
* g++.dg/ext/visibility/new1.C: Likewise.
* g++.dg/ext/visibility/pragma.C: Likewise.
* g++.dg/ext/visibility/staticmemfuncts.C: Likewise.
* g++.dg/ext/visibility/virtual.C: Likewise.
* g++/dg/ext/visibility/visibility-1.C: Likewise.
* g++/dg/ext/visibility/visibility-2.C: Likewise.
* g++/dg/ext/visibility/visibility-3.C: Likewise.
* g++/dg/ext/visibility/visibility-4.C: Likewise.
* g++/dg/ext/visibility/visibility-5.C: Likewise.
* g++/dg/ext/visibility/visibility-6.C: Likewise.
* g++/dg/ext/visibility/visibility-7.C: Likewise.
* g++/dg/ext/visibility/visibility-8.C: New test.
* gcc.c-torture/compile/dll.x: Remove.
* gcc.dg/dll-2.c: Use dg-require-dll
* gcc.dg/visibility-10.c: New test.
* lib/gcc-dg.exp (dg-require-dll): Add Symbian to list of targets
supporting DLLs.
* testsuite/lib/scanasm.exp (scan_hidden): New function.
(scan_not_hidden): Likewise.

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

19 years ago * g++spec.c (lang_specific_driver): An -Xlinker or -Wl, option
geoffk [Fri, 6 Aug 2004 00:29:17 +0000 (00:29 +0000)]
* g++spec.c (lang_specific_driver): An -Xlinker or -Wl, option
means that libstdc++ is needed.

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

19 years agoDaily bump.
gccadmin [Fri, 6 Aug 2004 00:16:23 +0000 (00:16 +0000)]
Daily bump.

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

19 years ago * tree-ssa-loop-manip.c: New file.
rakdver [Thu, 5 Aug 2004 21:33:21 +0000 (21:33 +0000)]
* tree-ssa-loop-manip.c: New file.
* Makefile.in (tree-ssa-loop-manip.o): Add.
* tree-flow.h (rewrite_into_loop_closed_ssa, verify_loop_closed_ssa):
Declare.
* tree-ssa-loop.c (tree_loop_optimizer_init): Create loop closed ssa
form.
(tree_ssa_loop_done): Verify loop closed ssa form.
* tree-ssa-loop-im.c (move_computations): Update loop closed ssa form.

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

19 years ago2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Thu, 5 Aug 2004 21:27:07 +0000 (21:27 +0000)]
2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>

* Makefile.am: Fix missing rename from x_nat_headers to
xlib_nat_headers.
* Makefile.in: Regenerated.

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

19 years ago * pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common,
danglin [Thu, 5 Aug 2004 20:57:06 +0000 (20:57 +0000)]
* pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common,
pa_asm_output_aligned_local): New functions.
* pa-protos.h: Add prototypes for pa_asm_output_aligned_bss,
pa_asm_output_aligned_common and pa_asm_output_aligned_local.
* pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Use
pa_asm_output_aligned_common.
(ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local.
* pa.h (ASM_OUTPUT_ALIGNED_BSS): New macro.
(ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common.
(ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local.
* pa64-hpux.h (MAX_OFILE_ALIGNMENT): New macro.
(ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common.
(ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local.
* som.h (MAX_OFILE_ALIGNMENT): Provide maximum alignment of global
common data.

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

19 years ago2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 5 Aug 2004 19:29:09 +0000 (19:29 +0000)]
2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>

PR bootstrap/14893
* Make-lang.in (java.install-man): Install from either build
tree or source tree, whichever has the file first.

(See the PR for more information and the approval from Alexandre Oliva.
 This fix has been in gcc-3_4-branch for about four months).

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

19 years ago2004-08-05 Andrew Pinski <apinski@apple.com>
pinskia [Thu, 5 Aug 2004 18:06:23 +0000 (18:06 +0000)]
2004-08-05  Andrew Pinski  <apinski@apple.com>

        * objc/objc-act.c (build_objc_string_object): Mark the address
        expression as constant.

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

19 years ago2004-08-04 Andrew Haley <aph@redhat.com>
aph [Thu, 5 Aug 2004 17:51:11 +0000 (17:51 +0000)]
2004-08-04  Andrew Haley  <aph@redhat.com>

        * java/security/BasicPermission.java: Don't check wildcards.

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

19 years ago * gcc.dg/sh4a-fprun.c: Fix dg-do typo.
dje [Thu, 5 Aug 2004 17:37:02 +0000 (17:37 +0000)]
    * gcc.dg/sh4a-fprun.c: Fix dg-do typo.

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

19 years ago * config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand
dje [Thu, 5 Aug 2004 17:05:48 +0000 (17:05 +0000)]
* config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand
and mask64_operand thinkos.  Handle ZERO_EXTRACT.  Handle
SIGN_EXTEND / ZERO_EXTEND of MEM.  Handle rlwinm patterns.

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

19 years ago * config/linux.h, config/i386/linux.h, config/sparc/linux.h:
jsm28 [Thu, 5 Aug 2004 09:12:12 +0000 (09:12 +0000)]
* config/linux.h, config/i386/linux.h, config/sparc/linux.h:
Remove definitions conditioned on USE_GNULIBC_1 or conditioned
out, and associated obsolete comments.

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

19 years ago * tree.h (force_fit_type): Return a tree, take three flags.
nathan [Thu, 5 Aug 2004 09:03:42 +0000 (09:03 +0000)]
* tree.h (force_fit_type): Return a tree, take three flags.
* fold-const.c (force_fit_type): Set TREE_OVERFLOW and
TREE_CONSTANT_OVERFLOW here.
(int_const_binop, const_binop): Adjust.
(size_int_type): Do sign extension here.
(fold_convert_const, optimize_bit_field_compare,
decode_field_reference, all_ones_mask_p, fold_div_compare, fold,
fold_negate_const, fold_abs_const, fold_not_const): Adjust.
* tree.c (size_in_bytes, int_fits_type_p): Adjust.

* cp/cvt.c (cp_convert_to_pointer): Adjust force_fit_type call.

* java/jcf-parse.c (get_constant): Adjust force_fit_type call.
* java/lex.h (SET_LVAL_NODE_TYPE): Remove.
* java/lex.c (java_perform_atof): Use SET_LVAL_NODE directly.
(do_java_lex): Likewise. Adjust force_fit_type call.

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

19 years ago PR tree-optimization/16864
rakdver [Thu, 5 Aug 2004 08:41:57 +0000 (08:41 +0000)]
PR tree-optimization/16864
* tree-tailcall.c (eliminate_tail_call): Do not create phi nodes
for ssa names without default_def.

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

19 years agoCommit for Victor Leikehman <lei@il.ibm.com>
steven [Thu, 5 Aug 2004 08:37:42 +0000 (08:37 +0000)]
Commit for Victor Leikehman  <lei@il.ibm.com>

PR libgfortran/16704
* io/read.c (read_radix): Understand letters f and F as hex digits.

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

19 years ago * config/i386/i386.c (ix86_expand_prologue): If the function uses a
rsandifo [Thu, 5 Aug 2004 07:13:56 +0000 (07:13 +0000)]
* config/i386/i386.c (ix86_expand_prologue): If the function uses a
frame pointer, restore eax with an ebp-relative address.

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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