--- Additional Comments From nathan at gcc dot gnu dot org 2005-01-05
10:03 ---
2005-01-05 Nathan Sidwell <[EMAIL PROTECTED]>
PR c++/19030
* cp-tree.h (start_decl): Take pointer to pushed scope, not bool.
* name-lookup.h (push_scope): Return pushed scope, not f
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-05
10:03 ---
Subject: Bug 19030
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-01-05 10:02:36
Modified files:
gcc/cp : ChangeLog cp-tree.h decl.c decl2.c
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-17
23:25 ---
: Search converges between 2004-11-25-014001-trunk (#656) and
2004-11-25-161001-trunk
(#657).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19030
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-17
19:44 ---
Indeed, this can be demonstrated with the following testcase:
===
struct A;
namespace N
{
struct A;
}
using namespace N;
int A::i;
int A::i;
namespace N
{
struct C;
--- Additional Comments From nathan at codesourcery dot com 2004-12-17
19:38 ---
Subject: Re: [4.0 Regression] ice on tree check
reichelt at gcc dot gnu dot org wrote:
> --- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-17
> 19:02 ---
> Please ignore my pre
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-17
19:02 ---
Please ignore my previous comment.
The fix is not that easy. :-(
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19030
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-17
17:12 ---
Hi Nathan, the following patch fixes the ICE for me:
Index: gcc/gcc/cp/name-lookup.c
===
RCS file: /home/reichelt/GCC/CVS/gcc-cvs/gcc/gcc/cp/
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot
|dot org |org
Status|NEW
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-17
15:35 ---
Oooops. That was the error message. ;-)
Here's the testcase:
===
struct A;
namespace N
{
struct A;
}
using namespace N;
int A
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-17
15:34 ---
Here's a reduced testcase:
===
PR19030.cc:10: error: 'A' has not been declared
PR19030.cc:11: error: 'A' has not been declared
PR1903
--- Additional Comments From bangerth at dealii dot org 2004-12-16 17:01
---
Created an attachment (id=7762)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7762&action=view)
Slightly smaller testcase
Attached is a slightly smaller testcase (down to 183,000 lines or so).
The bug may
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-16
16:45 ---
This is at least a 4.0 regression, as (with --disable-checking) on the mainline
we ICE but don't with
3.3.2.
--
What|Removed |Added
12 matches
Mail list logo