https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70918

            Bug ID: 70918
           Summary: Internal compiler error: Illegal instruction
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ljliang1990 at gmail dot com
  Target Milestone: ---

Created attachment 38400
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38400&action=edit
Preprocessor file

Trying to install Postgres-XL 9.5r1 on my linux from scratch(LFS 7.7) and got
this "Internal compiler error: Illegal instruction" during make process in the
first step. After troubleshooting I notice the error occur whenever a
float/decimal value is encounter. Thus I wrote a simple C program to test my
assumption.

#include "stdio.h"
int main(){

        double testval = 1938.3028;
        printf("Output: %f\n", testval);

}

I ran this line to compile

$ gcc test.c -o textexe

and i got the error

test.c: In function 'main':
test.c:4:2: internal compiler error: Illegal instruction
  double testval = 1938.3028;
  ^
0x87815f crash_signal
        ../../gcc-4.9.2/gcc/toplev.c:337
Please submit a full bug report,

Not sure if its I made a mistake during installation of GCC on my LFS or
hardware problem. Please help.

System used:
Linux debian7 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux

GCC version:
4.9.2

Reply via email to