Compiling any program on i686-apple-darwin with -fpic causes an ICE

#include <stdio.h>

int main( void )
{
        printf("Hello World.\n");    
        return 0;
}

%gcc hello.c -fpic

hello.c: In function `main':
hello.c:9: internal compiler error: in instantiate_virtual_regs_lossage, at 
function.c:3756
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: -fpic causes an ICE on i686-apple-darwin
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at microbizz dot nl
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-apple-darwin
GCC target triplet: i686-apple-darwin


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

Reply via email to