[Bug c++/64049] Wrong code at -O3

2014-11-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 Bernd Edlinger changed: What|Removed |Added Attachment #34094|0 |1 is obsolete|

[Bug c++/64049] Wrong code at -O3

2014-11-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 Bernd Edlinger changed: What|Removed |Added Attachment #34092|0 |1 is obsolete|

[Bug c++/64049] Wrong code at -O3

2014-11-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 Bernd Edlinger changed: What|Removed |Added Attachment #34090|0 |1 is obsolete|

[Bug c++/64049] Wrong code at -O3

2014-11-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 Bernd Edlinger changed: What|Removed |Added Attachment #34091|0 |1 is obsolete|

[Bug c++/64049] Wrong code at -O3

2014-11-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 --- Comment #5 from Bernd Edlinger --- (In reply to Andrew Pinski from comment #4) > v.value.LocalizedText = (LocalizedTextStruct*) "Localized Text"; > > > if you access v.value.LocalizedText as a LocalizedTextStruct the above > causes undefin

[Bug c++/64049] Wrong code at -O3

2014-11-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 --- Comment #4 from Andrew Pinski --- v.value.LocalizedText = (LocalizedTextStruct*) "Localized Text"; if you access v.value.LocalizedText as a LocalizedTextStruct the above causes undefined code.

[Bug c++/64049] Wrong code at -O3

2014-11-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 --- Comment #3 from Bernd Edlinger --- Created attachment 34092 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34092&action=edit ValueHelper.h

[Bug c++/64049] Wrong code at -O3

2014-11-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 --- Comment #2 from Bernd Edlinger --- Created attachment 34091 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34091&action=edit ValueHelper2.cpp

[Bug c++/64049] Wrong code at -O3

2014-11-24 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64049 --- Comment #1 from Bernd Edlinger --- Created attachment 34090 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34090&action=edit ValueHelper1.cpp