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: "nasika.srikanth1 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 02 Aug 2014 16:28:55 +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
--- Comment #8 from Srikanth <nasika.srikanth1 at gmail dot com> ---
#include<stdio.h>
int main()
{
float m=12;
m?printf("true"):printf("false");
m=0;
m?printf("true"):printf("false");
return 0;
}
complied : gcc -S testcase.c -o testcase.s