/*
 gcc-4.4-20080905 -O0 -c foo.c  # ICE verify_gimple failed
 gcc-4.3.1 -O0 -c foo.c  # compiles normally
*/

extern  void __attribute__((__noreturn__))
  error_notreached(const char * file, unsigned int line);

typedef void __attribute__((__noreturn__))
  (*A)(void** B);

void  __attribute__((__noreturn__)) C(void** B)
{
  A fun;
  fun        = &C;
  do {
    error_notreached(__FILE__,__LINE__);
  } while(0);
}


-- 
           Summary: gcc-4.4-20080905 ICE verify_gimple failed (regression
                    from 4.3.1)
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mariah dot lenox at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to