From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 312 invoked by alias); 12 Jul 2010 00:51:08 -0000 Received: (qmail 32741 invoked by uid 48); 12 Jul 2010 00:50:55 -0000 Date: Mon, 12 Jul 2010 00:51:00 -0000 Message-ID: <20100712005055.32740.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jojelino at gmail dot com" 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: 2010-07/txt/msg01247.txt.bz2 ------- Comment #14 from jojelino at gmail dot com 2010-07-12 00:50 ------- then we get more reduced testcase typedef struct sfoo{ int ob_refcnt; } foo; typedef struct sbar{ int ob_refcnt; } bar; extern __attribute__((dllimport)) bar bar1; foo* stub1(){ return ( \ \ ((foo*)(((foo *) &bar1)))->ob_refcnt++), ((foo *) &bar1); } int main() { foo* a=stub1(); return a; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44824