[Bug c/78408] Aggressive optimization of zeroing results in incorrect behavior

2016-11-17 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/78408] Aggressive optimization of zeroing results in incorrect behavior

2016-11-17 Thread npmccallum at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #3 from Nathaniel McCallum --- Created attachment 40077 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40077&action=edit output assembly from the test case This assembly was produced with: gcc -S test.c.

[Bug c/78408] Aggressive optimization of zeroing results in incorrect behavior

2016-11-17 Thread npmccallum at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #2 from Nathaniel McCallum --- Created attachment 40076 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40076&action=edit simple test case Compile with: gcc -o test test.c This is a simple echo server. It *should* echo whatever

[Bug c/78408] Aggressive optimization of zeroing results in incorrect behavior

2016-11-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78408 --- Comment #1 from Marc Glisse --- Do you think you could produce a smaller, stand-alone testcase that reproduces the issue? Or at least attach the preprocessed sources to the report?