]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
23 years agoDaily bump.
GCC Administrator [Sun, 30 Jun 2002 07:17:34 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r55114

23 years ago* win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
Hans Boehm [Sat, 29 Jun 2002 17:29:51 +0000 (17:29 +0000)] 
* win32_threads.c (GC_push_all_stacks): Tolerate bad sp.

From-SVN: r55103

23 years agoDaily bump.
GCC Administrator [Sat, 29 Jun 2002 07:16:49 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55097

23 years agoconfigure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if --enable...
Phil Edwards [Sat, 29 Jun 2002 00:20:11 +0000 (00:20 +0000)] 
configure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs...

2002-06-28  Phil Edwards  <pme@gcc.gnu.org>

* configure.in (gcc_gxx_include_dir):  Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.
* configure:  Regenerate.

From-SVN: r55089

23 years agom68hc11.md ("*addsi3"): Use 'o' constraint to avoid the auto increment addressing...
Stephane Carrez [Fri, 28 Jun 2002 21:20:44 +0000 (23:20 +0200)] 
m68hc11.md ("*addsi3"): Use 'o' constraint to avoid the auto increment addressing modes.

* config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
avoid the auto increment addressing modes.
("*subsi3"): Likewise.
(split for add/sub on address): For 68HC12 push the value on
the stack and do the operation with a pop.

From-SVN: r55084

23 years agom68hc11.h (OPTIMIZATION_OPTIONS): Define.
Stephane Carrez [Fri, 28 Jun 2002 20:55:10 +0000 (22:55 +0200)] 
m68hc11.h (OPTIMIZATION_OPTIONS): Define.

* config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
* config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
Declare.
* config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
do not reorder basic blocks at the end when optimizing for size.

From-SVN: r55080

23 years agom68hc11.c (autoinc_mode): New function.
Stephane Carrez [Fri, 28 Jun 2002 20:31:45 +0000 (22:31 +0200)] 
m68hc11.c (autoinc_mode): New function.

* config/m68hc11/m68hc11.c (autoinc_mode): New function.
(m68hc11_make_autoinc_notes): New function.
(m68hc11_split_move): Be very cautious when spliting a move with
auto increment/decrement modes because this may result in incompatible
directions; add REG_INC notes to the resulting insn for CSE reg.

From-SVN: r55078

23 years agom68hc11.c (register_indirect_p): For 68HC12 a constant can be a valid address.
Stephane Carrez [Fri, 28 Jun 2002 19:58:32 +0000 (21:58 +0200)] 
m68hc11.c (register_indirect_p): For 68HC12 a constant can be a valid address.

* config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
can be a valid address.

From-SVN: r55074

23 years agoxtensa-protos.h (xtensa_return_addr): Declare.
Bob Wilson [Fri, 28 Jun 2002 19:40:32 +0000 (19:40 +0000)] 
xtensa-protos.h (xtensa_return_addr): Declare.

        * config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.
        config/xtensa/xtensa.c (xtensa_return_addr): New function.
        config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr.
        config/xtensa/xtensa.md (fix_return_addr): New pattern.

From-SVN: r55072

23 years agoxtensa.h (FUNCTION_PROFILER): Respect flag_pic when generating the call to _mcount.
Bob Wilson [Fri, 28 Jun 2002 16:57:42 +0000 (16:57 +0000)] 
xtensa.h (FUNCTION_PROFILER): Respect flag_pic when generating the call to _mcount.

        * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic
        when generating the call to _mcount.
        (NO_PROFILE_COUNTERS): Define.

From-SVN: r55065

23 years agoPrevent making paradoxical FLOAT_MODE subregs.
Bernd Schmidt [Fri, 28 Jun 2002 12:36:04 +0000 (12:36 +0000)] 
Prevent making paradoxical FLOAT_MODE subregs.

From-SVN: r55063

23 years ago[multiple changes]
Benjamin Kosnik [Fri, 28 Jun 2002 08:22:45 +0000 (08:22 +0000)] 
[multiple changes]

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_compatibility: New.
* include/c_compatibility/assert.h: New.
* include/c_compatibility/ctype.h: New.
* include/c_compatibility/errno.h: New.
* include/c_compatibility/float.h: New.
* include/c_compatibility/iso646.h: New.
* include/c_compatibility/limits.h: New.
* include/c_compatibility/locale.h: New.
* include/c_compatibility/math.h: New.
* include/c_compatibility/setjmp.h: New.
* include/c_compatibility/signal.h: New.
* include/c_compatibility/stdarg.h: New.
* include/c_compatibility/stddef.h: New.
* include/c_compatibility/stdio.h: New.
* include/c_compatibility/stdlib.h: New.
* include/c_compatibility/string.h: New.
* include/c_compatibility/time.h: New.
* include/c_compatibility/wchar.h: New.
* include/c_compatibility/wctype.h: New.

* include/c/std_cerrno.h: Get out of the way... define errno.
* include/c/std_cmath.h: Add abs, modf overloads.
Undefine C99 isms. Still not sure how to deal with this sanely.
* include/c/std_csetjmp.h: Tweak.
* include/c/std_cwchar.h: Include cstddef for size_t.

* include/c_std/std_cmath.h: Remove extra function.

Pendantic std usage in testsuites.
* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
with std.
* testsuite/17_intro/header_cwchar.cc: Tweak.
* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
std::setlocale.
* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_to_char.cc (test05): Same.
* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_is_char.cc (test05): Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/time_get_members_char.cc (test08): Same.
* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/time_put_members_char.cc (test04): Same.
* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/num_put_members_char.cc (test04): Same.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
* testsuite/22_locale/num_get_members_char.cc: Same.
* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
* testsuite/22_locale/money_put_members_char.cc (test07): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/money_get_members_char.cc (test08): Same.
* testsuite/22_locale/messages_members_char.cc (test03): Same.
* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/collate_members_char.cc (test04): Same.
* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
c_sources.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
Use size_type instead of unsigned long.

2002-06-28  Steve Ellcey  <sje@cup.hp.com>

* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
wchar types.
(_S_min_len): Ditto.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am: Add rules.
* include/Makefile.in: Regenerate.

* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* configure.target (c_model, c_compatibility): Add.

* libsupc++/Makefile.am (c_sources): New.
(libsupc___la_SOURCES): Add c_sources.
(LTCOMPILE): Remove INCLUDES.
(GCC_INCLUDES): New.
(C_COMPILE): New, like COMPILE but without INCLUDES.
(cxa_demangle.o): Use C_COMPILE.
(dyn-string.o): Use C_COMPILE.

* include/c/std_cstdarg.h: Define __need___va_list.
* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
need_NULL, need_offsetof.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* include/c/std_cwchar.h: Guard. Add mbstate_t bits.
* include/c/std_cwctype.h: Guard.

* libsupc++/eh_alloc.cc: Tweak include order.
* libsupc++/pure.cc: Use cstdio.
* libsupc++/new_op.cc: Remove malloc forward declaration, as
cstdlib brings it in. Use std::malloc.

* src/Makefile.am (sources): Remove cmath.cc.
* src/Makefile.in: Regenerate.
* src/cmath.cc: Remove.

From-SVN: r55062

23 years agoDaily bump.
GCC Administrator [Fri, 28 Jun 2002 07:17:03 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r55058

23 years agoconfigure.in (INTERFACE): Remove.
Benjamin Kosnik [Fri, 28 Jun 2002 02:02:11 +0000 (02:02 +0000)] 
configure.in (INTERFACE): Remove.

2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (INTERFACE): Remove.
(release_VERSION): Remove.
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
(libstdcxx_interface): Change. Use gcc methods to determine version.
* configure: Regenerate.
* aclocal.m4: Regenerate.

From-SVN: r55052

23 years agoconfig.if (libstdcxx_incdir): Version C++ headers.
Benjamin Kosnik [Fri, 28 Jun 2002 01:53:37 +0000 (01:53 +0000)] 
config.if (libstdcxx_incdir): Version C++ headers.

2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* config.if (libstdcxx_incdir): Version C++ headers.
(cxx_incdir): Remove.

From-SVN: r55051

23 years agoxtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Pass flag_function_sections as new 3rd arg to...
Bob Wilson [Thu, 27 Jun 2002 23:35:13 +0000 (23:35 +0000)] 
xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Pass flag_function_sections as new 3rd arg to resolve_unique_section.

        * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Pass
        flag_function_sections as new 3rd arg to resolve_unique_section.

From-SVN: r55047

23 years agore PR preprocessor/7070 (internal error with -Wunknown-pragmas && empty #pragma)
Neil Booth [Thu, 27 Jun 2002 22:27:13 +0000 (22:27 +0000)] 
re PR preprocessor/7070 (internal error with -Wunknown-pragmas && empty #pragma)

PR preprocessor/7070
* c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF.
testsuite:
* gcc.dg/Wunknownprag.c: New tests.

From-SVN: r55045

23 years agore PR c++/6695 (Regression: template friend declaration doesn't work)
Mark Mitchell [Thu, 27 Jun 2002 21:48:01 +0000 (21:48 +0000)] 
re PR c++/6695 (Regression: template friend declaration doesn't work)

PR c++/6695
* pt.c (tsubst_friend_class): Substitute into the context of the
friend before using it.

PR c++/6695
* g++.dg/template/friend7.C: New file.

From-SVN: r55043

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 27 Jun 2002 21:48:01 +0000 (21:48 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r55042

23 years agoacinclude.m4: Fix last checkin.
Benjamin Kosnik [Thu, 27 Jun 2002 20:24:39 +0000 (20:24 +0000)] 
acinclude.m4: Fix last checkin.

2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4: Fix last checkin.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r55040

23 years agoinstall.texi (Binaries): Add Sinix/Reliant Unix.
Gerald Pfeifer [Thu, 27 Jun 2002 19:11:31 +0000 (21:11 +0200)] 
install.texi (Binaries): Add Sinix/Reliant Unix.

* doc/install.texi (Binaries): Add Sinix/Reliant Unix.  Move
Hitachi entry.  Make punctuation more consistent.

From-SVN: r55038

23 years agoinstall.texi: Change ` bit' to `-bit'.
Matt Kraai [Thu, 27 Jun 2002 17:48:20 +0000 (17:48 +0000)] 
install.texi: Change ` bit' to `-bit'.

* doc/install.texi: Change ` bit' to `-bit'.
* doc/md.texi: Change `-bits' to `-bit'.
* doc/tm.texi: Change `-bits' to ` bits'.

From-SVN: r55034

23 years agoDaily bump.
GCC Administrator [Thu, 27 Jun 2002 07:16:39 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55024

23 years agoDaily bump.
GCC Administrator [Wed, 26 Jun 2002 07:16:47 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55005

23 years agoacinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.
DJ Delorie [Wed, 26 Jun 2002 04:15:31 +0000 (00:15 -0400)] 
acinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.

* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
GLIBCPP_TOPREL_CONFIGURE.
* aclocal.m4: Likewise.
* configure.in: Call it before AC_CANONICAL_SYSTEM.
* configure: Regenerate.

From-SVN: r55003

23 years ago* expr.c (JSR): Avoid undefined operation on PC.
Andreas Schwab [Tue, 25 Jun 2002 13:26:04 +0000 (13:26 +0000)] 
* expr.c (JSR): Avoid undefined operation on PC.

From-SVN: r54986

23 years agoDaily bump.
GCC Administrator [Tue, 25 Jun 2002 07:16:49 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r54980

23 years agosparc.h (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.
David S. Miller [Mon, 24 Jun 2002 16:50:44 +0000 (09:50 -0700)] 
sparc.h (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.

2002-06-24  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (INIT_TARGET_OPTABS): If ARCH64, set the
32-bit ABI libfuncs to NULL.

* expmed.c (expand_divmod): Do not set optab1/optab2 to the shift
optabs if op1 is const0_rtx.

From-SVN: r54958

23 years agoconfigure: Revert in-srcdir redirect upon request.
Phil Edwards [Mon, 24 Jun 2002 16:14:28 +0000 (16:14 +0000)] 
configure: Revert in-srcdir redirect upon request.

2002-06-24  Phil Edwards  <pme@gcc.gnu.org>

* configure:  Revert in-srcdir redirect upon request.
* .cvsignore:  Add Makefile.
* Makefile:  Removed.

From-SVN: r54954

23 years agoDaily bump.
GCC Administrator [Mon, 24 Jun 2002 07:19:05 +0000 (07:19 +0000)] 
Daily bump.

From-SVN: r54945

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Mon, 24 Jun 2002 00:15:47 +0000 (00:15 +0000)] 
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am ($(srcdir)/java/lang/Object.h,
$(srcdir)/java/lang/Class.h): Added dummy targets.

From-SVN: r54935

23 years agodecl.c (finish_function): Change "#ifdef VMS_TARGET" to "#if VMS_TARGET".
Matt Thomas [Sun, 23 Jun 2002 21:12:33 +0000 (21:12 +0000)] 
decl.c (finish_function): Change "#ifdef VMS_TARGET" to "#if VMS_TARGET".

* decl.c (finish_function): Change "#ifdef VMS_TARGET" to
"#if VMS_TARGET".

From-SVN: r54933

23 years agoDaily bump.
GCC Administrator [Sun, 23 Jun 2002 07:21:22 +0000 (07:21 +0000)] 
Daily bump.

From-SVN: r54920

23 years agoreg-stack.c (convert_regs_exit): Push the registers to stack in proper order.
Andreas Jaeger [Sun, 23 Jun 2002 05:34:46 +0000 (07:34 +0200)] 
reg-stack.c (convert_regs_exit): Push the registers to stack in proper order.

        * reg-stack.c (convert_regs_exit): Push the registers to stack in
        proper order.

        * gcc.c-torture/execute/complex-6.c: New.

From-SVN: r54918

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 23 Jun 2002 05:34:46 +0000 (05:34 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54917

23 years agore PR middle-end/6963 (Linux kernel miscompile due to clobbered MEM_SIZE)
Ulrich Weigand [Sat, 22 Jun 2002 14:29:26 +0000 (14:29 +0000)] 
re PR middle-end/6963 (Linux kernel miscompile due to clobbered MEM_SIZE)

PR middle-end/6963
* function.c (assign_stack_temp_for_type): Do not return
the same MEM rtx for multiple uses of a stack slot.

From-SVN: r54913

23 years agoPR target/6841 target/6770 target/6719
David S. Miller [Sat, 22 Jun 2002 12:02:57 +0000 (05:02 -0700)] 
PR target/6841 target/6770 target/6719

2002-06-22  David S. Miller  <davem@redhat.com>

PR target/6841 target/6770 target/6719
* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return
NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or
GENERAL_OR_EXTRA_FP_REGS.

From-SVN: r54909

23 years agoDaily bump.
GCC Administrator [Sat, 22 Jun 2002 07:17:05 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r54902

23 years agore PR other/6836 (crtfastmath.o is not built as 64-bit with sparc-sun-solaris2.8...
Rainer Orth [Fri, 21 Jun 2002 11:25:58 +0000 (11:25 +0000)] 
re PR other/6836 (crtfastmath.o is not built as 64-bit with sparc-sun-solaris2.8 32-bit and 64-bit multilib)

* config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
multilibs.
* config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
* config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Likewise.
Fixes PR other/6836.

From-SVN: r54880

23 years agoDaily bump.
GCC Administrator [Fri, 21 Jun 2002 07:38:55 +0000 (07:38 +0000)] 
Daily bump.

From-SVN: r54874

23 years agolinux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386 support so multilib works again.
Bo Thorsen [Fri, 21 Jun 2002 07:04:46 +0000 (07:04 +0000)] 
linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386 support so multilib works again.

2002-06-21  Bo Thorsen  <bo@suse.de>

* config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
support so multilib works again. And don't define this at all
when -Dinhibit_libc is used.

From-SVN: r54872

23 years agotypeck.c (mark_addressable): Don't test TREE_ADDRESSABLE early.
Richard Henderson [Thu, 20 Jun 2002 23:25:11 +0000 (16:25 -0700)] 
typeck.c (mark_addressable): Don't test TREE_ADDRESSABLE early.

        * typeck.c (mark_addressable): Don't test TREE_ADDRESSABLE early.
        Call put_var_into_stack.
* g++.dg/opt/asm1.C: New.

From-SVN: r54864

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 20 Jun 2002 23:25:11 +0000 (23:25 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54863

23 years ago* configure.target (CPULIMITSH): Use powerpc directory for rs6000.
David Edelsohn [Thu, 20 Jun 2002 17:19:46 +0000 (17:19 +0000)] 
* configure.target (CPULIMITSH): Use powerpc directory for rs6000.

From-SVN: r54841

23 years agore PR c++/6892 (ICE from #include inside switch(){} inside template function)
Kriang Lerdsuwanakij [Thu, 20 Jun 2002 15:16:14 +0000 (15:16 +0000)] 
re PR c++/6892 (ICE from #include inside switch(){} inside template function)

PR c++/6892
* pt.c (tsubst_expr): Handle FILE_STMT.

From-SVN: r54838

23 years agore PR c++/6723 (ICE on source code successfully compiled by previous versions)
Kriang Lerdsuwanakij [Thu, 20 Jun 2002 15:11:09 +0000 (15:11 +0000)] 
re PR c++/6723 (ICE on source code successfully compiled by previous versions)

PR c++/6723
* pt.c (lookup_template_class): Don't build complete argument of
BOUND_TEMPLATE_TEMPLATE_PARM if appeared as a default template
argument.

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

From-SVN: r54837

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 20 Jun 2002 15:11:09 +0000 (15:11 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54836

23 years agocombine.c (gen_lowpart_for_combine): Avoid calling of simplify_gen_subreg on VOIDmode.
Jan Hubicka [Thu, 20 Jun 2002 14:46:34 +0000 (16:46 +0200)] 
combine.c (gen_lowpart_for_combine): Avoid calling of simplify_gen_subreg on VOIDmode.

* combine.c (gen_lowpart_for_combine): Avoid calling of
simplify_gen_subreg on VOIDmode.

* combine.c (subst): Be prepared for simplify_subreg to return VOIDmode.

From-SVN: r54833

23 years agoc-common.c (c_common_get_alias_set): Correctly handle characters.
Richard Henderson [Thu, 20 Jun 2002 07:35:46 +0000 (00:35 -0700)] 
c-common.c (c_common_get_alias_set): Correctly handle characters.

        * c-common.c (c_common_get_alias_set): Correctly handle characters.
        Rearrange order of expressions; don't handle vectors here.
        * alias.c (get_alias_set): Let vectors match their components.

From-SVN: r54823

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 20 Jun 2002 07:35:46 +0000 (07:35 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54822

23 years agoDaily bump.
GCC Administrator [Thu, 20 Jun 2002 07:19:22 +0000 (07:19 +0000)] 
Daily bump.

From-SVN: r54817

23 years ago* g++.dg/opt/vt1.C: Fix regexp.
Jakub Jelinek [Wed, 19 Jun 2002 14:38:56 +0000 (16:38 +0200)] 
* g++.dg/opt/vt1.C: Fix regexp.

From-SVN: r54780

23 years agoDaily bump.
GCC Administrator [Wed, 19 Jun 2002 07:17:39 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r54773

23 years agoconfigure: Remove garbage from previous commit.
Phil Edwards [Tue, 18 Jun 2002 20:42:23 +0000 (20:42 +0000)] 
configure: Remove garbage from previous commit.

2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

* configure:  Remove garbage from previous commit.

From-SVN: r54764

23 years agoconfigure: For in-source builds, make a subdir and re-exec there.
Phil Edwards [Tue, 18 Jun 2002 20:02:49 +0000 (20:02 +0000)] 
configure: For in-source builds, make a subdir and re-exec there.

2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

* configure:  For in-source builds, make a subdir and re-exec there.
* Makefile:  New file.  Pass targets through to build directory.
* .cvsignore:  No longer ignore "Makefile".

From-SVN: r54761

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 18 Jun 2002 20:02:49 +0000 (20:02 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54760

23 years agoFix typo in comment
Hans-Peter Nilsson [Tue, 18 Jun 2002 15:37:34 +0000 (15:37 +0000)] 
Fix typo in comment

From-SVN: r54742

23 years agoDaily bump.
GCC Administrator [Tue, 18 Jun 2002 07:35:23 +0000 (07:35 +0000)] 
Daily bump.

From-SVN: r54734

23 years ago* gcc.c-torture/execute/20020615-1.c: Correct bug-description.
Hans-Peter Nilsson [Mon, 17 Jun 2002 23:34:02 +0000 (23:34 +0000)] 
* gcc.c-torture/execute/20020615-1.c: Correct bug-description.

From-SVN: r54724

23 years agore PR target/7042 (cris-elf miscompiles line_hints in ghostscript - "return" delay...
Hans-Peter Nilsson [Mon, 17 Jun 2002 22:06:34 +0000 (22:06 +0000)] 
re PR target/7042 (cris-elf miscompiles line_hints in ghostscript - "return" delay slot bug)

PR target/7042
* config/cris/cris.c (cris_simple_epilogue): Kludge around reorg.c
bug by saing that the epilogue isn't simple if there's a
non-empty current_function_epilogue_delay_list.
* config/cris/cris.md ("return"): Add sanity check asserting that
current_function_epilogue_delay_list is empty.

From-SVN: r54721

23 years agoi386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
Richard Henderson [Mon, 17 Jun 2002 20:21:49 +0000 (13:21 -0700)] 
i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.

        * config/i386/i386.h (BIGGEST_FIELD_ALIGNMENT): Define instead
        of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.

From-SVN: r54714

23 years ago* expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.
Richard Henderson [Mon, 17 Jun 2002 18:14:44 +0000 (11:14 -0700)] 
* expmed.c (make_tree): Handle SIGN_EXTEND/ZERO_EXTEND.

From-SVN: r54710

23 years agoDaily bump.
GCC Administrator [Mon, 17 Jun 2002 07:22:22 +0000 (07:22 +0000)] 
Daily bump.

From-SVN: r54697

23 years agotree.c (cp_cannot_inline_tree_fn): Don't short-circuit test after template instantiation.
Richard Henderson [Mon, 17 Jun 2002 00:29:37 +0000 (17:29 -0700)] 
tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test after template instantiation.

        * tree.c (cp_cannot_inline_tree_fn): Don't short-circuit test
        after template instantiation.
* g++.dg/opt/inline3.C: New.

From-SVN: r54689

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 17 Jun 2002 00:29:37 +0000 (00:29 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54688

23 years agoi386-protos.h (x86_field_alignment): Declare.
Jan Hubicka [Sun, 16 Jun 2002 22:35:06 +0000 (22:35 +0000)] 
i386-protos.h (x86_field_alignment): Declare.

* i386-protos.h (x86_field_alignment): Declare.
* i386.c (x86_field_alignment): Define.
* i386.h (ADJUST_FIELD_ALIGNMENT): New.
(BIGGEST_FIELD_ALIGNMENT): Kill.

From-SVN: r54685

23 years agoregclass.c (globalize_reg): Update regs_invalidated_by_call.
Richard Henderson [Sun, 16 Jun 2002 21:54:12 +0000 (14:54 -0700)] 
regclass.c (globalize_reg): Update regs_invalidated_by_call.

        * regclass.c (globalize_reg): Update regs_invalidated_by_call.
* gcc.dg/20020616-1.c: New.

From-SVN: r54683

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 16 Jun 2002 21:54:12 +0000 (21:54 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54682

23 years agodwarf2out.c (modified_type_die): Don't assign the qualified die to the unqualified...
Richard Henderson [Sun, 16 Jun 2002 20:54:30 +0000 (13:54 -0700)] 
dwarf2out.c (modified_type_die): Don't assign the qualified die to the unqualified type.

        * dwarf2out.c (modified_type_die): Don't assign the qualified die
        to the unqualified type.

From-SVN: r54677

23 years agoDaily bump.
GCC Administrator [Sun, 16 Jun 2002 07:31:57 +0000 (07:31 +0000)] 
Daily bump.

From-SVN: r54661

23 years ago* gcc.c-torture/execute/20020615-1.c: New test.
Hans-Peter Nilsson [Sat, 15 Jun 2002 18:17:06 +0000 (18:17 +0000)] 
* gcc.c-torture/execute/20020615-1.c: New test.

From-SVN: r54652

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 15 Jun 2002 18:17:06 +0000 (18:17 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54651

23 years agosparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
Jeff Sturm [Sat, 15 Jun 2002 14:14:50 +0000 (14:14 +0000)] 
sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.

2002-06-14  Jeff Sturm  <jsturm@one-point.com>

* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add
SPARC_STACK_BIAS.

From-SVN: r54646

23 years agoDaily bump.
GCC Administrator [Sat, 15 Jun 2002 07:16:34 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r54639

23 years agoloop.c (check_final_value): Use v->always_executed instead of v->always_computable.
Eric Botcazou [Sat, 15 Jun 2002 01:12:06 +0000 (01:12 +0000)] 
loop.c (check_final_value): Use v->always_executed instead of v->always_computable.

* loop.c (check_final_value): Use v->always_executed
instead of v->always_computable.
* unroll.c (final_giv_value): Don't calculate the final
value as a function of the biv if the giv is not computed
for every loop iteration.

From-SVN: r54635

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 15 Jun 2002 00:43:49 +0000 (00:43 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54631

23 years agoconvert.c (convert_to_integer): Don't pass the truncation down when the target type...
Eric Botcazou [Sat, 15 Jun 2002 00:42:25 +0000 (00:42 +0000)] 
convert.c (convert_to_integer): Don't pass the truncation down when the target type is signed.

* convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
the truncation down when the target type is signed.
[trunc1]: Use unsigned arithmetic for LSHIFT_EXPR.
* fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through
the conversion if the target type is a smaller type.

From-SVN: r54628

23 years agoconfigure.in (target_alias): Fix.
J.T. Conklin [Fri, 14 Jun 2002 18:43:35 +0000 (18:43 +0000)] 
configure.in (target_alias): Fix.

2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>

* configure.in (target_alias): Fix.
* configure: Regenerate.
* aclocal.m4: Regenerate.

From-SVN: r54620

23 years agoDaily bump.
GCC Administrator [Fri, 14 Jun 2002 07:16:38 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r54607

23 years ago* i386.c (ix86_expand_movstr): Fix pasto.
Jan Hubicka [Thu, 13 Jun 2002 16:29:11 +0000 (18:29 +0200)] 
* i386.c (ix86_expand_movstr):  Fix pasto.

From-SVN: r54591

23 years ago* reload.c (find_valid_class): Fix thinko in my previous patch.
Jan Hubicka [Thu, 13 Jun 2002 16:08:12 +0000 (18:08 +0200)] 
* reload.c (find_valid_class):  Fix thinko in my previous patch.

From-SVN: r54587

23 years agoDaily bump.
GCC Administrator [Thu, 13 Jun 2002 07:16:37 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r54575

23 years agore PR target/6997 (CRIS: compare result incorrect -- sleu pattern in cris.md at fault)
Hans-Peter Nilsson [Wed, 12 Jun 2002 22:52:57 +0000 (22:52 +0000)] 
re PR target/6997 (CRIS: compare result incorrect -- sleu pattern in cris.md at fault)

PR target/6997
* config/cris/cris.md ("sleu"): Set attribute "cc" to "none".

From-SVN: r54565

23 years ago* gcc.c-torture/execute/20020611-1.c: New test.
Hans-Peter Nilsson [Wed, 12 Jun 2002 22:50:17 +0000 (22:50 +0000)] 
* gcc.c-torture/execute/20020611-1.c: New test.

From-SVN: r54564

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 12 Jun 2002 22:50:17 +0000 (22:50 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54563

23 years agoelf.h (DWARF2_DEBUG_INFO): Define.
Daniel Jacobowitz [Wed, 12 Jun 2002 18:04:11 +0000 (18:04 +0000)] 
elf.h (DWARF2_DEBUG_INFO): Define.

        * config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
        * config/mips/mips.c (mips_output_filename): Don't print a
        ".file" directive if we are using DWARF-2.
        (mips_output_function_prologue): Do not emit source file
        name for TARGET_GAS.

From-SVN: r54559

23 years ago* g++.dg/template/typename2.C: Update error message.
Kriang Lerdsuwanakij [Wed, 12 Jun 2002 15:44:01 +0000 (15:44 +0000)] 
* g++.dg/template/typename2.C: Update error message.

From-SVN: r54554

23 years agoDaily bump.
GCC Administrator [Wed, 12 Jun 2002 07:17:05 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r54547

23 years agoconfigure.target: Set os_include_dir to config/os/qnx/qnx6.1 under *-qnx6.[12]*.
J.T. Conklin [Tue, 11 Jun 2002 18:11:06 +0000 (18:11 +0000)] 
configure.target: Set os_include_dir to config/os/qnx/qnx6.1 under *-qnx6.[12]*.

2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
            Benjamin Kosnik  <bkoz@redhat.com>

* configure.target: Set os_include_dir to config/os/qnx/qnx6.1
under *-qnx6.[12]*.
* configure.in: Add support for *-qnx6.[12]*.
* configure: Regenerate.

* config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
New directories.
* config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
ctype_noninline.h, os_defines.h: New files.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r54520

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 11 Jun 2002 18:11:06 +0000 (18:11 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54519

23 years agos390.md (movsi): Only use floating point register alternatives when operands are...
Ulrich Weigand [Tue, 11 Jun 2002 14:49:17 +0000 (14:49 +0000)] 
s390.md (movsi): Only use floating point register alternatives when operands are already fprs.

* config/s390/s390.md (movsi): Only use floating point
register alternatives when operands are already fprs.
(movdi_31, movdi_64): Likewise.

From-SVN: r54507

23 years agos390.md (reload_base, ltorg): Remove.
Ulrich Weigand [Tue, 11 Jun 2002 14:06:37 +0000 (14:06 +0000)] 
s390.md (reload_base, ltorg): Remove.

* config/s390/s390.md (reload_base, ltorg): Remove.
* s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool,
s390_asm_output_pool_prologue, s390_pool_start_insn): Remove.
* s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool,
s390_asm_output_pool_prologue): Likewise.
* s390.h (s390_pool_start_insn): Likewise.

* s390.c (s390_output_symbolic_const): Remove support for
old-style pool chunks.
(s390_function_epilogue): Likewise.
(s390_output_constant_pool): Likewise.  Also, fix incorrect
alignment for 64-bit literal pools.
(print_operand_address): Remove 'y' and 'Y' format flags.
* s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for
old-style pool chunks.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
(ASM_OUTPUT_POOL_EPILOGUE): Remove.
(S390_CHUNK_MAX, S390_CHUNK_OV, S390_POOL_MAX): Remove.

* s390.c (consttable_operand): New function.
* s390-protos.h (consttable_operand): Declare it.
* s390.h (PREDICATE_CODES): Add consttable_operand.
* s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di,
consttable_sf, consttable_df, pool_start_31, pool_end_31,
pool_start_64, pool_end_64, reload_base, reload_base2): New insns.
* s390.c (struct constant, struct constant_pool): New data types.
(constant_modes, gen_consttable): New variables.
(s390_start_pool, s390_end_pool, s390_add_pool,
s390_dump_pool, s390_free_pool): New functions.
(s390_chunkify_pool): Completely reimplement literal pool
overflow handling.

* s390.c (s390_pool_overflow): New variable.
* s390.h (s390_pool_overflow): Declare it.
* s390.md (cjump, icjump): Use it to adapt length for out-of-range
jumps in literal pool overflow situations.

* s390.c (s390_decompose_address): Accept new-style pool chunk offsets.
(s390_frame_info): Account for possible use of RETURN_REGNUM
by new literal pool overflow code.
(s390_emit_prologue): Likewise.

From-SVN: r54501

23 years agoDaily bump.
GCC Administrator [Tue, 11 Jun 2002 07:16:49 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r54489

23 years agoDon't use RTL inlining. Fix for PR java/6820.
Bryce McKinlay [Tue, 11 Jun 2002 06:20:12 +0000 (06:20 +0000)] 
Don't use RTL inlining. Fix for PR java/6820.

* lang.c (LANG_HOOKS_POST_OPTIONS): Define.
(flag_really_inline): New.
(java_decode_option): Set flag_really_inline if -finline-functions
is seen.
(java_post_options): New function. Turn off inlining unless
flag_really_inline is set.

From-SVN: r54487

23 years agore PR rtl-optimization/6759 (ice when compiling 32 bit sparc code)
Jakub Jelinek [Mon, 10 Jun 2002 22:12:08 +0000 (00:12 +0200)] 
re PR rtl-optimization/6759 (ice when compiling 32 bit sparc code)

PR optimization/6759
* cse.c (cse_insn): Fold src_eqv just once, store it folded back into
the REQ_EQUAL note.

* g++.dg/opt/cse1.C: New test.

From-SVN: r54471

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 10 Jun 2002 22:12:08 +0000 (22:12 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54470

23 years agore PR c/6660 (Typedeffed unnamed structs/unions do not compile with gcc-3.1)
Jakub Jelinek [Mon, 10 Jun 2002 21:53:39 +0000 (23:53 +0200)] 
re PR c/6660 (Typedeffed unnamed structs/unions do not compile with gcc-3.1)

PR c/6660
* c-decl.c (grokfield): Allow user defined types if they declare
structs or unions for unnamed fields.

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

From-SVN: r54468

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 10 Jun 2002 21:53:39 +0000 (21:53 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54467

23 years agore PR c/6809 (GCC 3.1 cc1 crashes if -fverbose-asm is specified)
Jakub Jelinek [Mon, 10 Jun 2002 21:51:07 +0000 (23:51 +0200)] 
re PR c/6809 (GCC 3.1 cc1 crashes if -fverbose-asm is specified)

PR c/6809
* print-rtl.c (print_mem_expr): Don't crash on unnamed fields.

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

From-SVN: r54465

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 10 Jun 2002 21:51:07 +0000 (21:51 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54464