From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8487 invoked by alias); 4 May 2014 19:04:48 -0000 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 Received: (qmail 8464 invoked by uid 48); 4 May 2014 19:04:44 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61058] New: [4.7/4.8/4.9/4.10 Regression] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in distance_agu_use_in_bb, at config/i386/i386.c:16740 with __builtin_unreachable() Date: Sun, 04 May 2014 19:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg00211.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61058 Bug ID: 61058 Summary: [4.7/4.8/4.9/4.10 Regression] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in distance_agu_use_in_bb, at config/i386/i386.c:16740 with __builtin_unreachable() Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 32731 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32731&action=edit reduced testcase Compiler output: $ gcc -fno-asynchronous-unwind-tables -mtune=atom testcase.c testcase.c: In function 'f': testcase.c:4:1: internal compiler error: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in distance_agu_use_in_bb, at config/i386/i386.c:17922 } ^ 0xac42d4 rtl_check_failed_type1(rtx_def const*, int, int, char const*, int, char const*) /mnt/svn/gcc-trunk/gcc/rtl.c:754 0xdcc92a distance_agu_use_in_bb /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:17922 0xdd02e9 distance_agu_use /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:17979 0xdd02e9 ix86_lea_outperforms /mnt/svn/gcc-trunk/gcc/config/i386/i386.c:18063 0xffa274 output_89 /mnt/svn/gcc-trunk/gcc/config/i386/i386.md:2081 0x872491 final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*) /mnt/svn/gcc-trunk/gcc/final.c:2919 0x873e3d final(rtx_def*, _IO_FILE*, int) /mnt/svn/gcc-trunk/gcc/final.c:2024 0x87434e rest_of_handle_final /mnt/svn/gcc-trunk/gcc/final.c:4428 0x87434e execute /mnt/svn/gcc-trunk/gcc/final.c:4502 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-210047-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-210047-lto-fortran-checking-yes-rtl-df/ --without-cloog --without-ppl Thread model: posix gcc version 4.10.0 20140504 (experimental) (GCC) Built with RTL checking enabled. Tested revisions: r210047 - ICE 4.9 r209651 - ICE 4.8 r209342 - ICE 4.7 r209345 - ICE 4.6 r197894 - OK