public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28559]  New: [4.2 regression] ICE with friend and __attribute__
@ 2006-07-31 21:46 reichelt at gcc dot gnu dot org
  2006-07-31 21:46 ` [Bug c++/28559] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-31 21:46 UTC (permalink / raw)
  To: gcc-bugs

The following (probably valid) code snippet triggers an ICE on mainline:

======================================================================
template<typename T> struct A
{
  struct B;
};

struct C
{
  template<typename T> friend struct __attribute__((packed)) A<T>::B;
};
======================================================================

bug.cc:8: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2 regression] ICE with friend and __attribute__
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug c++/28559] [4.2 regression] ICE with friend and __attribute__
  2006-07-31 21:46 [Bug c++/28559] New: [4.2 regression] ICE with friend and __attribute__ reichelt at gcc dot gnu dot org
@ 2006-07-31 21:46 ` pinskia at gcc dot gnu dot org
  2006-07-31 23:44 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-31 21:46 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0


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


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

* [Bug c++/28559] [4.2 regression] ICE with friend and __attribute__
  2006-07-31 21:46 [Bug c++/28559] New: [4.2 regression] ICE with friend and __attribute__ reichelt at gcc dot gnu dot org
  2006-07-31 21:46 ` [Bug c++/28559] " pinskia at gcc dot gnu dot org
@ 2006-07-31 23:44 ` mmitchel at gcc dot gnu dot org
  2006-08-09  0:36 ` janis at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-07-31 23:44 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=28559


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

* [Bug c++/28559] [4.2 regression] ICE with friend and __attribute__
  2006-07-31 21:46 [Bug c++/28559] New: [4.2 regression] ICE with friend and __attribute__ reichelt at gcc dot gnu dot org
  2006-07-31 21:46 ` [Bug c++/28559] " pinskia at gcc dot gnu dot org
  2006-07-31 23:44 ` mmitchel at gcc dot gnu dot org
@ 2006-08-09  0:36 ` janis at gcc dot gnu dot org
  2006-08-10 19:03 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-08-09  0:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from janis at gcc dot gnu dot org  2006-08-09 00:36 -------
A regression hunt on powerpc-linux identified this large patch:

    http://gcc.gnu.org/viewcvs?view=rev&rev=115086

    r115086 | jason | 2006-06-30 01:15:56 +0000 (Fri, 30 Jun 2006)


-- 

janis at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu dot org


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


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

* [Bug c++/28559] [4.2 regression] ICE with friend and __attribute__
  2006-07-31 21:46 [Bug c++/28559] New: [4.2 regression] ICE with friend and __attribute__ reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-08-09  0:36 ` janis at gcc dot gnu dot org
@ 2006-08-10 19:03 ` jason at gcc dot gnu dot org
  2006-08-14 21:25 ` jason at gcc dot gnu dot org
  2006-08-15  5:55 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-08-10 19:03 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-08-10 19:03:06
               date|                            |


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


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

* [Bug c++/28559] [4.2 regression] ICE with friend and __attribute__
  2006-07-31 21:46 [Bug c++/28559] New: [4.2 regression] ICE with friend and __attribute__ reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-08-10 19:03 ` jason at gcc dot gnu dot org
@ 2006-08-14 21:25 ` jason at gcc dot gnu dot org
  2006-08-15  5:55 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-08-14 21:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jason at gcc dot gnu dot org  2006-08-14 21:25 -------
Subject: Bug 28559

Author: jason
Date: Mon Aug 14 21:25:03 2006
New Revision: 116137

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116137
Log:
        PR c++/28559
        * parser.c (cp_parser_elaborated_type_specifier): Also ignore
        attributes applied to a TYPENAME_TYPE.

Added:
    trunk/gcc/testsuite/g++.dg/ext/attrib25.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c


-- 


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


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

* [Bug c++/28559] [4.2 regression] ICE with friend and __attribute__
  2006-07-31 21:46 [Bug c++/28559] New: [4.2 regression] ICE with friend and __attribute__ reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-08-14 21:25 ` jason at gcc dot gnu dot org
@ 2006-08-15  5:55 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-15  5:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-08-15 05:55 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-08-15  5:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-31 21:46 [Bug c++/28559] New: [4.2 regression] ICE with friend and __attribute__ reichelt at gcc dot gnu dot org
2006-07-31 21:46 ` [Bug c++/28559] " pinskia at gcc dot gnu dot org
2006-07-31 23:44 ` mmitchel at gcc dot gnu dot org
2006-08-09  0:36 ` janis at gcc dot gnu dot org
2006-08-10 19:03 ` jason at gcc dot gnu dot org
2006-08-14 21:25 ` jason at gcc dot gnu dot org
2006-08-15  5:55 ` 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).