[Bug c++/63140] wrong code generation probably due to optimization problem

2021-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #13 from Andrew Pinski --- This might be fixed already just it was not marked as a regression.

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 Jakub Jelinek changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread gcc at boomerangsworld dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #11 from Ralf Hoffmann --- I managed to create a standalone test program. Attachment "aguix.cc" contains the stripped down critical code segments. The two other files "aguixtest.cc" and "aguixtest.hh" are just to make a runnable binar

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread gcc at boomerangsworld dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #10 from Ralf Hoffmann --- Created attachment 33445 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33445&action=edit build build script used to create executable test program

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread gcc at boomerangsworld dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #9 from Ralf Hoffmann --- Created attachment 33444 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33444&action=edit aguixtest.hh file with helper functions, not related to the problem, but required to execute

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread gcc at boomerangsworld dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #8 from Ralf Hoffmann --- Created attachment 33443 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33443&action=edit aguixtest.cc file with helper functions, not related to the problem, but required to execute

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread gcc at boomerangsworld dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #7 from Ralf Hoffmann --- Created attachment 33442 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33442&action=edit simplified example file 1 simple example containing the code piece which triggers the behavior

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #6 from Jakub Jelinek --- There is a git mirror of the svn repo. Anyway, -fsanitize=undefined enables -fno-delete-null-pointer-checks, perhaps you could try that option alone if it makes a difference.

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread gcc at boomerangsworld dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #5 from Ralf Hoffmann --- Thanks for the feedback, I am also suspecting I have some problem in my code regarding undefined behavior. What I do for testing is to compile my tool Worker (http://www.boomerangsworld.de/cms/worker/index.h

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #3 from Richard Biener --- You might want to try -fsanitize=undefined and/or -fno-strict-overflow as it sounds like you may be invoking undefined behavior.

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-02 Thread gcc at boomerangsworld dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #2 from Ralf Hoffmann --- Small update: The working 32 bit target was gcc 4.7, so it's not related to this bug.

[Bug c++/63140] wrong code generation probably due to optimization problem

2014-09-02 Thread gcc at boomerangsworld dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63140 --- Comment #1 from Ralf Hoffmann --- Created attachment 33436 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33436&action=edit (gzipped) preprocessed input file