This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
- From: "jojelino at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2010 00:50:55 -0000
- Subject: [Bug middle-end/44824] [4.6 regression] internal compiler error: verify_stmts failed
- References: <bug-44824-13856@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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