https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96326
--- Comment #2 from Pascal Terjan ---
No:
$ gcc -O3 -Wall -fno-strict-aliasing t.c; ./a.out
24
However -fno-tree-loop-vectorize fixes it:
$ gcc -O3 -Wall -fno-tree-loop-vectorize t.c; ./a.out
68
Assignee: unassigned at gcc dot gnu.org
Reporter: pterjan at gmail dot com
Target Milestone: ---
Found in https://github.com/Sereal/Sereal/issues/229
#include
#include
int main() {
char buf[128];
char *src = buf;
char *op = buf + 3;
int len = 64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52310
Pascal Terjan changed:
What|Removed |Added
Attachment #26701|0 |1
is obsolete|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52310
--- Comment #1 from Pascal Terjan 2012-02-19
20:23:15 UTC ---
Created attachment 26703
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26703
Reduce source code leading to the crash
Here is the minimal code I managed to trigger the crash
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52310
Bug #: 52310
Summary: Internal Compiler Error when building lesstif with
-Wp,-D_FORTIFY_SOURCE=2
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCO
ow into account
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pterjan at gmail dot com