[Bug c++/102937] Miscompilation with -O3 and aliasing of char* and size_t

2021-10-25 Thread drohr at jwdt dot org via Gcc-bugs
||drohr at jwdt dot org --- Comment #3 from David Rohr --- thanks, makes me feel pretty stupid... I thought it is not a problem since char* may alias, but apparently size_t* may not alias char**... if I understood correctly...

[Bug c++/102937] New: Miscompilation with -O3 and aliasing of char* and size_t

2021-10-25 Thread drohr at jwdt dot org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: drohr at jwdt dot org Target Milestone: --- Created attachment 51663 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51663=edit testcase The attached testcase miscompiles with GCC 1

[Bug c++/84152] New: Internal compiler error when compiling a cxx file

2018-01-31 Thread drohr at jwdt dot org
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: drohr at jwdt dot org Target Milestone: --- Created attachment 43308 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43308=edit preprocessed source file to trigger the segfault gcc encounters an internal compi

[Bug tree-optimization/67601] New: Vectorization of loop causes aligned access to possibly unaligned address

2015-09-16 Thread drohr at jwdt dot org
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: drohr at jwdt dot org Target Milestone: --- Created attachment 36342 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36342=edit Source code file to reprod