[Bug c/78408] Aggressive optimization of zeroing results in incorrect behavior
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 17 20:47:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-11-17
CC| |trippels at gcc dot gnu.org
Known to work| |7.0
Ever confirmed|0 |1
Known to fail| |5.4.0, 6.2.1
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Confirmed. Trunk is fine.
--- good 2016-11-17 21:45:22.671247332 +0100
+++ bad 2016-11-17 21:45:18.851324283 +0100
@@ -58,11 +58,6 @@
call write
testq %rax, %rax
jle .L10
- leaq -65536(%rbp), %rax
- movl $65520, %edx
- movl $0, %esi
- movq %rax, %rdi
- call memset
leaq -131056(%rbp), %rax
leaq -65536(%rbp), %rcx
movl $65520, %edx
@@ -86,5 +81,5 @@
.cfi_endproc
.LFE0:
.size main, .-main
- .ident "GCC: (GNU) 7.0.0 20161117 (experimental)"
+ .ident "GCC: (GNU) 6.2.1 20161017"
.section .note.GNU-stack,"",@progbits
More information about the Gcc-bugs
mailing list