Bug 730382

Summary: internal compiler error: in extract_insn, at recog.c:2078
Product: Red Hat Enterprise Linux 5 Reporter: Mario Trangoni <mario.trangoni>
Component: gcc44Assignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-18 11:07:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Preprocessed source none

Description Mario Trangoni 2011-08-12 17:47:58 UTC
Created attachment 518073 [details]
Preprocessed source

Description of problem:
Error declaring a big vector by value of datatype complex long double.
I'm using the library complex.h
If I do the same with malloc there's no problem.

Version-Release number of selected component (if applicable):

Using built-in specs.
Target: x86_64-redhat-linux6E
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --disable-gnu-unique-object --enable-languages=c,c++,fortran --disable-libgcj --with-mpfr=/builddir/build/BUILD/gcc-4.4.4-20100726/obj-x86_64-redhat-linux6E/mpfr-install/ --with-ppl=/builddir/build/BUILD/gcc-4.4.4-20100726/obj-x86_64-redhat-linux6E/ppl-install --with-cloog=/builddir/build/BUILD/gcc-4.4.4-20100726/obj-x86_64-redhat-linux6E/cloog-install --with-tune=generic --with-arch_32=i586 --build=x86_64-redhat-linux6E
Thread model: posix
gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)


How reproducible:

Steps to Reproduce:
1. Compile the source file with gcc44 -Wall test.c -o test
  
Actual results:

test.c: In function ‘main’:
test.c:21: error: unrecognizable insn:
(insn 74 20 22 3 test.c:16 (parallel [
            (set (reg:XF 68 [ D.2997 ])
                (float:XF (reg:SI 69 [ D.2996 ])))
            (clobber (mem/c:SI (plus:DI (reg/f:DI 20 frame)
                        (const_int -32000000036 [0xfffffff88ca6bfdc])) [0 S4 A32]))
        ]) -1 (expr_list:REG_DEAD (reg:SI 69 [ D.2996 ])
        (nil)))
test.c:21: internal compiler error: in extract_insn, at recog.c:2078

Expected results:

Valor: 0.671913
Valor: 0.580317
Valor: 0.235468
Valor: 0.285724
Valor: 0.198874
Valor: 0.445921
Valor: 0.102851
Valor: 0.881226
Valor: 0.080384
Valor: 0.988736
La posicion 5 tiene el valor: 3.115597e-01

Additional info:

Tested with gcc 4.1 and as result I became the binary but with Segmentation fault.

Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)

I'm running a CentOS 5.6