public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
       [not found] <bug-19964-1771@http.gcc.gnu.org/bugzilla/>
@ 2005-10-12 10:59 ` cvs-commit at gcc dot gnu dot org
  2005-10-12 13:04 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-12 10:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-12 10:59 -------
Subject: Bug 19964

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     nathan@gcc.gnu.org      2005-10-12 10:59:27

Modified files:
        gcc            : ChangeLog stor-layout.c 
        gcc/cp         : ChangeLog class.c 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/parse: crash31.C 

Log message:
        PR c++/19964
        * stor-layout.c (place_field): Set DECL_FIELD_OFFSET and
        DECL_FIELD_BIT_OFFSET of FIELD_DECLs, even if they have an invalid
        type.
        cp:
        PR c++/19964
        * cp/class.c (walk_subobject_offsets): Don't walk error_mark_node.
        testsuite:
        PR c++/19964
        * g++.dg/parse/crash31.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10143&r2=2.10144
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stor-layout.c.diff?cvsroot=gcc&r1=1.244&r2=1.245
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4921&r2=1.4922
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&r1=1.733&r2=1.734
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6174&r2=1.6175
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash31.C.diff?cvsroot=gcc&r1=NONE&r2=1.1


-- 


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


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

* [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
       [not found] <bug-19964-1771@http.gcc.gnu.org/bugzilla/>
  2005-10-12 10:59 ` [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration cvs-commit at gcc dot gnu dot org
@ 2005-10-12 13:04 ` cvs-commit at gcc dot gnu dot org
  2005-10-12 13:07 ` nathan at gcc dot gnu dot org
  2005-10-12 16:02 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-12 13:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-12 13:04 -------
Subject: Bug 19964

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-4_0-branch
Changes by:     nathan@gcc.gnu.org      2005-10-12 13:04:40

Modified files:
        gcc            : ChangeLog stor-layout.c 
        gcc/cp         : ChangeLog class.c 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/parse: crash31.C 

Log message:
        PR c++/19964
        * stor-layout.c (place_field): Set DECL_FIELD_OFFSET and
        DECL_FIELD_BIT_OFFSET of FIELD_DECLs, even if they have an invalid
        type.
        cp:
        * PR c++/19964
        * class.c (walk_subobject_offsets): Don't walk error_mark_node.
        testsuite:
        PR c++/19964
        * g++.dg/parse/crash31.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.460&r2=2.7592.2.461
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/stor-layout.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.223&r2=1.223.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.125&r2=1.4648.2.126
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.707.2.5&r2=1.707.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.448&r2=1.5084.2.449
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/crash31.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1


-- 


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


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

* [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
       [not found] <bug-19964-1771@http.gcc.gnu.org/bugzilla/>
  2005-10-12 10:59 ` [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration cvs-commit at gcc dot gnu dot org
  2005-10-12 13:04 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-12 13:07 ` nathan at gcc dot gnu dot org
  2005-10-12 16:02 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-10-12 13:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from nathan at gcc dot gnu dot org  2005-10-12 13:07 -------
Fixed mainline and 4.0 branch
2005-10-12  Nathan Sidwell  <nathan@codesourcery.com>

        PR c++/19964
        * stor-layout.c (place_field): Set DECL_FIELD_OFFSET and
        DECL_FIELD_BIT_OFFSET of FIELD_DECLs, even if they have an invalid
        type.
        * cp/class.c (walk_subobject_offsets): Don't walk error_mark_node.


-- 

nathan at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
       [not found] <bug-19964-1771@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-12 13:07 ` nathan at gcc dot gnu dot org
@ 2005-10-12 16:02 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-10-12 16:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from reichelt at gcc dot gnu dot org  2005-10-12 16:02 -------
*** Bug 22257 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
  2005-02-15  9:30 [Bug c++/19964] New: [3.4/4.0 " reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-09-15 11:51 ` nathan at gcc dot gnu dot org
@ 2005-09-27 16:14 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:14 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
  2005-02-15  9:30 [Bug c++/19964] New: [3.4/4.0 " reichelt at gcc dot gnu dot org
  2005-05-19 17:35 ` [Bug c++/19964] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
  2005-07-22 21:18 ` pinskia at gcc dot gnu dot org
@ 2005-09-15 11:51 ` nathan at gcc dot gnu dot org
  2005-09-27 16:14 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-09-15 11:51 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-09-04 18:20:33         |2005-09-15 11:51:31
               date|                            |


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


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

* [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
  2005-02-15  9:30 [Bug c++/19964] New: [3.4/4.0 " reichelt at gcc dot gnu dot org
  2005-05-19 17:35 ` [Bug c++/19964] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2005-07-22 21:18 ` pinskia at gcc dot gnu dot org
  2005-09-15 11:51 ` nathan at gcc dot gnu dot org
  2005-09-27 16:14 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-22 21:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-22 21:13 -------
Moving to 4.0.2 pre Mark.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.5                       |4.0.2


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


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

* [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
  2005-02-15  9:30 [Bug c++/19964] New: [3.4/4.0 " reichelt at gcc dot gnu dot org
@ 2005-05-19 17:35 ` mmitchel at gcc dot gnu dot org
  2005-07-22 21:18 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:35 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.4                       |3.4.5


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


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

end of thread, other threads:[~2005-10-12 16:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19964-1771@http.gcc.gnu.org/bugzilla/>
2005-10-12 10:59 ` [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration cvs-commit at gcc dot gnu dot org
2005-10-12 13:04 ` cvs-commit at gcc dot gnu dot org
2005-10-12 13:07 ` nathan at gcc dot gnu dot org
2005-10-12 16:02 ` reichelt at gcc dot gnu dot org
2005-02-15  9:30 [Bug c++/19964] New: [3.4/4.0 " reichelt at gcc dot gnu dot org
2005-05-19 17:35 ` [Bug c++/19964] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
2005-07-22 21:18 ` pinskia at gcc dot gnu dot org
2005-09-15 11:51 ` nathan at gcc dot gnu dot org
2005-09-27 16:14 ` mmitchel 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).