[Bug bootstrap/30312] New: [4.3 regression] ICE in voidify_wrapper_expr, at gimplify.c:1015

gerald at pfeifer dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 28 00:46:00 GMT 2006


This is actually a bootstrap failure on i386-unknown-freebsd5.4, but with
some work I managed to destill this radically.

When invoking `${BUILDDIR}/gcc/xgcc -B${BUILDDIR}/gcc -O1 x.cc` on

  #define f(x) ({ unsigned tmp=x; tmp; })

  unsigned foo(unsigned x) {
        return __builtin_constant_p(x) ? 0 : f(x);
  }

I, and several other FreeBSD committers, get

  x.cc: In function 'unsigned int foo(unsigned int)':
  x.cc:6: internal compiler error: in voidify_wrapper_expr, at gimplify.c:1015

This regression was introduced between 23:03 GMT +0200 on December 4th and
the same time on December 5th 2006.


-- 
           Summary: [4.3 regression] ICE in voidify_wrapper_expr, at
                    gimplify.c:1015
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gerald at pfeifer dot com
  GCC host triplet: i386-unknown-freebsd5.4


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



More information about the Gcc-bugs mailing list