[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 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-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

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

2014-09-02 Thread gcc at boomerangsworld dot de
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at boomerangsworld dot de A user of a tool of mine reported a strange endless loop in a code piece which could not behave in such a way. The bug always occured in the same method when using