[Bug middle-end/96326] Incorrect loop optimization at -O3

2020-07-26 Thread pterjan at gmail dot com
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

[Bug c/96326] New: Incorrect loop optimization at -O3

2020-07-26 Thread pterjan at gmail dot com
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

[Bug c/52310] New: Internal Compiler Error when building lesstif with -Wp,-D_FORTIFY_SOURCE=2

2012-02-19 Thread pterjan at gmail dot com
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:

[Bug c/52310] Internal Compiler Error when building lesstif with -Wp,-D_FORTIFY_SOURCE=2

2012-02-19 Thread pterjan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52310 --- Comment #1 from Pascal Terjan pterjan at gmail dot com 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

[Bug c/52310] Internal Compiler Error when building lesstif with -Wp,-D_FORTIFY_SOURCE=2

2012-02-19 Thread pterjan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52310 Pascal Terjan pterjan at gmail dot com changed: What|Removed |Added Attachment #26701|0 |1

[Bug rtl-optimization/23518] New: some gcc optimizations do not take overflow into account

2005-08-22 Thread pterjan at gmail dot com
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 CC: gcc-bugs at gcc dot gnu dot