public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27601]  New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
@ 2006-05-14 11:45 patrik dot hagglund at bredband dot net
  2006-05-15 16:38 ` [Bug c++/27601] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: patrik dot hagglund at bredband dot net @ 2006-05-14 11:45 UTC (permalink / raw)
  To: gcc-bugs

The C++ file:

struct bar {
  static int foo;
};

int a = __builtin_offsetof(bar, foo);

The error:

> g++ -c foo.cc            
foo.cc:5: internal compiler error: in fold_offsetof_1, at c-common.c:5998

GCC snapshot version:
g++ (GCC) 4.1.1 20060512 (prerelease)


-- 
           Summary: ICE (in fold_offsetof_1, at c-common.c:5998) on strange
                    offsetof
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: patrik dot hagglund at bredband dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
@ 2006-05-15 16:38 ` pinskia at gcc dot gnu dot org
  2006-05-15 20:52 ` [Bug c++/27601] [4.0/4.1/4.2 " rguenth at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-15 16:38 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE (in fold_offsetof_1, at |[4.1/4.2 Regression] ICE (in
                   |c-common.c:5998) on strange |fold_offsetof_1, at c-
                   |offsetof                    |common.c:5998) on strange
                   |                            |offsetof
   Target Milestone|---                         |4.1.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
  2006-05-15 16:38 ` [Bug c++/27601] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-05-15 20:52 ` rguenth at gcc dot gnu dot org
  2006-06-02 23:25 ` reichelt at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-05-15 20:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-05-15 20:52 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|4.2.0                       |4.2.0 4.1.0 4.0.3
      Known to work|                            |3.4.6
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-15 20:52:42
               date|                            |
            Summary|[4.1/4.2 Regression] ICE (in|[4.0/4.1/4.2 Regression] ICE
                   |fold_offsetof_1, at c-      |(in fold_offsetof_1, at c-
                   |common.c:5998) on strange   |common.c:5998) on strange
                   |offsetof                    |offsetof
   Target Milestone|4.1.1                       |4.0.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
  2006-05-15 16:38 ` [Bug c++/27601] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
  2006-05-15 20:52 ` [Bug c++/27601] [4.0/4.1/4.2 " rguenth at gcc dot gnu dot org
@ 2006-06-02 23:25 ` reichelt at gcc dot gnu dot org
  2006-06-03 19:30 ` patchapp at dberlin dot org
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-02 23:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from reichelt at gcc dot gnu dot org  2006-06-02 23:24 -------
Testing a patch.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |reichelt at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (2 preceding siblings ...)
  2006-06-02 23:25 ` reichelt at gcc dot gnu dot org
@ 2006-06-03 19:30 ` patchapp at dberlin dot org
  2006-06-04 19:09 ` mmitchel at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: patchapp at dberlin dot org @ 2006-06-03 19:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from patchapp at dberlin dot org  2006-06-03 19:30 -------
Subject: Bug number PR c++/27601

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00161.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (3 preceding siblings ...)
  2006-06-03 19:30 ` patchapp at dberlin dot org
@ 2006-06-04 19:09 ` mmitchel at gcc dot gnu dot org
  2006-06-04 23:47 ` reichelt at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 19:09 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (4 preceding siblings ...)
  2006-06-04 19:09 ` mmitchel at gcc dot gnu dot org
@ 2006-06-04 23:47 ` reichelt at gcc dot gnu dot org
  2006-06-04 23:52 ` reichelt at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-04 23:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from reichelt at gcc dot gnu dot org  2006-06-04 23:42 -------
Subject: Bug 27601

Author: reichelt
Date: Sun Jun  4 23:42:04 2006
New Revision: 114369

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114369
Log:
        PR c++/27601
        * c-common.c (fold_offsetof_1): Handle static members.

        * g++.dg/ext/offsetof1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/offsetof1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-common.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (5 preceding siblings ...)
  2006-06-04 23:47 ` reichelt at gcc dot gnu dot org
@ 2006-06-04 23:52 ` reichelt at gcc dot gnu dot org
  2006-06-05  0:03 ` reichelt at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-04 23:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from reichelt at gcc dot gnu dot org  2006-06-04 23:47 -------
Subject: Bug 27601

Author: reichelt
Date: Sun Jun  4 23:47:15 2006
New Revision: 114370

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114370
Log:
        PR c++/27601
        * c-common.c (fold_offsetof_1): Handle static members.

        * g++.dg/ext/offsetof1.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/ext/offsetof1.C
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/c-common.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (6 preceding siblings ...)
  2006-06-04 23:52 ` reichelt at gcc dot gnu dot org
@ 2006-06-05  0:03 ` reichelt at gcc dot gnu dot org
  2006-06-05  0:24 ` reichelt at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-05  0:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from reichelt at gcc dot gnu dot org  2006-06-04 23:51 -------
Subject: Bug 27601

Author: reichelt
Date: Sun Jun  4 23:51:52 2006
New Revision: 114371

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114371
Log:
        PR c++/27601
        * c-common.c (fold_offsetof_1): Handle static members.

        * g++.dg/ext/offsetof1.C: New test.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/ext/offsetof1.C
Modified:
    branches/gcc-4_0-branch/gcc/ChangeLog
    branches/gcc-4_0-branch/gcc/c-common.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (7 preceding siblings ...)
  2006-06-05  0:03 ` reichelt at gcc dot gnu dot org
@ 2006-06-05  0:24 ` reichelt at gcc dot gnu dot org
  2006-06-05 13:40 ` patchapp at dberlin dot org
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-05  0:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from reichelt at gcc dot gnu dot org  2006-06-05 00:03 -------
Original testcase on mainline, 4.1 branch, and 4.0 branch.

However, we still ICE on member functions (static or non-static):

========================================
struct bar {
  int foo();
};

int a = __builtin_offsetof(bar, foo);
========================================

bug.cc:5: internal compiler error: tree check: expected field_decl, have
baselink in fold_offsetof_1, at c-common.c:5997
Please submit a full bug report, [etc.]

Will post a patch for this problem, too.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (8 preceding siblings ...)
  2006-06-05  0:24 ` reichelt at gcc dot gnu dot org
@ 2006-06-05 13:40 ` patchapp at dberlin dot org
  2006-06-07  7:59 ` patchapp at dberlin dot org
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: patchapp at dberlin dot org @ 2006-06-05 13:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from patchapp at dberlin dot org  2006-06-05 11:55 -------
Subject: Bug number PR c++/27601

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00206.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (9 preceding siblings ...)
  2006-06-05 13:40 ` patchapp at dberlin dot org
@ 2006-06-07  7:59 ` patchapp at dberlin dot org
  2006-06-07 16:09 ` reichelt at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: patchapp at dberlin dot org @ 2006-06-07  7:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from patchapp at dberlin dot org  2006-06-07 07:46 -------
Subject: Bug number PR c++/27601

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00347.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (10 preceding siblings ...)
  2006-06-07  7:59 ` patchapp at dberlin dot org
@ 2006-06-07 16:09 ` reichelt at gcc dot gnu dot org
  2006-06-07 16:19 ` reichelt at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-07 16:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from reichelt at gcc dot gnu dot org  2006-06-07 16:08 -------
Subject: Bug 27601

Author: reichelt
Date: Wed Jun  7 16:08:30 2006
New Revision: 114469

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114469
Log:
        PR c++/27601
        * cp-tree.h (finish_offsetof): Add prototype.
        * semantics.c (finish_offsetof): New function.
        * parser.c (cp_parser_builtin_offsetof): Call it instead of
        fold_offsetof.
        * pt.c (tsubst_copy_and_build): Likewise.

        * g++.dg/ext/offsetof1.C: Test member functions.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ext/offsetof1.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (11 preceding siblings ...)
  2006-06-07 16:09 ` reichelt at gcc dot gnu dot org
@ 2006-06-07 16:19 ` reichelt at gcc dot gnu dot org
  2006-06-07 16:20 ` reichelt at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-07 16:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from reichelt at gcc dot gnu dot org  2006-06-07 16:15 -------
Subject: Bug 27601

Author: reichelt
Date: Wed Jun  7 16:12:55 2006
New Revision: 114470

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114470
Log:
        PR c++/27601
        * cp-tree.h (finish_offsetof): Add prototype.
        * semantics.c (finish_offsetof): New function.
        * parser.c (cp_parser_builtin_offsetof): Call it instead of
        fold_offsetof.
        * pt.c (tsubst_copy_and_build): Likewise.

        * g++.dg/ext/offsetof1.C: Test member functions.

Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/cp-tree.h
    branches/gcc-4_1-branch/gcc/cp/parser.c
    branches/gcc-4_1-branch/gcc/cp/pt.c
    branches/gcc-4_1-branch/gcc/cp/semantics.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/ext/offsetof1.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (12 preceding siblings ...)
  2006-06-07 16:19 ` reichelt at gcc dot gnu dot org
@ 2006-06-07 16:20 ` reichelt at gcc dot gnu dot org
  2006-06-07 16:29 ` reichelt at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-07 16:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from reichelt at gcc dot gnu dot org  2006-06-07 16:18 -------
Subject: Bug 27601

Author: reichelt
Date: Wed Jun  7 16:18:06 2006
New Revision: 114471

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114471
Log:
        PR c++/27601
        * cp-tree.h (finish_offsetof): Add prototype.
        * semantics.c (finish_offsetof): New function.
        * parser.c (cp_parser_builtin_offsetof): Call it instead of
        fold_offsetof.
        * pt.c (tsubst_copy_and_build): Likewise.

        * g++.dg/ext/offsetof1.C: Test member functions.

Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/cp-tree.h
    branches/gcc-4_0-branch/gcc/cp/parser.c
    branches/gcc-4_0-branch/gcc/cp/pt.c
    branches/gcc-4_0-branch/gcc/cp/semantics.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/ext/offsetof1.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (13 preceding siblings ...)
  2006-06-07 16:20 ` reichelt at gcc dot gnu dot org
@ 2006-06-07 16:29 ` reichelt at gcc dot gnu dot org
  2006-06-12 22:56 ` reichelt at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-07 16:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from reichelt at gcc dot gnu dot org  2006-06-07 16:20 -------
Fixed on mainline, 4.1 branch, and 4.0 branch.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (14 preceding siblings ...)
  2006-06-07 16:29 ` reichelt at gcc dot gnu dot org
@ 2006-06-12 22:56 ` reichelt at gcc dot gnu dot org
  2006-06-12 23:03 ` reichelt at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-12 22:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from reichelt at gcc dot gnu dot org  2006-06-12 22:56 -------
Subject: Bug 27601

Author: reichelt
Date: Mon Jun 12 22:56:07 2006
New Revision: 114588

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114588
Log:
        PR c++/27601
        * semantics.c (finish_offsetof): Handle pseudo-destructors.

        * g++.dg/ext/offsetof1.C: Add test for pseudo-destructors.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/ext/offsetof1.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (15 preceding siblings ...)
  2006-06-12 22:56 ` reichelt at gcc dot gnu dot org
@ 2006-06-12 23:03 ` reichelt at gcc dot gnu dot org
  2006-06-12 23:04 ` reichelt at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-12 23:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from reichelt at gcc dot gnu dot org  2006-06-12 23:00 -------
Subject: Bug 27601

Author: reichelt
Date: Mon Jun 12 23:00:00 2006
New Revision: 114589

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114589
Log:
        PR c++/27601
        * semantics.c (finish_offsetof): Handle pseudo-destructors.

        * g++.dg/ext/offsetof1.C: Add test for pseudo-destructors.

Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/semantics.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/ext/offsetof1.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (16 preceding siblings ...)
  2006-06-12 23:03 ` reichelt at gcc dot gnu dot org
@ 2006-06-12 23:04 ` reichelt at gcc dot gnu dot org
  2006-06-12 23:21 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-12 23:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from reichelt at gcc dot gnu dot org  2006-06-12 23:03 -------
Subject: Bug 27601

Author: reichelt
Date: Mon Jun 12 23:03:36 2006
New Revision: 114590

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114590
Log:
        PR c++/27601
        * semantics.c (finish_offsetof): Handle pseudo-destructors.

        * g++.dg/ext/offsetof1.C: Add test for pseudo-destructors.

Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/semantics.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/ext/offsetof1.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (17 preceding siblings ...)
  2006-06-12 23:04 ` reichelt at gcc dot gnu dot org
@ 2006-06-12 23:21 ` reichelt at gcc dot gnu dot org
  2006-06-13  0:35 ` patchapp at dberlin dot org
  2006-11-06 23:08 ` pinskia at gcc dot gnu dot org
  20 siblings, 0 replies; 22+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-06-12 23:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from reichelt at gcc dot gnu dot org  2006-06-12 23:07 -------
Now the ICE with pseudo-destructors described in
http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00677.html
is also fixed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (18 preceding siblings ...)
  2006-06-12 23:21 ` reichelt at gcc dot gnu dot org
@ 2006-06-13  0:35 ` patchapp at dberlin dot org
  2006-11-06 23:08 ` pinskia at gcc dot gnu dot org
  20 siblings, 0 replies; 22+ messages in thread
From: patchapp at dberlin dot org @ 2006-06-13  0:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from patchapp at dberlin dot org  2006-06-13 00:10 -------
Subject: Bug number PR c++/27601

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00677.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

* [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
  2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
                   ` (19 preceding siblings ...)
  2006-06-13  0:35 ` patchapp at dberlin dot org
@ 2006-11-06 23:08 ` pinskia at gcc dot gnu dot org
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-06 23:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from pinskia at gcc dot gnu dot org  2006-11-06 23:08 -------
*** Bug 29745 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lepinat at free dot fr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2006-11-06 23:08 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-14 11:45 [Bug c++/27601] New: ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof patrik dot hagglund at bredband dot net
2006-05-15 16:38 ` [Bug c++/27601] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-05-15 20:52 ` [Bug c++/27601] [4.0/4.1/4.2 " rguenth at gcc dot gnu dot org
2006-06-02 23:25 ` reichelt at gcc dot gnu dot org
2006-06-03 19:30 ` patchapp at dberlin dot org
2006-06-04 19:09 ` mmitchel at gcc dot gnu dot org
2006-06-04 23:47 ` reichelt at gcc dot gnu dot org
2006-06-04 23:52 ` reichelt at gcc dot gnu dot org
2006-06-05  0:03 ` reichelt at gcc dot gnu dot org
2006-06-05  0:24 ` reichelt at gcc dot gnu dot org
2006-06-05 13:40 ` patchapp at dberlin dot org
2006-06-07  7:59 ` patchapp at dberlin dot org
2006-06-07 16:09 ` reichelt at gcc dot gnu dot org
2006-06-07 16:19 ` reichelt at gcc dot gnu dot org
2006-06-07 16:20 ` reichelt at gcc dot gnu dot org
2006-06-07 16:29 ` reichelt at gcc dot gnu dot org
2006-06-12 22:56 ` reichelt at gcc dot gnu dot org
2006-06-12 23:03 ` reichelt at gcc dot gnu dot org
2006-06-12 23:04 ` reichelt at gcc dot gnu dot org
2006-06-12 23:21 ` reichelt at gcc dot gnu dot org
2006-06-13  0:35 ` patchapp at dberlin dot org
2006-11-06 23:08 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).