https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50481
Frank changed:
What|Removed |Added
CC||f.boesing at gmx dot de
--- Comment #7 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67242
--- Comment #2 from Frank ---
x86-64:
.file "bug.c"
.section.text.unlikely,"x"
.LCOLDB0:
.text
.LHOTB0:
.p2align 4,,15
.globl bug
.defbug;.scl2; .type 32; .endef
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67242
--- Comment #1 from Frank ---
works ok with local variables.
Assignee: unassigned at gcc dot gnu.org
Reporter: f.boesing at gmx dot de
Target Milestone: ---
testcase:
int n, dummy;
float dummyfloat;
void bug(void)
{
for(n=0; n<1000; n++)
dummy = n;
for(n=0; n<1000; n++)
dummyfloat = n;
}
the first loop (dummy=) is optimized awa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48026
Frank changed:
What|Removed |Added
CC||f.boesing at gmx dot de
--- Comment #3 from