public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/48060] New: internal compiler error: in dfs_enumerate_from, at cfganal.c:1209
@ 2011-03-10 14:04 y@momonga-linux.org
  2011-03-10 15:24 ` [Bug c/48060] " jakub at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: y@momonga-linux.org @ 2011-03-10 14:04 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: internal compiler error: in dfs_enumerate_from, at
                    cfganal.c:1209
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: y@momonga-linux.org


gcc 4.6.0 20110305 ICEs with "-O3" when using the following code;




typedef struct  {
  unsigned long status;
} Table;

extern Table* table;
extern void func2(Table *p);

int func(int a)
{
  while (a) {
    unsigned long b;
    Table *p;

    p = &table[b];

    if (!p || (p->status & (b))) {
      p = 0;
    }
    if (p && p->status) {
      func2(p);
    }
  }
  return 1;
}


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

* [Bug c/48060] internal compiler error: in dfs_enumerate_from, at cfganal.c:1209
  2011-03-10 14:04 [Bug c/48060] New: internal compiler error: in dfs_enumerate_from, at cfganal.c:1209 y@momonga-linux.org
@ 2011-03-10 15:24 ` jakub at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-03-10 15:24 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |DUPLICATE

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-10 15:24:33 UTC ---
Already fixed.

*** This bug has been marked as a duplicate of bug 48000 ***


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

end of thread, other threads:[~2011-03-10 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-10 14:04 [Bug c/48060] New: internal compiler error: in dfs_enumerate_from, at cfganal.c:1209 y@momonga-linux.org
2011-03-10 15:24 ` [Bug c/48060] " jakub at gcc dot gnu.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).