public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/22240] New: ICE with transparent unions, function pointers and -pedantic
@ 2005-06-30  0:15 jsm28 at gcc dot gnu dot org
  2005-06-30  2:14 ` [Bug c/22240] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-06-30  0:15 UTC (permalink / raw)
  To: gcc-bugs

typedef union { union w *u; int *i; } H __attribute__ ((transparent_union));
void (*h) (H);
void g (int *s) { h (s); }

yields an ICE when compiled with -pedantic.  Not a regression.  See discussion
at <http://gcc.gnu.org/ml/gcc/2005-06/msg00914.html> and thread;
DECL_IN_SYSTEM_HEADER is being checked on a NULL fundecl.

-- 
           Summary: ICE with transparent unions, function pointers and -
                    pedantic
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-07-29  5:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-30  0:15 [Bug c/22240] New: ICE with transparent unions, function pointers and -pedantic jsm28 at gcc dot gnu dot org
2005-06-30  2:14 ` [Bug c/22240] " pinskia at gcc dot gnu dot org
2005-07-29  2:50 ` cvs-commit at gcc dot gnu dot org
2005-07-29  5:39 ` 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).