This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Apr 2010 11:43:55 -0000
- Subject: [Bug lto/43946] SPEC2000 GCC fails to build with -fprofile-generate -O2 -ffast-math -flto -fwhole-program
- References: <bug-43946-176@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-30 11:43 -------
"Proper" testcase:
static void
expand_stmt_with_iterators_1 (void)
{
extern void expand_expr_stmt (void);
expand_expr_stmt ();
}
void
iterator_expand (void)
{
expand_stmt_with_iterators_1 ();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43946