This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/61979] Why float variable loading twice into the FPU Stack during condition checking ?
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 02 Aug 2014 11:33:53 +0000
- Subject: [Bug other/61979] Why float variable loading twice into the FPU Stack during condition checking ?
- Auto-submitted: auto-generated
- References: <bug-61979-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61979
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #7 from Marc Glisse <glisse at gcc dot gnu.org> ---
Your testcase is missing a ';', a #include and a return. You don't say how you
compiled, but clearly you didn't pass any optimization flag (-O2 for instance),
so you shouldn't expect optimized code.