]> gcc.gnu.org Git - gcc.git/log
gcc.git
20 years agom68k.c (m68k_output_function_prologue): Remove obsolete comments.
Gunther Nikl [Tue, 21 Oct 2003 01:48:28 +0000 (01:48 +0000)]
m68k.c (m68k_output_function_prologue): Remove obsolete comments.

* config/m68k/m68k.c (m68k_output_function_prologue): Remove
obsolete comments.

From-SVN: r72735

20 years agoDaily bump.
GCC Administrator [Tue, 21 Oct 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r72733

20 years agoMakefile.in: Get parsedir and docobjdir from configure.
Kelley Cook [Mon, 20 Oct 2003 23:45:51 +0000 (23:45 +0000)]
Makefile.in: Get parsedir and docobjdir from configure.

2003-10-20  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in: Get parsedir and docobjdir from configure.
* configure.in: Recogonize --enable-generated-files-in-srcdir.
Pass along parsedir and docobjdir.
* configure: Regenerate.
* doc/install.texi: Document --enable-generated-files-in-srcdir.

From-SVN: r72731

20 years agoMakefile.in: Define $(docdir) before the Make-lang.in fragments are included.
Kelley Cook [Mon, 20 Oct 2003 23:32:03 +0000 (23:32 +0000)]
Makefile.in: Define $(docdir) before the Make-lang.in fragments are included.

* Makefile.in: Define $(docdir) before the Make-lang.in fragments are
included.

From-SVN: r72730

20 years agocplus-dem.c (demangle_template): Register a new Btype only when needed.
J. Brobecker [Mon, 20 Oct 2003 23:21:30 +0000 (23:21 +0000)]
cplus-dem.c (demangle_template): Register a new Btype only when needed.

        * cplus-dem.c (demangle_template): Register a new Btype only
        when needed.
        * testsuite/demangle-expected: Add a new test.

From-SVN: r72729

20 years agore PR libstdc++/10081 (basic_ios::_M_cache_locale leaves NULL members in the face...
Benjamin Kosnik [Mon, 20 Oct 2003 22:11:40 +0000 (22:11 +0000)]
re PR libstdc++/10081 (basic_ios::_M_cache_locale leaves NULL members in the face of unknown locales)

2003-10-20  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/10081
* testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
* testsuite_hooks.cc: Same.
* 22_locale/numpunct/members/pod/1.cc: Edit.
* 22_locale/numpunct/members/pod/2.cc: Same.
* 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
* 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
* 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
* 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
* 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
* 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
* 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
* 27_io/basic_istream/sentry/pod/1.cc: New.
* 27_io/basic_ostream/sentry/pod/1.cc: New.
* 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
* 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.

From-SVN: r72728

20 years agoc-common.c (expand_tree_builtin): Ensure creal and cimag functions do not return...
Joseph Myers [Mon, 20 Oct 2003 22:03:34 +0000 (23:03 +0100)]
c-common.c (expand_tree_builtin): Ensure creal and cimag functions do not return lvalues.

* c-common.c (expand_tree_builtin): Ensure creal and cimag
functions do not return lvalues.

testsuite:
* gcc.dg/builtins-28.c: New test.

From-SVN: r72727

20 years agore PR c/12553 ([tree-ssa] ICE in gimplify_expr with volatiles)
Jason Merrill [Mon, 20 Oct 2003 22:02:17 +0000 (18:02 -0400)]
re PR c/12553 ([tree-ssa] ICE in gimplify_expr with volatiles)

        PR c/12553
        * tree.c (build1) <ADDR_EXPR>: Set TREE_SIDE_EFFECTS
        appropriately.

From-SVN: r72726

20 years agore PR c/11446 ([3.4][3.4 regression?] Incompatibilty with alignment of structures...
Jason Merrill [Mon, 20 Oct 2003 22:01:58 +0000 (18:01 -0400)]
re PR c/11446 ([3.4][3.4 regression?] Incompatibilty with alignment of structures between 3.3 and 3.4 CVS)

        PR c/11446
        * stor-layout.c (layout_decl): Fix alignment handling.

From-SVN: r72725

20 years agore PR c/12553 ([tree-ssa] ICE in gimplify_expr with volatiles)
Jason Merrill [Mon, 20 Oct 2003 21:57:29 +0000 (17:57 -0400)]
re PR c/12553 ([tree-ssa] ICE in gimplify_expr with volatiles)

        PR c/12553
        * tree.c (build1) <ADDR_EXPR>: Set TREE_SIDE_EFFECTS
        appropriately.

        PR c/11446
        * stor-layout.c (layout_decl): Fix alignment handling.

From-SVN: r72724

20 years ago* doc/extend.texi: Deprecate casts as lvalues.
Joseph Myers [Mon, 20 Oct 2003 21:52:37 +0000 (22:52 +0100)]
* doc/extend.texi: Deprecate casts as lvalues.

From-SVN: r72723

20 years ago* objc/hash.h (hash_string): Don't use a cast as an lvalue.
Joseph Myers [Mon, 20 Oct 2003 21:50:13 +0000 (22:50 +0100)]
* objc/hash.h (hash_string): Don't use a cast as an lvalue.

From-SVN: r72722

20 years agotoplev.c (rest_of_compilation): Fix webizer pass ordering.
Jan Hubicka [Mon, 20 Oct 2003 21:46:55 +0000 (23:46 +0200)]
toplev.c (rest_of_compilation): Fix webizer pass ordering.

* toplev.c (rest_of_compilation): Fix webizer pass ordering.

* cgraphunit.c (decide_is_function_needed):  Fix test dealing
with functions implicitly made inline.

* cgraphunit.c (cgraph_decide_inlining_incrementally):  New function.
(cgraph_finalize_function): Use it.
(cgraph_mark_inline): Allow incrmental decisions
* invoke.texi (max-inline-slope, min-inline-insns): Kill.
* params.def (PARAM_MAX_INLINE_SLOPE, PARAM_MIN_INLINE_INSNS): Kill.
* tree-inline.c (limits_allow_inlining): Kill.
(expand_call_inline): Always use unit-at-a-time path.

* decl.c (start_cleanup_fn):  Set DECL_DECLARED_INLINE_P to deffer
the expansion.

* testsuite/g++.dg/opt/inline4.C: Do not use min-inline-insns
parameter.
* testsuite/gcc.dg/inline-2.c: Likewise.

From-SVN: r72721

20 years agoinclhack.def (hpux11_snprintf): New edit.
Zack Weinberg [Mon, 20 Oct 2003 21:16:13 +0000 (21:16 +0000)]
inclhack.def (hpux11_snprintf): New edit.

* fixinc/inclhack.def (hpux11_snprintf): New edit.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/stdio.h: Add test for hpux11_snprintf.

From-SVN: r72719

20 years agoMakefile.in (install-info): Simplify.
Mark Mitchell [Mon, 20 Oct 2003 20:58:26 +0000 (20:58 +0000)]
Makefile.in (install-info): Simplify.

* Makefile.in (install-info): Simplify.
($(DESTDIR)$(infodir)/%.info): New rule.
* configure.in (target_list): Remove install-info.
* doc/.cvsignore (gcc.info*): Remove.
(gccint.info*): Likewise.
(gccinstall.info*): Likewise.
(cpp.info*): Likewise.
(cppinternals.info*): Likewise.
(*.info*): Add it.
* doc/sourcebuild.texi: Update description of install-info.
* objc/Make-lang.in (objc.install-info): Remove.

2003-10-20  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (ada.install-info): Remove target.
(info): New target.
(install-info): Likewise.
(gnat_ug_unx.info): Simplify rule.
(gnat_ug_vmx.info): Likewise.
(gnat_ug_vxw.info): Likewise.
(gnat_ug_wnt.info): Likewise.
(gnat_rm.info): Likewise.
(gnat-style.info): Likewise.

2003-10-20  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (c++.install-info): Remove.

Mon Oct 20 13:49:43 2003  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (.PHONY): Remove f77.info, f77.install-info.
(info): Update dependencies.
($(srcdir)/f/g77.info): Replace with ...
($(docobjdir)/g77.info): ... this.
(f77.install-info): Remove.
(install-info): New target.

2003-10-20  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (info): Update dependencies.
(java.install-info): Remove.
($(srcdir)/java/gcj.info): Replace with ...
($(docobjdir)/gcj.info): ... this.

2003-10-20  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (info): Use docobjdir.
($(srcdir)/treelang/treelang.info): Replace with ...
($(docobjdir)/treelang/treelang.info): ... this.
(install-info): New target.

From-SVN: r72718

20 years agoclass.c (layout_class_type): Set DECL_ARTIFICIAL on padding field.
Jason Merrill [Mon, 20 Oct 2003 20:28:51 +0000 (16:28 -0400)]
class.c (layout_class_type): Set DECL_ARTIFICIAL on padding field.

        * class.c (layout_class_type): Set DECL_ARTIFICIAL on padding
        field.

From-SVN: r72717

20 years ago2003-10-20 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 20 Oct 2003 20:14:05 +0000 (20:14 +0000)]
2003-10-20  Michael Koch  <konqueror@gmx.de>

* java/text/RuleBasedCollator.java
(RuleBasedCollator): Check rules not empty, fixed search in already
existing collation elements.
(is_special): Removed common whitespace characters.
(text_argument): Dont return on whitespaces, add characters between
two ' to string buffer.

From-SVN: r72716

20 years ago20021014-1.c: XFAIL for *-*-windiss targets.
Phil Edwards [Mon, 20 Oct 2003 20:05:20 +0000 (20:05 +0000)]
20021014-1.c: XFAIL for *-*-windiss targets.

2003-10-20  Phil Edwards  <phil@codesourcery.com>

* gcc.dg/20021014-1.c:  XFAIL for *-*-windiss targets.
* gcc.dg/nest.c:  Likewise.

From-SVN: r72715

20 years agoconfigure.in (*-*-vxworks): Add target-libiberty to noconfdirs.
Phil Edwards [Mon, 20 Oct 2003 20:04:19 +0000 (20:04 +0000)]
configure.in (*-*-vxworks): Add target-libiberty to noconfdirs.

2003-10-20  Phil Edwards  <phil@codesourcery.com>

* configure.in (*-*-vxworks):  Add target-libiberty to noconfdirs.
* configure:  Regenerate.

From-SVN: r72714

20 years agoffi.c: Use _ABIN32, _ABIO32 instead of external _MIPS_SIM_NABI32, _MIPS_SIM_ABI32.
Rainer Orth [Mon, 20 Oct 2003 18:37:22 +0000 (18:37 +0000)]
ffi.c: Use _ABIN32, _ABIO32 instead of external _MIPS_SIM_NABI32, _MIPS_SIM_ABI32.

libffi:
* src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external
_MIPS_SIM_NABI32, _MIPS_SIM_ABI32.

libstdc++-v3:
* config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
of external _MIPS_SIM_ABI32.

boehm-gc:
* mips_sgi_mach_dep.s: Use _ABIO32 instead of external
_MIPS_SIM_ABI32.

gcc:
* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Define _ABIO32.
Use it in _MIPS_SIM definition.
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Likewise.

From-SVN: r72713

20 years agoi386.c (print_reg): Abort if REGNO (x) is a virtual register, but only if file =...
Zack Weinberg [Mon, 20 Oct 2003 18:32:51 +0000 (18:32 +0000)]
i386.c (print_reg): Abort if REGNO (x) is a virtual register, but only if file == asm_out_file.

* config/i386/i386.c (print_reg): Abort if REGNO (x) is a
virtual register, but only if file == asm_out_file.
* config/i386/i386.h (HI_REGISTER_NAMES): Use "argp", not "",
for ARG_POINTER_REGNUM.

From-SVN: r72712

20 years agoc-common.c (registered_builtin_types): New static.
Zack Weinberg [Mon, 20 Oct 2003 18:28:27 +0000 (18:28 +0000)]
c-common.c (registered_builtin_types): New static.

* c-common.c (registered_builtin_types): New static.
(c_common_type_for_mode): Consult registered_builtin_types.
(c_register_builtin_type): Add type to registered_builtin_types.
* optabs.c (init_floating_libfuncs): Initialize libfuncs for
all MODE_FLOAT modes, not just the ones corresponding to
float_type_node, double_type_node, and long_double_type_node.

From-SVN: r72711

20 years agoconfigure.ac: Fix comment typo.
Phil Edwards [Mon, 20 Oct 2003 18:27:17 +0000 (18:27 +0000)]
configure.ac: Fix comment typo.

2003-10-20  Phil Edwards  <phil@codesourcery.com>

* configure.ac:  Fix comment typo.
* configure.host:  Add vxworks to host_os switch.
* crossconfig.m4:  Remove old commented os_include_dir variables
left over from autotools transition.
(*-vxworks):  New stanza.
(*-windiss):  Add missing symbols.
* configure:  Regenerate.
* config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
New files.
* config/os/windiss/os_defines.h:  Define __C9X__.

From-SVN: r72710

20 years agoconfig.gcc: Add support for arm926ejs, arm1026ejs, arm1136js, arm1136jfs, and armv6j.
Mark Mitchell [Mon, 20 Oct 2003 16:54:47 +0000 (16:54 +0000)]
config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js, arm1136jfs, and armv6j.

* config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js,
arm1136jfs, and armv6j.
* config/arm/arm.c (FL_ARCH6J): New macro.
(FL_VFPV2): Likewise.
(all_cores): Add entries for arm926ejs, arm1026ejs, arm1136js,
and arm1136jfs.
(all_architectures): Add entry for armv6j.
(arm_override_options): Add entries for arm926ejs, arm1026ejs,
arm1136js, and arm1136jfs.
* config/arm/arm.h (TARGET_CPU_arm926ej_s): New macro.
(TARGET_CPU_arm1026ej_s): Likewise.
(TARGET_CPU_arm1136j_s): Likewise.
(TARGET_CPU_arm1136jf_s): Likewise.
* doc/invoke.texi: Document new ARM cores and architecture
variants.

From-SVN: r72709

20 years agoalpha.h (PREDICATE_CODES): Add normal_memory_operand.
Richard Henderson [Mon, 20 Oct 2003 16:06:55 +0000 (09:06 -0700)]
alpha.h (PREDICATE_CODES): Add normal_memory_operand.

        * config/alpha/alpha.h (PREDICATE_CODES): Add normal_memory_operand.
        * config/alpha/alpha-protos.h: Remove PREDICATE_CODES prototypes.

From-SVN: r72708

20 years agors6000.h: (rs6000_sched_insert_nops): support new flag -minsert-sched-nops.
Dorit Naishlos [Mon, 20 Oct 2003 15:36:19 +0000 (15:36 +0000)]
rs6000.h: (rs6000_sched_insert_nops): support new flag -minsert-sched-nops.

        * config/rs6000/rs6000.h: (rs6000_sched_insert_nops):
        support new flag -minsert-sched-nops.
        (DEFAULT_SCHED_FINISH_NOP_INSERTION_SCHEME): Define.
        * config/rs6000/rs6000.c: (rs6000_sched_insert_nops):
        support new flag -minsert-sched-nops.
        (is_cracked_insn, is_microcoded_insn): New functions.
        (rs6000_sched_finish): New function.
        (rs6000_issue_rate): Return 5 for power4.
        (get_next_active_insn, insn_terminates_group_p): New
        functions.
        (is_costly_group, force_new_group): New functions.
        (redefine_groups, pad_groups): New functions.
        (rs6000_variable_issue): Use new functions.
        * doc/invoke.texi (-minsert-sched-nops): Document new
        option.

From-SVN: r72707

20 years ago* MAINTAINERS: Add myself to 'Write After Approval' section.
Nicolas Pitre [Mon, 20 Oct 2003 15:07:27 +0000 (15:07 +0000)]
* MAINTAINERS: Add myself to 'Write After Approval' section.

From-SVN: r72706

20 years agoPR c++/9781, c++/10583, c++/11862
Kriang Lerdsuwanakij [Mon, 20 Oct 2003 12:42:37 +0000 (12:42 +0000)]
PR c++/9781, c++/10583, c++/11862

PR c++/9781, c++/10583, c++/11862
* decl.c (cp_finish_decl): Exit immediately if decl is an
error_mark_node.
* pt.c (push_template_decl_real): Return error_mark_node for
invalid template declaration of variable.

* g++.dg/parse/crash13.C: New test.

From-SVN: r72701

20 years ago* gcc.dg/old-style-asm-1.c: Count jump_insns instead of labels.
Zdenek Dvorak [Mon, 20 Oct 2003 12:15:27 +0000 (14:15 +0200)]
* gcc.dg/old-style-asm-1.c: Count jump_insns instead of labels.

From-SVN: r72698

20 years agosparc.md (type attribute): Add new insn types fpa, fpm_pack, fgm_mul, fgm_pdist,...
David S. Miller [Mon, 20 Oct 2003 10:07:35 +0000 (03:07 -0700)]
sparc.md (type attribute): Add new insn types fpa, fpm_pack, fgm_mul, fgm_pdist, and fgm_cmp for VIS.

* config/sparc/sparc.md (type attribute): Add new insn types
fpa, fpm_pack, fgm_mul, fgm_pdist, and fgm_cmp for VIS.
(patterns emitting VIS insns): Use them.
* config/sparc/ultra1_2.md: Add VIS scheduling rules.
* config/sparc/ultra3.md: Likewise.

From-SVN: r72697

20 years agore PR target/12654 (Incorrect comparison code generated for Alpha)
Falk Hueffner [Mon, 20 Oct 2003 07:59:45 +0000 (09:59 +0200)]
re PR target/12654 (Incorrect comparison code generated for Alpha)

PR target/12654
* config/alpha/alpha.c (alpha_emit_conditional_branch): Don't do
comparison against constant by adjusting the argument except for
EQ and NE.

From-SVN: r72696

20 years ago* MAINTAINERS (Various maintainers: Ada front end): Added myself.
Arnaud Charlet [Mon, 20 Oct 2003 07:45:06 +0000 (09:45 +0200)]
* MAINTAINERS (Various maintainers: Ada front end): Added myself.

From-SVN: r72695

20 years agoconfig.gcc: Add support for arm926ejs, arm1026ejs, arm1136js, arm1136jfs, and armv6j.
Mark Mitchell [Mon, 20 Oct 2003 06:27:32 +0000 (06:27 +0000)]
config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js, arm1136jfs, and armv6j.

* config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js,
arm1136jfs, and armv6j.
* config/arm/arm.c (FL_ARCH6J): New macro.
(FL_VFPV2): Likewise.
(all_cores): Add entries for arm926ejs, arm1026ejs, arm1136js,
and arm1136jfs.
(all_architectures): Add entry for armv6j.
(arm_override_options): Add entries for arm926ejs, arm1026ejs,
arm1136js, and arm1136jfs.
* config/arm/arm.h (TARGET_CPU_arm926ej_s): New macro.
(TARGET_CPU_arm1026ej_s): Likewise.
(TARGET_CPU_arm1136j_s): Likewise.
(TARGET_CPU_arm1136jf_s): Likewise.
* doc/invoke.texi: Document new ARM cores and architecture
variants.

From-SVN: r72694

20 years agobuiltins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
Eric Botcazou [Mon, 20 Oct 2003 06:15:23 +0000 (08:15 +0200)]
builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.

* gcc.dg/builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
Define HAVE_C99_RUNTIME except on Solaris.
* gcc.dg/builtins-20.c: Likewise.

From-SVN: r72693

20 years agoffi_darwin.c (ffi_prep_args): Declare bytes again.
Andreas Tobler [Mon, 20 Oct 2003 04:25:32 +0000 (06:25 +0200)]
ffi_darwin.c (ffi_prep_args): Declare bytes again.

2003-10-19  Andreas Tobler  <a.tobler@schweiz.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
        Used when FFI_DEBUG = 1.

From-SVN: r72691

20 years agoDaily bump.
GCC Administrator [Mon, 20 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r72689

20 years ago* MAINTAINERS: Update my email address.
Joseph Myers [Sun, 19 Oct 2003 23:31:00 +0000 (00:31 +0100)]
* MAINTAINERS: Update my email address.

From-SVN: r72687

20 years agoMakefile.in (toplev.o): Add value-prof.h dependency.
Zdenek Dvorak [Sun, 19 Oct 2003 21:37:32 +0000 (23:37 +0200)]
Makefile.in (toplev.o): Add value-prof.h dependency.

* Makefile.in (toplev.o): Add value-prof.h dependency.
(value-prof.o): Add REGS_H dependency.
* common.opt (fprofile-values, fvpt): New.
* flags.h (flag_value_profile_transformations): Declare.
* opts.c (common_handle_option): Handle -fprofile_values and
-fvpt.
* profile.c (branch_prob): Don't remove death notes here.
* timevar.def (TV_VPT): New.
* value-prof.c: Include regs.h.
(insn_divmod_values_to_profile, gen_divmod_fixed_value, gen_mod_pow2,
gen_mod_subtract, divmod_fixed_value_transform,mod_pow2_value_transform,
mod_subtract_transform, value_profile_transformations): New.
(insn_values_to_profile): Call insn_divmod_values_to_profile.
(find_values_to_profile): Add dumps.
* value-prof.h (value_profile_transformations): Declare.
* toplev.c: Include value-prof.h.
(rest_of_handle_value_profile_transformations): New.
(enum dump_file_index): Add DFI_vpt.
(dump_file): Add vpt dump.
(flag_value_profile_transformations): New.
(lang_independent_options): Add flag_profile_values and
flag_value_profile_transformations.
(rest_of_compilation): Call
rest_of_handle_value_profile_transformations.
(process_options): Let -fvpt imply -fprofile-values.
* doc/invoke.texi (-fvpt): Document.

From-SVN: r72685

20 years agore PR libstdc++/12506 (build failure of libstdc++ due to Makefile error)
David Edelsohn [Sun, 19 Oct 2003 20:58:22 +0000 (20:58 +0000)]
re PR libstdc++/12506 (build failure of libstdc++ due to Makefile error)

        PR other/12506
        * configure.host (aix4,aix*): Define os_include_dir to os/generic.

From-SVN: r72684

20 years ago* gcc.dg/old-style-asm-1.c: Use scan-assembler-times.
Zdenek Dvorak [Sun, 19 Oct 2003 18:43:12 +0000 (20:43 +0200)]
* gcc.dg/old-style-asm-1.c: Use scan-assembler-times.

From-SVN: r72682

20 years agore PR rtl-optimization/12612 (ICE when using log function with -O3 -ffast-math)
Jan Hubicka [Sun, 19 Oct 2003 18:00:12 +0000 (20:00 +0200)]
re PR rtl-optimization/12612 (ICE when using log function with -O3 -ffast-math)

* i386.c (print_reg): Do not abort on certain registers.

PR optimization/12612
* reg-stack.c (subst_stack_regs_pat):  Use st(1) for clobbers.
* i386.md (fpatan, fyl2x, fscale patterns and expanders): Use
match_scratch; avoid bogus paralles.

PR target/12674
* i386.c (ix86_function_regparm): Disable implicit register passing
conventions when profiling.

From-SVN: r72681

20 years agore PR rtl-optimization/8178 (__builtin_ffs broken with -march=k6)
Eric Botcazou [Sun, 19 Oct 2003 17:53:11 +0000 (19:53 +0200)]
re PR rtl-optimization/8178 (__builtin_ffs broken with -march=k6)

PR optimization/8178
* config/i386/i386.md (*movsi_zero): Delete.
(*ffs_no_cmove): Use ix86_expand_clear to zero the third operand.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r72680

20 years agolocale.cc (locale::_S_initialize): Re-apply workaround a confusion of the use of...
Andreas Tobler [Sun, 19 Oct 2003 17:43:44 +0000 (19:43 +0200)]
locale.cc (locale::_S_initialize): Re-apply workaround a confusion of the use of the gthr API when...

2003-10-18  Andreas Tobler  <a.tobler@schweiz.ch>

* src/locale.cc (locale::_S_initialize): Re-apply workaround a
confusion of the use of the gthr API when __gthread_active_p()
returns true.

From-SVN: r72679

20 years agoFix typo.
Richard Sandiford [Sun, 19 Oct 2003 11:44:42 +0000 (11:44 +0000)]
Fix typo.

From-SVN: r72678

20 years agoalpha.c (fix_operator): New.
Richard Henderson [Sun, 19 Oct 2003 11:10:59 +0000 (04:10 -0700)]
alpha.c (fix_operator): New.

        * config/alpha/alpha.c (fix_operator): New.
        (divmod_operator): Tidy.
        (alpha_emit_xfloating_cvt): Handle UNSIGNED_FIX.
        * config/alpha/alpha.h (FIXUNS_TRUNC_LIKE_FIX_TRUNC): Remove.
        (PREDICATE_CODES): Update.
        * config/alpha/alpha.md (fix_truncdfsi_ieee): Use match_operator.
        (fix_truncdfsi_internal, fix_truncdfdi_ieee): Likewise.
        (fix_truncsfsi_ieee, fix_truncsfsi_internal): Likewise.
        (fix_truncsfdi_ieee): Likewise.
        (fix_truncdfdi2, fix_truncsfdi2): Turn into define_expand.
        (fixuns_truncdfdi2, fixuns_truncsfdi2, fixuns_trunctfdi2): New.
        * config/alpha/alpha-protos.h: Update.

From-SVN: r72677

20 years agomips.h (INITIALIZE_TRAMPOLINE): Simplify.
Richard Sandiford [Sun, 19 Oct 2003 07:52:10 +0000 (07:52 +0000)]
mips.h (INITIALIZE_TRAMPOLINE): Simplify.

* config/mips/mips.h (INITIALIZE_TRAMPOLINE): Simplify.
* config/mips/mips.c (mips_load_got): Assume Pmode == ptr_mode.
* config/mips/mips.md (extendsidi2, *extendsidi2): Merge. Don't accept
contant operands.

From-SVN: r72671

20 years agoextend.texi: Fix typos.
Kazu Hirata [Sun, 19 Oct 2003 03:22:01 +0000 (03:22 +0000)]
extend.texi: Fix typos.

* doc/extend.texi: Fix typos.
* doc/invoke.texi: Likewise.

From-SVN: r72668

20 years agoarm.c (arm_override_options): Use arm_tune_xscale for XScale optimizations not arm_ar...
Nicolas Pitre [Sun, 19 Oct 2003 01:01:46 +0000 (01:01 +0000)]
arm.c (arm_override_options): Use arm_tune_xscale for XScale optimizations not arm_arch_xscale.

* config/arm/arm.c (arm_override_options): Use arm_tune_xscale for
XScale optimizations not arm_arch_xscale.
* config/arm/arm.h (CONSTANT_ALIGNMENT_FACTOR, MOVE_RATIO): Likewise.

From-SVN: r72667

20 years agoDaily bump.
GCC Administrator [Sun, 19 Oct 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r72665.2

20 years agoDaily bump.
GCC Administrator [Sun, 19 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r72664.2

20 years agos390-protos.h (shift_count_operand): Add prototype.
Ulrich Weigand [Sat, 18 Oct 2003 22:24:37 +0000 (22:24 +0000)]
s390-protos.h (shift_count_operand): Add prototype.

* config/s390/s390-protos.h (shift_count_operand): Add prototype.
* config/s390/s390.c (shift_count_operand): New function.
(s390_extra_constraint): Use it to implement 'Y' constraint.
(print_shift_count_operand): New function.
(print_operand): Use it to implement '%Y'.
* config/s390/s390.h (EXTRA_ADDRESS_CONSTRAINT): Add 'Y' constraint.
(PREDICATE_CODES): Add shift_count_operand.
* config/s390/s390.md ("rotldi3"): Merge alternatives,
using "shift_count_operand" predicate and "Y" constraint,
and "%Y" to output the combined shift count.
("rotlsi3"): Likewise.
("ashldi3", "*ashldi3_31", "*ashldi3_64"): Likewise.
("ashrdi3", "*ashrdi3_31", "*ashrdi3_64", "*ashrdi3_cc_31",
"*ashrdi3_cc_64", "*ashrdi3_cconly_31", "*ashrdi3_cconly_64"): Likewise.
("ashlsi3", "ashrsi3", "*ashrsi3_cc", "*ashrsi3_cconly"): Likewise.
("lshrdi3", "*lshrdi3_31", "*lshrdi3_64"): Likewise.
("lshrsi3"): Likewise.

From-SVN: r72661

20 years agom68k.c (m68k_output_function_epilogue): Add missing argument to asm_fprintf statement.
Gunther Nikl [Sat, 18 Oct 2003 20:46:41 +0000 (20:46 +0000)]
m68k.c (m68k_output_function_epilogue): Add missing argument to asm_fprintf statement.

* config/m68k/m68k.c (m68k_output_function_epilogue): Add missing
argument to asm_fprintf statement.

From-SVN: r72656

20 years ago* integrate.c (copy_decl_for_inlining): Revert previous patch.
Jan Hubicka [Sat, 18 Oct 2003 20:32:57 +0000 (22:32 +0200)]
* integrate.c (copy_decl_for_inlining): Revert previous patch.

From-SVN: r72653

20 years agoSeparate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
Fariborz Jahanian [Sat, 18 Oct 2003 20:03:35 +0000 (20:03 +0000)]
Separate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.

Approved by David Edehlson.

From-SVN: r72651

20 years agoSeparate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
Fariborz Jahanian [Sat, 18 Oct 2003 20:02:24 +0000 (20:02 +0000)]
Separate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.

Approved by David Edelsohn.

From-SVN: r72650

20 years agofinal.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns as well.
Alexandre Oliva [Sat, 18 Oct 2003 19:13:04 +0000 (19:13 +0000)]
final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns as well.

* final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns
as well.

From-SVN: r72649

20 years agortl.h (rtl_size): Declare.
Richard Sandiford [Sat, 18 Oct 2003 18:45:16 +0000 (18:45 +0000)]
rtl.h (rtl_size): Declare.

* rtl.h (rtl_size): Declare.
(rtunion): Remove rtwint.
(rtx_def): Replace 'fld' with a union of an rtunion or a HOST_WIDE_INT.
(RTX_HDR_SIZE, RTX_SIZE): New macros.
(RTL_CHECK1): Adjust for new rtx_def layout.
(RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2): Likewise.
(XWINT, XCWINT): Likewise.  Access the rtx structure directly.
(X0WINT): Remove.
(X0ANY): New macro.
* rtl.def: Adjust comments for new rtx_def layout.
* ggc.h (ggc_alloc_rtx): Take the rtx code as argument, not the
number of slots.
* rtl.c (rtx_size): New array.
(rtx_alloc): Adjust call to ggc_alloc_rtx.  Use RTX_HDR_SIZE.
(copy_rtx): Use RTX_HDR_SIZE.  Adjust for new rtx_def layout.
(shallow_copy_rtx): Adjust call to ggc_alloc_rtx.  Use RTX_SIZE.
* integrate.c (copy_rtx_and_substitute): Use X0ANY to copy '0' fields.
* emit-rtl.c (copy_most_rtx): Likewise.
(copy_rtx_if_shared): Use RTX_SIZE.
(copy_insn_1): Use RTX_HDR_SIZE.  Adjust for new rtx_def layout.
* gengenrtl.c (gendef): Adjust ggc_alloc_rtx call.  Use RTX_HDR_SIZE.
* gengtype.c (write_rtx_next): Use RTX_HDR_SIZE.
(adjust_field_rtx_def): Expect "rtx_def" to be a union rather than
an array.  Adjust output for new rtx_def layout.
* ggc-page.c (RTL_SIZE): Use RTX_HDR_SIZE.
* reload1.c (eliminate_regs): Use RTX_SIZE.
* rtlanal.c (loc_mentioned_in_p): Adjust for new rtx_def layout.
* gdbinit.in (pi): Likewise.

From-SVN: r72647

20 years ago* integrate.c (copy_decl_for_inlining): Fix copying of copies.
Jan Hubicka [Sat, 18 Oct 2003 18:36:05 +0000 (20:36 +0200)]
* integrate.c (copy_decl_for_inlining): Fix copying of copies.

From-SVN: r72646

20 years agolibgcc.texi: Group multi-word types...
Roger Sayle [Sat, 18 Oct 2003 18:17:23 +0000 (18:17 +0000)]
libgcc.texi: Group multi-word types...

* libgcc.texi: Group multi-word types, such as "long double" and
"unsigned int", using braces in @deftypefn and @deftypefnx nodes.
Document __unord?f2 as returning a non-zero value, not just one.

From-SVN: r72645

20 years agore PR c++/12495 (ICE in cp/typeck.c:907)
Kriang Lerdsuwanakij [Sat, 18 Oct 2003 17:35:47 +0000 (17:35 +0000)]
re PR c++/12495 (ICE in cp/typeck.c:907)

PR c++/12495
* pt.c (lookup_template_class): Handle when current_class_type
is a local class.

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

From-SVN: r72643

20 years agot-mmix (CRTSTUFF_T_CFLAGS): Define.
Hans-Peter Nilsson [Sat, 18 Oct 2003 16:27:12 +0000 (16:27 +0000)]
t-mmix (CRTSTUFF_T_CFLAGS): Define.

* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Define.
($(T)crti.o, $(T)crtn.o): Pass CRTSTUFF_T_CFLAGS here too.

From-SVN: r72641

20 years agok6.md (k6_alux): Use the 'mode' attribute instead of match_operand.
Eric Botcazou [Sat, 18 Oct 2003 14:55:00 +0000 (16:55 +0200)]
k6.md (k6_alux): Use the 'mode' attribute instead of match_operand.

* config/i386/k6.md (k6_alux): Use the 'mode' attribute instead of
match_operand.

From-SVN: r72639

20 years agoConnection.java, [...]: Merged copyright text from classpath to make it possible...
Michael Koch [Sat, 18 Oct 2003 12:24:57 +0000 (12:24 +0000)]
Connection.java, [...]: Merged copyright text from classpath to make it possible to merge the classes.

2003-10-18  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/file/Connection.java,
gnu/java/net/protocol/file/Handler.java,
gnu/java/net/protocol/http/Connection.java,
gnu/java/net/protocol/http/Handler.java,
gnu/java/net/protocol/jar/Connection.java,
gnu/java/net/protocol/jar/Handler.java:
Merged copyright text from classpath to make
it possible to merge the classes.

From-SVN: r72638

20 years agoReported by M.Negovanovic
Mark Wielaard [Sat, 18 Oct 2003 09:00:41 +0000 (09:00 +0000)]
Reported by M.Negovanovic

2003-10-18  Mark Wielaard  <mark@klomp.org>

Reported by M.Negovanovic
* java/beans/IndexedPropertyDescriptor.java
(IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.

From-SVN: r72637

20 years agosparc.c (function_arg_record_value_1): New fourth parameter packed_p.
Eric Botcazou [Sat, 18 Oct 2003 07:39:56 +0000 (09:39 +0200)]
sparc.c (function_arg_record_value_1): New fourth parameter packed_p.

* config/sparc/sparc.c (function_arg_record_value_1): New fourth
parameter packed_p.  Search for a DECL_PACKED field only if
packed_p is false.  Pass packed_p recursively.
(function_arg_record_value_2): Likewise.
(function_arg_record_value): Update calls to
function_arg_record_value_1 and function_arg_record_value_2.

From-SVN: r72636

20 years agocse.c (cse_insn): Check that the tentative replacement was successfully forced to...
Eric Botcazou [Sat, 18 Oct 2003 07:32:08 +0000 (09:32 +0200)]
cse.c (cse_insn): Check that the tentative replacement was successfully forced to memory before...

* cse.c (cse_insn) [src_folded]: Check that the tentative replacement
was successfully forced to memory before using the result.

From-SVN: r72635

20 years agore PR rtl-optimization/8178 (__builtin_ffs broken with -march=k6)
Eric Botcazou [Sat, 18 Oct 2003 07:24:59 +0000 (09:24 +0200)]
re PR rtl-optimization/8178 (__builtin_ffs broken with -march=k6)

PR optimization/8178
* config/i386/i386.md (*movsi_zero): New insn to set
a register to zero on TARGET_USE_MOV0 targets.

From-SVN: r72634

20 years agoMakefile.in (Makefile): Depend on the all Make-lang.in fragments.
Kelley Cook [Sat, 18 Oct 2003 05:23:22 +0000 (05:23 +0000)]
Makefile.in (Makefile): Depend on the all Make-lang.in fragments.

2003-10-17  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in (Makefile): Depend on the all Make-lang.in fragments.
(POSTSTAGE1_FLAGS_TO_PASS): Pass down MAKEINFO and MAKEINFOFLAGS.

From-SVN: r72633

20 years ago* doc/invoke.texi (gcse-las): Fix typo.
David Edelsohn [Sat, 18 Oct 2003 00:22:22 +0000 (00:22 +0000)]
* doc/invoke.texi (gcse-las): Fix typo.

From-SVN: r72631

20 years agoDaily bump.
GCC Administrator [Sat, 18 Oct 2003 00:16:11 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r72629.2

20 years agoDaily bump.
GCC Administrator [Sat, 18 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r72628.2

20 years agoinstall.texi: Remove first part of the sentence for zsh not working.
Andrew Pinski [Fri, 17 Oct 2003 22:54:54 +0000 (22:54 +0000)]
install.texi: Remove first part of the sentence for zsh not working.

2003-10-17  Andrew Pinski  <pinskia@physics.uc.edu>

        * doc/install.texi: Remove first part of the sentence for
        zsh not working.  Change gcc to GCC.

From-SVN: r72626

20 years agore PR bootstrap/12546 (Missing argz.h causes the build to fail on FreeBSD 4.8)
Andrew Pinski [Fri, 17 Oct 2003 22:36:57 +0000 (22:36 +0000)]
re PR bootstrap/12546 (Missing argz.h causes the build to fail on FreeBSD 4.8)

2003-10-17  Andrew Pinski  <pinskia@physics.uc.edu>

       PR bootstrap/12546
       * doc/install.texi: Document that zsh does not work when
       configuring gcc.

From-SVN: r72625

20 years ago* config/ptx4.h: Switch to DWARF 2; update comments.
Nathanael Nerode [Fri, 17 Oct 2003 22:06:04 +0000 (22:06 +0000)]
* config/ptx4.h: Switch to DWARF 2; update comments.

From-SVN: r72624

20 years ago* Add PRs to Altivec ChangeLog entry.
David Edelsohn [Fri, 17 Oct 2003 20:45:19 +0000 (16:45 -0400)]
* Add PRs to Altivec ChangeLog entry.

From-SVN: r72622

20 years agoaltivec.md ("altivec_dst", [...]): Use a memory_operand.
Segher Boessenkool [Fri, 17 Oct 2003 20:20:37 +0000 (20:20 +0000)]
altivec.md ("altivec_dst", [...]): Use a memory_operand.

2003-10-17  Segher Boessenkool  <boessen@de.ibm.com>
            Hartmut Penner  <hpenner@de.ibm.com>

        * config/rs6000/altivec.md ("altivec_dst", "altivec_dstt",
        "altivec_dstst", "altivec_dststt", "altivec_lvsl", "altivec_lvsr",
        "altivec_lvebx", "altivec_lvehx", "altivec_lvewx", "altivec_lvxl",
        "altivec_lvx", "altivec_stvx", "altivec_stvxl", "altivec_stvebx",
        "altivec_stvehx", "altivec_stvewx"): Use a memory_operand.
        * config/rs6000/rs6000.c (altivec_expand_lv_builtin): New function.
        (altivec_expand_stv_builtin): Adjust for the memory_operand.
        (altivec_expand_builtin): Call altivec_expand_lv_builtin.
        (altivec_init_builtins): Use `long int' for memory offsets.

Co-Authored-By: Hartmut Penner <hpenner@de.ibm.com>
From-SVN: r72621

20 years agowin32.cc: (_Jv_pipe) Implemented.
Mohan Embar [Fri, 17 Oct 2003 18:44:42 +0000 (18:44 +0000)]
win32.cc: (_Jv_pipe) Implemented.

* win32.cc: (_Jv_pipe) Implemented.
* gnu/java/nio/natPipeImpl.cc: (nativeInit) Use
_Jv_pipe instead of ::pipe.
* include/posix.h: (_Jv_pipe) New inline.
* include/win32.h: (_Jv_pipe) New declaration.

From-SVN: r72616

20 years agoopts.c (common_handle_option): Handle OPT_fweb
Jan Hubicka [Fri, 17 Oct 2003 18:24:41 +0000 (20:24 +0200)]
opts.c (common_handle_option): Handle OPT_fweb

* opts.c  (common_handle_option): Handle OPT_fweb
* invoke.texi (-fweb): Add missing parts of documentation.

From-SVN: r72614

20 years agolinux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef before redefinition.
Rainer Orth [Fri, 17 Oct 2003 16:55:56 +0000 (16:55 +0000)]
linux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef before redefinition.

* config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef
before redefinition.

From-SVN: r72613

20 years agocommon.opt: Add description of the new -fgcse-las flag.
Mostafa Hagog [Fri, 17 Oct 2003 16:16:45 +0000 (16:16 +0000)]
common.opt: Add description of the new -fgcse-las flag.

2003-10-17  Mostafa Hagog  <mustafa@il.ibm.com>

* common.opt: Add description of the new -fgcse-las flag.
* flags.h (flag_gcse_las): Declaration of global flag_gcse_las.
* gcse.c (hash_scan_set): Handle the case of store expression and
insert the memory expression to the hash table, this way we make it
possible to discover redundant loads after stores and remove them.
(pre_insert_copy_insn): moved the call to update_ld_motion_stores,
to pre_insert_copies, it is not the correct place to call it after
adding stores to be in the available expression hash table.
(pre_insert_copies): Added the call to update_ld_motion_stores when
one or more copies were inserted.
* opts.c (common_handle_option): Handle the -fgcse-las flag.
* toplev.c (flag_gcse_las): Initialization of flag_gcse_las.

* doc/invoke.tex: Document new -fgcse-las flag.

From-SVN: r72612

20 years agore PR c++/2513 (internal template template parameter causes ICE)
Kriang Lerdsuwanakij [Fri, 17 Oct 2003 15:41:46 +0000 (15:41 +0000)]
re PR c++/2513 (internal template template parameter causes ICE)

PR c++/2513
* decl.c (make_typename_type): Use dependent_type_p.
(make_unbound_class_template): Likewise.
* pt.c (instantiate_class_template): Increment
processing_template_decl during substitution of template friend
function.  Preincrement processing_template_decl rather than
postincrement.
(get_mostly_instantiated_function_type): Increment
processing_template_decl during partial substitution of function
type.

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

From-SVN: r72611

20 years ago* config/rs6000/crtsavres.asm: Remove powerpc64 code.
Alan Modra [Fri, 17 Oct 2003 15:05:26 +0000 (15:05 +0000)]
* config/rs6000/crtsavres.asm: Remove powerpc64 code.

From-SVN: r72610

20 years ago* config/rs6000/crtsavres.asm: Correct alignment of powerpc64 code.
Alan Modra [Fri, 17 Oct 2003 15:01:58 +0000 (15:01 +0000)]
* config/rs6000/crtsavres.asm: Correct alignment of powerpc64 code.

From-SVN: r72609

20 years agogcconfig.h (ALIGNMENT <powerpc linux>): Remove unsure comment.
Alan Modra [Fri, 17 Oct 2003 14:59:17 +0000 (14:59 +0000)]
gcconfig.h (ALIGNMENT <powerpc linux>): Remove unsure comment.

* include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
unsure comment.

From-SVN: r72608

20 years agoMakefile.am: Add new files.
Benjamin Kosnik [Fri, 17 Oct 2003 14:47:30 +0000 (14:47 +0000)]
Makefile.am: Add new files.

2003-10-17  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am: Add new files.
* src/Makefile.in: Regenerate.
* src/globals.cc: Split into..
* src/globals_io.cc: New.
* src/globals_locale.cc: New.
* src/ios.cc: Split into...
* src/ios_init.cc: New.
* src/ios_locale.cc: New.
* src/locale-inst.cc: Split into..
* src/wlocale-inst.cc: New.
* src/locale-misc-inst.cc: New.
* src/locale.cc, src/localename: Split into...
* src/locale_facets.cc: New.
* src/locale_init.cc: New.
* src/wstring-inst.cc: Add copyright info.

From-SVN: r72607

20 years agoarm.c (use_return_insn): Not a single instruction, if there's a frame pointer.
Richard Earnshaw [Fri, 17 Oct 2003 14:45:47 +0000 (14:45 +0000)]
arm.c (use_return_insn): Not a single instruction, if there's a frame pointer.

* config/arm/arm.c (use_return_insn): Not a single instruction, if
there's a frame pointer.
(arm_output_epilogue): Protect stack pointer from being corrupted
on interrupt.

Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r72606

20 years ago* ifcvt.c (noce_try_addcc): Handle ifs with 'else' case.
Ulrich Weigand [Fri, 17 Oct 2003 13:38:52 +0000 (13:38 +0000)]
* ifcvt.c (noce_try_addcc): Handle ifs with 'else' case.

From-SVN: r72603

20 years agocombine.c (simplify_set): Do not clear out undobuf.other_insn already set elsewhere.
Ulrich Weigand [Fri, 17 Oct 2003 13:36:48 +0000 (13:36 +0000)]
combine.c (simplify_set): Do not clear out undobuf.other_insn already set elsewhere.

* combine.c (simplify_set): Do not clear out undobuf.other_insn
already set elsewhere.

From-SVN: r72602

20 years agoi386.c (ix86_expand_prologue): Use gen_allocate_stack_worker.
Kelley Cook [Fri, 17 Oct 2003 12:28:33 +0000 (12:28 +0000)]
i386.c (ix86_expand_prologue): Use gen_allocate_stack_worker.

* config/i386/i386.c (ix86_expand_prologue):  Use
gen_allocate_stack_worker.

From-SVN: r72601

20 years agoconfig.gcc (mips-sgi-irix6*o32): Only enable use_collect2 without gas.
Rainer Orth [Fri, 17 Oct 2003 11:44:33 +0000 (11:44 +0000)]
config.gcc (mips-sgi-irix6*o32): Only enable use_collect2 without gas.

* config.gcc (mips-sgi-irix6*o32): Only enable use_collect2
without gas.
(mips-sgi-irix6*): Likewise.

* config/mips/iris6gas.h: New file.
* gcc/config.gcc (mips-sgi-irix6*): Use it.

* config/mips/mips.h (TARGET_IRIX): Provide default.
(TARGET_IRIX5): Likewise.
(TARGET_SGI_O32_AS): Likewise.
* config/mips/iris5.h (TARGET_IRIX): Redefine as 1.
(TARGET_IRIX5): Likewise.
* config/mips/iris6.h (TARGET_IRIX6): Remove.
(TARGET_IRIX5): Redefine as 0.

* config/mips/mips.c (mips_output_external): Test for IRIX 6 O32
linker workaround with TARGET_IRIX and mips_abi instead of
ASM_OUTPUT_UNDEF_FUNCTION.
(mips_file_end): Inline old ASM_OUTPUT_UNDEF_FUNCTION definition,
testing TARGET_IRIX and mips_abi explicitly.
* config/mips/iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove.
* config/mips/iris6.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove undef.

* config/mips/mips.c (irix_output_external_libcall): Renamed from
mips_output_external_libcall.
Use new TARGET_IRIX in guard.
* config/mips/mips-protos.h (irix_output_external_libcall): Match
this.
* config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Likewise.

* config/mips/iris5gas.h (HAVE_GAS_SHF_MERGE): Update comment.
Define as 0.

* config/mips/iris6.h (FUNCTION_NAME_ALREADY_DECLARED): Define
depending on mips_abi.
* config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Define as 1.
* config/mips/mips.c (mips_output_function_prologue): Test
FUNCTION_NAME_ALREADY_DECLARED at runtime.
(mips_output_function_epilogue): Likewise.
(build_mips16_function_stub): Likewise.
(build_mips16_call_stub): Likewise.
* config/mips/mips.h (FUNCTION_NAME_ALREADY_DECLARED): Provide
default.

* config/mips/iris6.h (DWARF2_UNWIND_INFO): Don't define for native
IRIX 6 O32 assembler.
(SUBTARGET_CC1_SPEC): Enforce mips2 ISA with O32 ABI.
(TARGET_OS_CPP_BUILTINS): Define _ABIO32, use it to define
_MIPS_SIM for O32 ABI.
(DWARF2_FRAME_INFO): Don't define for native IRIX 6 O32 assembler.
(ASM_DECLARE_FUNCTION_NAME): Integrate mips.h version.
(ASM_DECLARE_FUNCTION_SIZE): Move undef before redefinition.
Integrate O32 version.
(SUBTARGET_ASM_SPEC): Handle -mabi=32.
(SUBTARGET_ASM_DEBUGGING_SPEC): Add mdebug_asm_spec for gas with
O32 ABI.
(BSS_SECTION_ASM_OP_32): Define.
(BSS_SECTION_ASM_OP_64): Likewise.
(BSS_SECTION_ASM_OP): Define differently for O32 and N32/N64 ABIs
using them.
(TARGET_ASM_NAMED_SECTION): Reflect renaming.
Move up to allow override for O32 ABI without GNU as.
(EH_FRAME_SECTION_NAME): Define explicitly.
(MUST_USE_SJLJ_EXCEPTIONS): Define.
[_MIPS_SIM == _ABIO32 && !GAS] (CTORS_SECTION_ASM_OP,
DTORS_SECTION_ASM_OP): Dummy definitions.
(TARGET_ASM_NAMED_SECTION): Undef statically.
(EH_FRAME_SECTION_NAME): Likewise.
(ASM_OUTPUT_FILENAME): Integrate mips.h version.
(LINK_SPEC): Only use default options -call_shared -no_unresolved
without -r.
Don't pass -init, -fini with -mabi=32.
(COLLECT_PARSE_FLAG): Define.

* config/mips/mips.c (iris6_asm_named_section_1): Changed guard to
TARGET_IRIX.
Renamed to use irix_ prefix.
(iris6_asm_named_section): Likewise.
(iris_section_align_entry_eq): Likewise.
(iris_section_align_entry_hash): Likewise.
(iris6_file_start): Likewise.
(iris6_section_align_1): Likewise.
(iris6_file_end): Likewise.
(iris6_section_type_flags): Likewise.
(iris_section_align_htab): Likewise.
(iris_orig_asm_out_file): Likewise.
[TARGET_IRIX] (TARGET_ASM_FILE_START): Reflect rename.
(TARGET_ASM_FILE_END): Likewise.
(TARGET_SECTION_TYPE_FLAGS): Likewise.

* config/mips/mips.c [TARGET_IRIX5 && !TARGET_IRIX6]
(TARGET_ASM_UNALIGNED_HI_OP): Use runtime initialization in
override_options instead.
(TARGET_ASM_UNALIGNED_SI_OP): Likewise.
(TARGET_ASM_UNALIGNED_DI_OP): Likewise.
* config/mips/mips.c (override_options) [USE_COLLECT2]: Restore
flag_gnu_linker to defaults without USE_COLLECT2 for non-IRIX O32
assemblers.
Likewise for constructor/destructor handling.
(override_options): Handle IRIX O32 assembler quirks.
[TARGET_IRIX] (irix_asm_named_section): Handle O32 ABI with and
without gas.
(mips_file_start): Use new TARGET_IRIX.
(mips_declare_object_name): No special processing for IRIX O32
assembler.
(mips_finish_declare_object): Likewise.
(irix_asm_output_align): Renamed from iris6_asm_output_align.
Don't record alignment for O32 ABI.
(irix_file_start): Renamed from iris6_file_start.
Return early for O32 ABI.
(irix_file_end): Renamed from iris6_file_end.
Don't emit .section directives for O32 ABI.
* config/mips/iris6.h (ASM_OUTPUT_ALIGN): Reflect renaming.
* config/mips/mips-protos.h (irix_asm_output_align): Likewise.

* config/mips/t-iris6 (MULTILIB_OPTIONS): Add mabi=32.
(MULTILIB_OSDIRNAMES): Likewise.

From-SVN: r72600

20 years agocollect2.c (COLLECT_PARSE_FLAG): Provide default.
Rainer Orth [Fri, 17 Oct 2003 11:27:13 +0000 (11:27 +0000)]
collect2.c (COLLECT_PARSE_FLAG): Provide default.

* collect2.c (COLLECT_PARSE_FLAG): Provide default.
(main): Use it.
* doc/tm.texi (COLLECT_PARSE_FLAG): Document it.

From-SVN: r72599

20 years agoconfig-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.
Rainer Orth [Fri, 17 Oct 2003 11:22:58 +0000 (11:22 +0000)]
config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.

* config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.

libobjc:
* Makefile.in (runtime-info.h): Use MULTIFLAGS.

From-SVN: r72598

20 years agore PR c++/12369 (ICE with templates and friends)
Kriang Lerdsuwanakij [Fri, 17 Oct 2003 11:14:55 +0000 (11:14 +0000)]
re PR c++/12369 (ICE with templates and friends)

PR c++/12369
* g++.dg/template/friend25.C: New test.

From-SVN: r72596

20 years agoarm-modes.def (CC_Nmode): New condition code mode.
Richard Earnshaw [Fri, 17 Oct 2003 10:58:17 +0000 (10:58 +0000)]
arm-modes.def (CC_Nmode): New condition code mode.

* arm-modes.def (CC_Nmode): New condition code mode.
* arm.c (thumb_condition_code): Delete.
(arm_select_cc_mode): Handle single-bit test for Thumb.
(arm_print_operand, cases 'd' and 'D'): Don't special case the
condition code logic for Thumb.
(get_arm_condition_code): Handle CC_Nmode.
(thumb_cbrch_target_operand): New function.
* arm.h (PREDICATE_CODES): Add thumb_cbrch_target_operand.
* arm-protos.h (thumb_cbrch_target_operand): Add prototype.
* arm.md: Add Thumb split patterns for zero_extract and
sign_extract.
(tbit_cbranch, andsi3_cbranch_scratch, andsi3_cbranch)
(orrsi3_cbranch_scratch, orrsi3_cbranch, xorsi3_cbranch_scratch)
(xorsi3_cbranch, addsi3_cbranch, addsi3_cbranch_scratch)
(subsi3_cbranch, subsi3_cbranch_scratch): New Thumb patterns.
(cbranchne_decr1): Re-work to use CC_Nmode.

* arm.c (thumb_expand_epilogue): Add clobbers of registers restored
by the return instruction.  Add a use of the link register if it
wasn't stored.

From-SVN: r72595

20 years agoflow.c (init_propagate_block_info): Don't abort if a conditional jump is not a compar...
Richard Earnshaw [Fri, 17 Oct 2003 10:30:43 +0000 (10:30 +0000)]
flow.c (init_propagate_block_info): Don't abort if a conditional jump is not a comparison of a register.

* flow.c (init_propagate_block_info): Don't abort if a conditional
jump is not a comparison of a register.  Instead, just don't record
conditional life information.

From-SVN: r72594

20 years agofix
Jason Merrill [Fri, 17 Oct 2003 04:56:47 +0000 (00:56 -0400)]
fix

From-SVN: r72592

20 years agore PR rtl-optimization/12630 (Various unrecognizable insns and ICEs at -O3)
Jan Hubicka [Fri, 17 Oct 2003 03:32:21 +0000 (05:32 +0200)]
re PR rtl-optimization/12630 (Various unrecognizable insns and ICEs at -O3)

PR optimization/12630
* pa.md (movstrsi, movstrsi_internal): Use match_scratch in clobbers
for operands 7 and 8.

From-SVN: r72590

20 years agoChange TARGET_ALTIVEC to TARGET_ALTIVEC_ABI.
David Edelsohn [Fri, 17 Oct 2003 01:56:59 +0000 (01:56 +0000)]
Change TARGET_ALTIVEC to TARGET_ALTIVEC_ABI.

From-SVN: r72589

20 years agoDaily bump.
GCC Administrator [Fri, 17 Oct 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r72587.2

20 years agoDaily bump.
GCC Administrator [Fri, 17 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r72586.2

This page took 0.092407 seconds and 5 git commands to generate.