This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42248] compat test struct-by-value-17 fails execution with -O1 -fschedule-insns
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2010 21:47:24 -0000
- Subject: [Bug tree-optimization/42248] compat test struct-by-value-17 fails execution with -O1 -fschedule-insns
- References: <bug-42248-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from janis at gcc dot gnu dot org 2010-01-07 21:47 -------
The testcase still fails with current mailing when compiled with "-m64 -O2" or
"-m64 -O1 -fschedule-insns". The testcase is missing the piece that makes it
useful as an executable test:
----------------------------------------------
int
main ()
{
init (&g1s, (_Complex double)1);
check (g1s, (_Complex double)1);
return 0;
}
----------------------------------------------
The tests in gcc.dg/compat are not normally compiled with -O2 so it doesn't
show up as a failure in test reports.
--
janis at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bergner at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42248