[Bug c++/92475] incorrect code with optimization

2019-11-12 Thread gunther.vo...@ssw-trading.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92475 --- Comment #2 from Gunther Vogel --- Created attachment 47221 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47221&action=edit assembly - no "AAA" in here

[Bug c++/92475] incorrect code with optimization

2019-11-12 Thread gunther.vo...@ssw-trading.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92475 --- Comment #1 from Gunther Vogel --- Created attachment 47220 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47220&action=edit output of gcc -v -save-temps -W -Wall -O2 -S bug.cc

[Bug c++/92475] New: incorrect code with optimization

2019-11-12 Thread gunther.vo...@ssw-trading.com
++ Assignee: unassigned at gcc dot gnu.org Reporter: gunther.vo...@ssw-trading.com Target Milestone: --- Created attachment 47219 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47219&action=edit preprocessed source In the following code, the branch for length==0 (including the