From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2602 invoked by alias); 16 May 2012 08:54:58 -0000 Received: (qmail 2591 invoked by uid 22791); 16 May 2012 08:54:57 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_AV,TW_CL,TW_CX,TW_LZ,TW_OV,TW_TB,TW_ZC X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 May 2012 08:54:03 +0000 From: "martin@mpa-garching.mpg.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/53373] New: [4.8 regression] ICE on valid code with -march-native Date: Wed, 16 May 2012 09:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin@mpa-garching.mpg.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-05/txt/msg01610.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53373 Bug #: 53373 Summary: [4.8 regression] ICE on valid code with -march-native Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: martin@mpa-garching.mpg.de Created attachment 27417 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27417 Preprocessed testcase When compiling the attached testcase on an Intel Core i3-2120 with a recent trunk version of gcc, the compiler segfaults: /scratch/martin/mysvn/libpsht3>gcc -v -O2 -march=native -c bug.i Using built-in specs. COLLECT_GCC=gcc Target: x86_64-unknown-linux-gnu Configured with: /scratch/martin/gccgit/configure --disable-graphite --enable-gold --enable-plugins --prefix=/afs/mpa/data/martin/ugcc --with-libelf=/afs/mpa/data/martin/numlibs64 --enable-languages=c++,fortran --enable-target=all --enable-checking=release --enable-build-with-cxx Thread model: posix gcc version 4.8.0 20120516 (experimental) [trunk revision a756f44:a2ddc2d:669c9ede91a14c0cc74b38c1ab923146ac3919b2] (GCC) COLLECT_GCC_OPTIONS='-v' '-O2' '-march=native' '-c' /afs/mpa/data/martin/ugcc/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/cc1 -fpreprocessed bug.i -march=corei7-avx -mcx16 -msahf -mno-movbe -mno-aes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=corei7-avx -quiet -dumpbase bug.i -auxbase bug -O2 -version -o /tmp/ccLcgfAs.s GNU C (GCC) version 4.8.0 20120516 (experimental) [trunk revision a756f44:a2ddc2d:669c9ede91a14c0cc74b38c1ab923146ac3919b2] (x86_64-unknown-linux-gnu) compiled by GNU C version 4.8.0 20120516 (experimental) [trunk revision a756f44:a2ddc2d:669c9ede91a14c0cc74b38c1ab923146ac3919b2], GMP version 5.0.1, MPFR version 2.4.2, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C (GCC) version 4.8.0 20120516 (experimental) [trunk revision a756f44:a2ddc2d:669c9ede91a14c0cc74b38c1ab923146ac3919b2] (x86_64-unknown-linux-gnu) compiled by GNU C version 4.8.0 20120516 (experimental) [trunk revision a756f44:a2ddc2d:669c9ede91a14c0cc74b38c1ab923146ac3919b2], GMP version 5.0.1, MPFR version 2.4.2, MPC version 0.8.2 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 03c904a1dcafbbea3957ffe55a6c30c7 libfftpack/fftpack.c: In function 'rfftf': libfftpack/fftpack.c:799:3: internal compiler error: Segmentation fault { if(n!=1) rfftf1(n, r, wsave, wsave+n,(size_t*)(wsave+2*n)); } ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. This ICE seems to have been introduced fairly recently. I didn't encounter it a few days ago.