From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7348 invoked by alias); 14 Feb 2013 21:51:19 -0000 Received: (qmail 7240 invoked by uid 48); 14 Feb 2013 21:50:50 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/56330] New: [4.8 Regression] ICE: verify_gimple failed: gimple_bb (stmt) is set to a wrong basic block with -fsanitize=address Date: Thu, 14 Feb 2013 21:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer 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-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: 2013-02/txt/msg01479.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56330 Bug #: 56330 Summary: [4.8 Regression] ICE: verify_gimple failed: gimple_bb (stmt) is set to a wrong basic block with -fsanitize=address Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer AssignedTo: unassigned@gcc.gnu.org ReportedBy: zsojka@seznam.cz CC: dodji@gcc.gnu.org, dvyukov@gcc.gnu.org, jakub@gcc.gnu.org, kcc@gcc.gnu.org Created attachment 29456 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29456 autoreduced testcase I am not sure if this should be marked as a regression - the code doesn't compile in 4.7, but used to older revisions of 4.8. Compiler output: $ gcc -fsanitize=address testcase.c testcase.c: In function 'foo': testcase.c:10:1: error: gimple_bb (stmt) is set to a wrong basic block foo (void) ^ __builtin_memcmp (&s.a, &empty, 200); testcase.c:10:1: error: gimple_bb (stmt) is set to a wrong basic block return; testcase.c:10:1: internal compiler error: verify_gimple failed 0xa528bc verify_gimple_in_cfg(function*) /mnt/svn/gcc-trunk/gcc/tree-cfg.c:4727 0x93f177 execute_function_todo /mnt/svn/gcc-trunk/gcc/passes.c:1970 0x93fa97 execute_todo /mnt/svn/gcc-trunk/gcc/passes.c:1999 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Tested revisions: r196044 - crash r195931 - OK