This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/20635] New: [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node


PR middle-end/20225 introduced a regression on the following testcase at -O2.

void fn1 (void *);
void fn2 (void *);
void foo (void);
void bar (void);

extern inline void *
baz (void)
{
  return 0;
}

void
foo (void)
{
  fn1 (baz ());
  fn2 (baz ());
}

void
bar (void)
{
  fn1 (baz ());
  fn2 (baz);
}

-- 
           Summary: [4.0/4.1 Regression] ICE in cgraph_mark_reachable_node
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]