]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
21 years agore PR libstdc++/12352 (Exception safety problems in src/localename.cc)
Paolo Carlini [Mon, 19 Jan 2004 00:12:55 +0000 (00:12 +0000)] 
re PR libstdc++/12352 (Exception safety problems in src/localename.cc)

2004-01-19  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12352
PR libstdc++/12438
* include/bits/locale_classes.h (locale::locale(const locale&,
_Facet*)): Don't leak memory on exception.
* include/bits/locale_facets.tcc (locale::combine(const locale&)):
Likewise.
* src/locale.cc (locale::locale(const char*)): Likewise.
* src/localename.cc (locale::_Impl::~_Impl(),
locale::_Impl::_Impl(const _Impl&, size_t),
locale::_Impl::_Impl(const char*, size_t)): Likewise.
(locale::_Impl::_M_replace_categories(const _Impl*, category):
Tweak.

From-SVN: r76124

21 years agoDaily bump.
GCC Administrator [Sun, 18 Jan 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r76067

21 years agoDaily bump.
GCC Administrator [Sat, 17 Jan 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r76012

21 years ago* MAINTAINERS: Remove entries without email address.
Volker Reichelt [Fri, 16 Jan 2004 23:33:12 +0000 (23:33 +0000)] 
* MAINTAINERS: Remove entries without email address.

From-SVN: r76002

21 years agore PR target/13608 (Incorrect code with -O3 -ffast-math)
Jan Hubicka [Fri, 16 Jan 2004 19:01:06 +0000 (20:01 +0100)] 
re PR target/13608 (Incorrect code with -O3 -ffast-math)

PR opt/13608
* i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.

From-SVN: r75990

21 years agore PR target/11793 (ICE in extract_insn, at recog.c:2175 (const_vector's))
Segher Boessenkool [Fri, 16 Jan 2004 15:05:37 +0000 (15:05 +0000)] 
re PR target/11793 (ICE in extract_insn, at recog.c:2175 (const_vector's))

       PR target/11793
       * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Handle
       vectors.

From-SVN: r75974

21 years agore PR rtl-optimization/11350 (undefined labels with -Os -fPIC)
Jan Hubicka [Fri, 16 Jan 2004 11:07:17 +0000 (12:07 +0100)] 
re PR rtl-optimization/11350 (undefined labels with -Os -fPIC)

        PR opt/11350
        * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
        after reload.
        * cfgrtl.c (try_redirect_by_replacing_branch): Likewise.

From-SVN: r75967

21 years agoDaily bump.
GCC Administrator [Fri, 16 Jan 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75952

21 years agore PR rtl-optimization/10392 ([SH] optimizer generates faulty array indexing)
J"orn Rennecke [Thu, 15 Jan 2004 20:21:47 +0000 (20:21 +0000)] 
re PR rtl-optimization/10392 ([SH] optimizer generates faulty array indexing)

PR optimization/10392
* reload.c (can_reload_into): New function.
(push_reload): Use it.

From-SVN: r75942

21 years agoDaily bump.
GCC Administrator [Thu, 15 Jan 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75893

21 years ago* README: Remove.
Ian Lance Taylor [Wed, 14 Jan 2004 18:41:46 +0000 (18:41 +0000)] 
* README: Remove.

From-SVN: r75874

21 years agore PR target/9365 ([SH] segfault in gen_far_branch (config/sh/sh.c))
J"orn Rennecke [Wed, 14 Jan 2004 18:11:36 +0000 (18:11 +0000)] 
re PR target/9365 ([SH] segfault in gen_far_branch (config/sh/sh.c))

        PR target/9365
        * sh.c (gen_block_redirect): Add special handling of RETURN.
        (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
        far branch target (i.e. it's a return).

From-SVN: r75873

21 years ago* gcc/config/rs6000/rs6000.c (rs6000_stack_info)
Hartmut Penner [Wed, 14 Jan 2004 14:03:58 +0000 (14:03 +0000)] 
* gcc/config/rs6000/rs6000.c (rs6000_stack_info)
      Calculate always vrsave_mask if TARGET_ALTIVEC.
      (rs6000_emit_prologue): Emit code for vrsave
      only if TARGET_ALTIVEC_VRSAVE.
      (rs6000_emit_epilogue): Likewise.

From-SVN: r75865

21 years agore PR c++/12815 (Code compiled with optimization behaves unexpectedly)
Gabriel Dos Reis [Wed, 14 Jan 2004 09:05:44 +0000 (09:05 +0000)] 
re PR c++/12815 (Code compiled with optimization behaves unexpectedly)

Backport from mainline
2004-01-05  Mark Mitchell  <mark@codesourcery.com>

PR c++/12816
 * class.c (build_vtbl_ref_1): Do not unconditionally mark vtable
  references as constant.

From-SVN: r75851

21 years agore PR objc/7993 (private variables cannot be shadowed in subclasses)
Nicola Pero [Wed, 14 Jan 2004 07:52:39 +0000 (08:52 +0100)] 
re PR objc/7993 (private variables cannot be shadowed in subclasses)

PR objc/7993
        * objc-act.c (is_private): Do not emit the 'instance variable %s
        is declared private' error.
        (is_public): Emit the error after calling is_private.
        (lookup_objc_ivar): If the instance variable is private, return 0
        - the instance variable is invisible here.

From-SVN: r75850

21 years agoDaily bump.
GCC Administrator [Wed, 14 Jan 2004 00:23:04 +0000 (00:23 +0000)] 
Daily bump.

From-SVN: r75828

21 years agoDaily bump.
GCC Administrator [Tue, 13 Jan 2004 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75771

21 years agoMakefile.am (version.dep): backport from HEAD.
Marc Espie [Mon, 12 Jan 2004 23:00:30 +0000 (23:00 +0000)] 
Makefile.am (version.dep): backport from HEAD.

2004-01-12  Marc Espie <espie@openbsd.org>

* src/Makefile.am (version.dep): backport from HEAD.
* src/Makefile.in: regen.

From-SVN: r75766

21 years agosystem.h: handle YYBYACC like YYBISON.
Marc Espie [Mon, 12 Jan 2004 22:54:20 +0000 (22:54 +0000)] 
system.h: handle YYBYACC like YYBISON.

2004-01-12  Marc Espie <espie@openbsd.org>

* system.h: handle YYBYACC like YYBISON.

From-SVN: r75765

21 years agobackport: i386.md: Typo in split of fp-valued if_then_else.
Matthias Klose [Mon, 12 Jan 2004 20:18:18 +0000 (20:18 +0000)] 
backport: i386.md: Typo in split of fp-valued if_then_else.

2004-01-12  Matthias Klose  <doko@debian.org>

        Backport from mainline

        2003-12-08 Stuart Hastings <stuart@apple.com>
        * config/i386/i386.md: Typo in split of fp-valued if_then_else.

From-SVN: r75753

21 years agore PR middle-end/11397 (weak aliases broken on Tru64 UNIX)
Roger Sayle [Mon, 12 Jan 2004 18:23:08 +0000 (18:23 +0000)] 
re PR middle-end/11397 (weak aliases broken on Tru64 UNIX)

PR middle-end/11397
* varasm.c (assemble_alias): Remove weak aliases from weak_decls.

From-SVN: r75740

21 years agore PR target/13585 (Incorrect optimisation of call to sfunc)
J"orn Rennecke [Mon, 12 Jan 2004 17:03:25 +0000 (17:03 +0000)] 
re PR target/13585 (Incorrect optimisation of call to sfunc)

PR target/13585
* sh-protos.h (check_use_sfunc_addr): Declare.
* sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
* sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.

From-SVN: r75736

21 years agoconfigure.in: GLIBCXX->GLIBCPP.
Gernot Hillier [Mon, 12 Jan 2004 16:19:22 +0000 (16:19 +0000)] 
configure.in: GLIBCXX->GLIBCPP.

2004-01-12  Gernot Hillier  <gernot.hillier@siemens.com>

* configure.in: GLIBCXX->GLIBCPP.
* configure: Regenerated.
* aclocal.m4: Regenerated.

From-SVN: r75728

21 years agobackport: re PR rtl-optimization/12441 (Can't spill register bug)
Matthias Klose [Mon, 12 Jan 2004 09:02:27 +0000 (09:02 +0000)] 
backport: re PR rtl-optimization/12441 (Can't spill register bug)

2004-01-12  Matthias Klose  <doko@debian.org>

        Backport from mainline

        2004-01-11  Richard Henderson  <rth@redhat.com>
        PR opt/12441
        Revert: Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
        * i386.c (aligned_operand): Be prepared for SUBREGed registers.
        (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
        (ix86_address_cost): Be prepared for SUBREGed registers.
        (legitimate_address_p): Accept SUBREGed registers.

From-SVN: r75708

21 years agoDaily bump.
GCC Administrator [Mon, 12 Jan 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75697

21 years agoalpha.c (alpha_encode_section_info): Use 'I' for TLS_MODEL_INITIAL_EXEC.
Richard Henderson [Sun, 11 Jan 2004 23:53:17 +0000 (15:53 -0800)] 
alpha.c (alpha_encode_section_info): Use 'I' for TLS_MODEL_INITIAL_EXEC.

        * config/alpha/alpha.c (alpha_encode_section_info): Use 'I'
        for TLS_MODEL_INITIAL_EXEC.
        (tls_symbolic_operand_1): Update to match.
        (tls_symbolic_operand_type): Likewise.

From-SVN: r75695

21 years agore PR middle-end/13392 (ICE in convert_from_eh_region_ranges_1, at except.c:1133)
Jakub Jelinek [Sun, 11 Jan 2004 19:13:12 +0000 (20:13 +0100)] 
re PR middle-end/13392 (ICE in convert_from_eh_region_ranges_1, at except.c:1133)

PR middle-end/13392
* builtins.c (expand_builtin_expect_jump): Handle conditional jumps
to drop through label.  Don't fall back to SCC even when conditional
jump has not been found.

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

From-SVN: r75687

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 11 Jan 2004 19:13:12 +0000 (19:13 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r75686

21 years agore PR c++/13544 ("conflicting types" for enums in different scopes)
Gabriel Dos Reis [Sun, 11 Jan 2004 00:56:01 +0000 (00:56 +0000)] 
re PR c++/13544 ("conflicting types" for enums in different scopes)

        PR c++/13544
        * decl.c (build_enumerator): Set DECL_CONTEXT after the
        enumerator
        has been pushed.
        (pushdecl): Don't use DECL_NAMESPACE_SCOPE_P to test whether a
        decl has a namespace-scope; that isn't really what it means.

From-SVN: r75666

21 years agoDaily bump.
GCC Administrator [Sun, 11 Jan 2004 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75658

21 years ago* MAINTAINERS: Add myself as a MIPS maintainer.
Richard Sandiford [Sat, 10 Jan 2004 18:50:14 +0000 (18:50 +0000)] 
* MAINTAINERS: Add myself as a MIPS maintainer.

From-SVN: r75646

21 years agore PR target/12561 (gcc/config/t-gnu needs updating to work with --with-sysroot)
Jeff Bailey [Sat, 10 Jan 2004 06:42:00 +0000 (06:42 +0000)] 
re PR target/12561 (gcc/config/t-gnu needs updating to work with --with-sysroot)

2004-01-09  Jeff Bailey  <jbailey@nisa.net>

        PR target/12561
        * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.

From-SVN: r75633

21 years ago* recog.c (constrain_operands): Validate mem operands.
Richard Henderson [Sat, 10 Jan 2004 03:17:30 +0000 (19:17 -0800)] 
* recog.c (constrain_operands): Validate mem operands.

From-SVN: r75625

21 years agoDaily bump.
GCC Administrator [Sat, 10 Jan 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75613

21 years agobackport: [multiple changes]
Nathanael Nerode [Sat, 10 Jan 2004 00:02:25 +0000 (00:02 +0000)] 
backport: [multiple changes]

2004-01-02  Nathanael Nerode  <neroden@gcc.gnu.org>

PR target/13069
Backport the following from mainline:

2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
        * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
        CPP_PREDEFINES.
        * config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
        CPP_PREDEFINES.

2003-09-27  Kelley Cook  <kcook@gcc.gnu.org>
* config/sh/rtemself.h, config/sh/rtems.h: GNU CC -> GCC.

From-SVN: r75612

21 years agoDaily bump.
GCC Administrator [Fri, 9 Jan 2004 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75561

21 years agoDaily bump.
GCC Administrator [Thu, 8 Jan 2004 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75524

21 years agoconfigure.in: Add io bits to linux cross config.
Benjamin Kosnik [Wed, 7 Jan 2004 23:06:18 +0000 (23:06 +0000)] 
configure.in: Add io bits to linux cross config.

2004-01-07  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Add io bits to linux cross config.
* configure: Regenerate.

From-SVN: r75522

21 years agore PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong)
Paolo Carlini [Wed, 7 Jan 2004 11:57:35 +0000 (11:57 +0000)] 
re PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong)

2004-01-07  Paolo Carlini  <pcarlini@suse.de>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/13007
* include/bits/fstream.tcc (imbue): Don't touch the stored
locale.
* include/std/std_streambuf.h (imbue): According to the
standard, base class version does nothing.
(pubimbue): Store the locale.

Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r75502

21 years agoDaily bump.
GCC Administrator [Wed, 7 Jan 2004 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75492

21 years agoDaily bump.
GCC Administrator [Tue, 6 Jan 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75452

21 years agoDaily bump.
GCC Administrator [Mon, 5 Jan 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75400

21 years agoMAINTAINERS: Move myself from 'Write After Approval' to 'CPU Port Maintainers' sectio...
Eric Botcazou [Sun, 4 Jan 2004 14:08:01 +0000 (15:08 +0100)] 
MAINTAINERS: Move myself from 'Write After Approval' to 'CPU Port Maintainers' section as...

* MAINTAINERS: Move myself from 'Write After Approval' to
'CPU Port Maintainers' section as SPARC maintainer.

From-SVN: r75388

21 years agoDaily bump.
GCC Administrator [Sun, 4 Jan 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75377

21 years agotree.h (integer_nonzerop): Use PARAMS macro with prototype.
Roger Sayle [Sat, 3 Jan 2004 05:14:24 +0000 (05:14 +0000)] 
tree.h (integer_nonzerop): Use PARAMS macro with prototype.

* tree.h (integer_nonzerop): Use PARAMS macro with prototype.
* tree.c (integer_nonzerop): Use K&R style function declaration.

From-SVN: r75355

21 years agoDaily bump.
GCC Administrator [Sat, 3 Jan 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75343

21 years ago* configure.in (ia64*-*-hpux*): Disable building java libraries.
Roger Sayle [Fri, 2 Jan 2004 14:09:48 +0000 (14:09 +0000)] 
* configure.in (ia64*-*-hpux*): Disable building java libraries.

From-SVN: r75323

21 years agoc-tree.texi: Fix @item vs.
Andreas Schwab [Fri, 2 Jan 2004 12:21:51 +0000 (12:21 +0000)] 
c-tree.texi: Fix @item vs.

* doc/c-tree.texi: Fix @item vs. @itemx.
* doc/cpp.texi: Likewise.
* doc/install.texi: Likewise.
* doc/invoke.texi: Likewise.

From-SVN: r75322

21 years agobackport: re PR c++/13081 (forward template declarations in <complex> let inlining...
Matthias Klose [Fri, 2 Jan 2004 11:15:03 +0000 (11:15 +0000)] 
backport: re PR c++/13081 (forward template declarations in <complex> let inlining fail)

2004-01-02  Matthias Klose  <doko@debian.org>

        Backport from mainline:
        2003-12-28  Mark Mitchell  <mark@codesourcery.com>

        PR c++/13081
        * decl.c (duplicate_decls): Preserve inline-ness when redeclaring
        a function template.

PR c++/13081
* g++.dg/opt/inline6.C: New test.

From-SVN: r75320

21 years agoinstall.texi (Specific): Mention x86_64.
Andreas Jaeger [Fri, 2 Jan 2004 09:44:02 +0000 (10:44 +0100)] 
install.texi (Specific): Mention x86_64.

2004-01-02  Andreas Jaeger  <aj@suse.de>, Gerald Pfeifer  <gp@suse.de>

* doc/install.texi (Specific): Mention x86_64.

From-SVN: r75318

21 years agoDaily bump.
GCC Administrator [Fri, 2 Jan 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75312

21 years agore PR rtl-optimization/13521 ([3.3 only] Endless loop in calculate_global_regs_live)
Jakub Jelinek [Thu, 1 Jan 2004 13:19:41 +0000 (14:19 +0100)] 
re PR rtl-optimization/13521 ([3.3 only] Endless loop in calculate_global_regs_live)

PR optimization/13521
Backport from mainline:
2003-03-22  Richard Henderson <rth@redhat.com>

* cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
after reload.

* gcc.c-torture/compile/20031231-1.c: New test.

From-SVN: r75300

21 years agore PR fortran/12632 ([g77 only] -fbounds-check ICE)
Roger Sayle [Thu, 1 Jan 2004 04:44:59 +0000 (04:44 +0000)] 
re PR fortran/12632 ([g77 only] -fbounds-check ICE)

PR fortran/12632
* tree.c (integer_nonzerop): New predicate for nonzero integers.
* tree.h (integer_nonzerop): Add function prototype.
* fold-const.c (fold) <COND_EXPR>: Don't fold a constant condition,
if we'd replace a COND_EXPR of non-void type by one of its operands
of void type.

* com.c (ffecom_subscript_check_): Take as an extra argument the
(possibly NULL) decl of the array.  Don't create unnecessary tree
nodes if the array index is known to be safe at compile-time.
If the array index is unsafe, force the array decl into memory to
avoid RTL expansion problems.
(ffecom_array_ref_): Update calls to ffecom_subscript_check_.
(ffecom_char_args_x_): Likewise.

* g77.dg/12632.f: New test case.

From-SVN: r75295

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 1 Jan 2004 04:44:59 +0000 (04:44 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r75294

21 years agobackport: re PR c++/13507 (spurious printf format warning)
Andrew Pinski [Thu, 1 Jan 2004 03:32:12 +0000 (03:32 +0000)] 
backport: re PR c++/13507 (spurious printf format warning)

2003-12-20  Andrew Pinski  <pinskia@physics.uc.edu>

Backport from mainline:
2003-12-30  Nathan Sidwell  <nathan@codesourcery.com>

PR c++/13507
* decl.c (duplicate_decls): Use build_type_attribute_variant to
merge attributes.

From-SVN: r75293

21 years agobackport: re PR target/13373 (optimization with -frerun-cse-after-loop -fexpensive...
Kazu Hirata [Thu, 1 Jan 2004 00:24:24 +0000 (00:24 +0000)] 
backport: re PR target/13373 (optimization with -frerun-cse-after-loop -fexpensive-optimizations produces wrong code on mcore)

Backport from mainline:

2003-09-12  Richard Sandiford  <rsandifo@redhat.com>

PR target/13373
* config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare.
(mcore_secondary_reload_class): Declare.
(mcore_output_inline_const_forced): Remove.
* config/mcore/mcore.md (movsi): Remove the code that forced
non-inlineable constants into a register if the target was r15
or the stack pointer.  Remove constant restrictions from the main
define_insn.  Remove r <- I, r <- M and r <- N alternatives in favor
of an r <- P alternative.  Remove fallback define_insn for reload.
(movhi, movqi): Use gen_lowpart rather than gen_SUBREG.  Remove reload
define_insn.  Use mcore_output_move in the remaining define_insn.
Adjust condition and constraints in the way as for movsi.
(movdi): Always split unacceptable constants into two.  Use
simplify_gen_subreg instead of operand_subword{,_force}.
* config/mcore/mcore.c (mcore_output_inline_const_forced): Remove.
(mcore_output_move): Support HImode and QImode moves as well.
(mcore_m15_operand_p): New function.
(mcore_reload_class): Use it to detect cases where LRW_REGS are better.
(mcore_secondary_reload_class): New function.
* config/mcore/mcore.h (SECONDARY_RELOAD_CLASS): Redefine in
terms of mcore_secondary_reload_class.

From-SVN: r75288

21 years agoDaily bump.
GCC Administrator [Thu, 1 Jan 2004 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75285

21 years agoia64.c (ia64_va_arg): Pass pointer for variable-sized type through convert_memory_add...
Zack Weinberg [Wed, 31 Dec 2003 23:45:39 +0000 (23:45 +0000)] 
ia64.c (ia64_va_arg): Pass pointer for variable-sized type through convert_memory_address.

* config/ia64/ia64.c (ia64_va_arg): Pass pointer for
variable-sized type through convert_memory_address.
(ia64_in_small_data_p): Always return false for FUNCTION_DECLs.

From-SVN: r75284

21 years agoDaily bump.
GCC Administrator [Wed, 31 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75249

21 years agoFix date
Nathan Sidwell [Tue, 30 Dec 2003 09:50:01 +0000 (09:50 +0000)] 
Fix date

From-SVN: r75224

21 years agore PR c++/13445 (Template argument replacement "dereferences" a typedef)
Nathan Sidwell [Tue, 30 Dec 2003 09:47:32 +0000 (09:47 +0000)] 
re PR c++/13445 (Template argument replacement "dereferences" a typedef)

cp:
PR c++/13445
* pt.c (instantiate_class_template): Push to class's scope before
tsubsting base.
testsuite:
PR c++/13445
* g++.dg/template/scope2.C: New test.

From-SVN: r75223

21 years agoDaily bump.
GCC Administrator [Tue, 30 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75214

21 years agore PR c++/13070 (-Wformat option ignored in g++)
Roger Sayle [Mon, 29 Dec 2003 05:32:32 +0000 (05:32 +0000)] 
re PR c++/13070 (-Wformat option ignored in g++)

PR c++/13070
* decl.c (duplicate_decls): When setting the type of an anticipated
declaration, merge the existing type attributes.

* g++.dg/warn/format3.C: New test case.

From-SVN: r75194

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 29 Dec 2003 05:32:32 +0000 (05:32 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r75193

21 years agoDaily bump.
GCC Administrator [Mon, 29 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75186

21 years agoDaily bump.
GCC Administrator [Sun, 28 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75176

21 years agobackport: re PR c++/2294 (using declaration confusion)
Giovanni Bajo [Sat, 27 Dec 2003 00:30:14 +0000 (00:30 +0000)] 
backport: re PR c++/2294 (using declaration confusion)

Backport from mainline:
2003-11-14  Giovanni Bajo  <giovannibajo@gcc.gnu.org>

PR c++/2294
* g++.dg/lookup/using9.C: New test.

From-SVN: r75049

21 years agoDaily bump.
GCC Administrator [Sat, 27 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75046

21 years agobackport: re PR c++/2294 (using declaration confusion)
Giovanni Bajo [Sat, 27 Dec 2003 00:05:55 +0000 (00:05 +0000)] 
backport: re PR c++/2294 (using declaration confusion)

        Backport from mainline.

        2003-12-16  Giovanni Bajo  <giovannibajo@gcc.gnu.org>

        PR c++/2294
        * decl.c (push_overloaded_decl): always construct an OVERLOAD
        if the declaration comes from an using declaration.

From-SVN: r75045

21 years agobackport: re PR c++/12696 (memory eating infinite loop in diagnostics)
Gabriel Dos Reis [Fri, 26 Dec 2003 04:06:45 +0000 (04:06 +0000)] 
backport: re PR c++/12696 (memory eating infinite loop in diagnostics)

Backport from mainline:
2003-12-16  Mark Mitchell  <mark@codesourcery.com>

        PR c++/12696
        * decl.c (reshape_init): Recover quickly from errors.

From-SVN: r75032

21 years agobackport: re PR c++/12862 (Conflicts Between typedefs/enums and Namespace Member...
Gabriel Dos Reis [Fri, 26 Dec 2003 03:20:20 +0000 (03:20 +0000)] 
backport: re PR c++/12862 (Conflicts Between typedefs/enums and Namespace Member Declarations)

Backport from mainline:
2003-12-22  Mark Mitchell  <mark@codesourcery.com>

PR C++/12862
* decl.c (pushdecl): Look up all namespace-scope entities in
their
corresponding namespace.

From-SVN: r75031

21 years agoDaily bump.
GCC Administrator [Fri, 26 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75027

21 years agoDaily bump.
GCC Administrator [Thu, 25 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r75013

21 years agobackport: [multiple changes]
Andrew Pinski [Wed, 24 Dec 2003 22:42:28 +0000 (22:42 +0000)] 
backport: [multiple changes]

2003-12-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR bootstrap/13068
        Backport from mainline:
                2003-05-09  Matt Kraai <kraai@alumni.cmu.edu>

                * mklibgcc.in: Remove extra quotes.
                2003-05-08  Aldy Hernandez  <aldyh@redhat.com>

                * mklibgcc.in: Use mkinstalldirs when installing multilib
                directories.

From-SVN: r75012

21 years agobackport: explow.c (convert_memory_address): Define even when POINTERS_EXTEND_UNSIGNE...
Roger Sayle [Wed, 24 Dec 2003 16:04:46 +0000 (16:04 +0000)] 
backport: explow.c (convert_memory_address): Define even when POINTERS_EXTEND_UNSIGNED is not defined.

Backport from mainline:

2003-09-18  Mark Mitchell  <mark@codesourcery.com>
* explow.c (convert_memory_address): Define even when
POINTERS_EXTEND_UNSIGNED is not defined.  Do nothing if the address
        is already in the right mode.

From-SVN: r75008

21 years agoDaily bump.
GCC Administrator [Wed, 24 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74997

21 years agore PR middle-end/13475 (ICE on SIMD variables with partial value initialization)
Andrew Pinski [Tue, 23 Dec 2003 18:40:43 +0000 (18:40 +0000)] 
re PR middle-end/13475 (ICE on SIMD variables with partial value initialization)

2003-12-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/13475
        Backport from mainline:
                2003-06-19  Aldy Hernandez  <aldyh@redhat.com>

                * expr.c (const_vector_from_tree): Initialize remaining elements
                to 0.

From-SVN: r74977

21 years agore PR target/11576 (internal error at emit-rtl.c:2017)
Kazu Hirata [Tue, 23 Dec 2003 15:10:25 +0000 (15:10 +0000)] 
re PR target/11576 (internal error at emit-rtl.c:2017)

PR target/11576
* config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
HIGH on all variants.

From-SVN: r74972

21 years agolinux.h (LIB_SPEC): Use -lpthread when -pthread was specified.
Matthias Klose [Tue, 23 Dec 2003 08:58:00 +0000 (08:58 +0000)] 
linux.h (LIB_SPEC): Use -lpthread when -pthread was specified.

2003-12-23  Matthias Klose  <doko@debian.org>

* config/mips/linux.h (LIB_SPEC): Use -lpthread when
-pthread was specified.

From-SVN: r74967

21 years agore PR rtl-optimization/13394 (noreturn attribute ignored on recursive invokation)
Eric Botcazou [Tue, 23 Dec 2003 06:28:37 +0000 (07:28 +0100)] 
re PR rtl-optimization/13394 (noreturn attribute ignored on recursive invokation)

PR optimization/13394
* toplev.c (rest_of_compilation): Move call to
check_function_return_warnings right after the sibcall
optimization pass.

From-SVN: r74964

21 years agore PR c/13382 (Type information for const pointer disappears during optimisation.)
Eric Botcazou [Tue, 23 Dec 2003 06:23:37 +0000 (07:23 +0100)] 
re PR c/13382 (Type information for const pointer disappears during optimisation.)

PR c/13382
* c-typeck.c (convert_for_assignment): When converting from
integral type to pointer type, always call convert.

From-SVN: r74963

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 23 Dec 2003 06:23:37 +0000 (06:23 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74962

21 years agoDaily bump.
GCC Administrator [Tue, 23 Dec 2003 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74956

21 years agore PR c++/5050 (template instantiation depth exceeds/maybe recursion problem)
Andrew Pinski [Mon, 22 Dec 2003 21:00:55 +0000 (21:00 +0000)] 
re PR c++/5050 (template instantiation depth exceeds/maybe recursion problem)

2003-12-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/5050
        * tree.c (cp_start_inlining): Remove.
        (cp_end_inlining): Remove.
        * cp-lang.c (LANG_HOOKS_TREE_INLINING_START_INLINING): Do not define.
        (LANG_HOOKS_TREE_INLINING_END_INLINING): Do not define.
        * cp-tree.h (cp_start_inlining): Do not declare.
        (cp_end_inlining): Do not declare.

PR c++/5050
        * g++.dg/template/recurse1.C: New test.

From-SVN: r74950

21 years agore PR c++/11554 (Warning about reordering of initializers doesn't mention location...
Mark Mitchell [Mon, 22 Dec 2003 06:14:43 +0000 (06:14 +0000)] 
re PR c++/11554 (Warning about reordering of initializers doesn't mention location of constructor)

PR c++/11554
* init.c (sort_mem_initializers): Add warning.

PR c++/11554
* testsuite/g++.dg/warn/ctor-init-1.C: New test.

From-SVN: r74928

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 22 Dec 2003 06:14:43 +0000 (06:14 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74927

21 years agore PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)
Gabriel Dos Reis [Mon, 22 Dec 2003 03:39:10 +0000 (03:39 +0000)] 
re PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)

        PR target/11271
        * reload.c: Revert last backport from mainline.  It breaks
        s390.

From-SVN: r74924

21 years agoDaily bump.
GCC Administrator [Mon, 22 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74920

21 years agohpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode.
Roger Sayle [Sun, 21 Dec 2003 23:35:42 +0000 (23:35 +0000)] 
hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32 when compiling in ILP32 mode.

* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
when compiling in ILP32 mode.

From-SVN: r74919

21 years agobackport: re PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)
Gabriel Dos Reis [Sun, 21 Dec 2003 20:20:05 +0000 (20:20 +0000)] 
backport: re PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)

2003-12-21  Gabriel Dos Reis <gdr@integrable-solutions.net>

    Backport from mainline:
    2003-10-31  Richard Earnshaw  <rearnsha@arm.com>

            PR target/11271
            * reload.c (find_reloads_address): Handle any register in
            (PLUS (PLUS (REG) (REG)) (CONST_INT).

From-SVN: r74915

21 years agore PR rtl-optimization/13400 (Compiled code crashes storing to read-only location)
Roger Sayle [Sun, 21 Dec 2003 16:08:06 +0000 (16:08 +0000)] 
re PR rtl-optimization/13400 (Compiled code crashes storing to read-only location)

PR middle-end/13400
* ifcvt.c (noce_process_if_block): Disable unconditional write
optimizations if we could introduce a store to trapping memory
that wasn't present previously.

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

From-SVN: r74910

21 years ago* configure.host: Backport/synchronize from mainline.
Roger Sayle [Sun, 21 Dec 2003 16:01:27 +0000 (16:01 +0000)] 
* configure.host: Backport/synchronize from mainline.

From-SVN: r74909

21 years agoDaily bump.
GCC Administrator [Sun, 21 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74897

21 years agore PR rtl-optimization/13031 (ICE (unrecognizable insn) when building gnome-libs...
Roger Sayle [Sat, 20 Dec 2003 19:59:56 +0000 (19:59 +0000)] 
re PR rtl-optimization/13031 (ICE (unrecognizable insn) when building gnome-libs-1.4.2)

PR optimization/13031
* gcse.c (cprop_jump): Backport code clean-up and bug-fix
from mainline [2003-05-20 Sayle, Hirata and Rennecke patch].
(cprop_insn): Don't attemp further substitutions if the
current instruction has been deleted.
(local_cprop_pass): Likewise.

* gcc.c-torture/compile/20031220-1.c: New test case.

From-SVN: r74891

21 years agoDaily bump.
GCC Administrator [Sat, 20 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74862

21 years agore PR c++/13371 (infinite loop with packed struct and inlining)
Jason Merrill [Fri, 19 Dec 2003 20:23:39 +0000 (15:23 -0500)] 
re PR c++/13371 (infinite loop with packed struct and inlining)

        PR c++/13371
        * typeck.c (build_modify_expr): Stabilize lhs if we're narrowing.

From-SVN: r74845

21 years agore PR c++/13239 (Assertion does not seem to work correctly anymore)
Jakub Jelinek [Fri, 19 Dec 2003 13:54:37 +0000 (14:54 +0100)] 
re PR c++/13239 (Assertion does not seem to work correctly anymore)

PR c++/13239
* builtins.c (expand_builtin_expect_jump): Update
TREE_VALUE (arglist) if unsave_expr_now langhook
created a new tree.

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

From-SVN: r74834

21 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 19 Dec 2003 13:54:37 +0000 (13:54 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_3-branch'.

From-SVN: r74833

21 years agoDaily bump.
GCC Administrator [Fri, 19 Dec 2003 00:16:03 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r74810

21 years agore PR c++/12253 ([tree-ssa] ICE on conversion to std::string inside array initialization)
Jason Merrill [Thu, 18 Dec 2003 21:29:21 +0000 (16:29 -0500)] 
re PR c++/12253 ([tree-ssa] ICE on conversion to std::string inside array initialization)

        PR c++/12253
        * init.c (build_vec_init): Initialization of an element from
        an initializer list is also a full-expression.

From-SVN: r74804