[Bug target/50970] Function pointer dereferenced twice in if statement on Arm cpu

2011-11-08 Thread emillbrandt at dekaresearch dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50970 --- Comment #5 from Eric Millbrandt 2011-11-08 14:57:48 UTC --- Expected output (code built for PowerPC or x86): root@01066-ui:/root> ./gcc_test Test Function Before if TestClass::func1 param1: 0 Inside if Before if2 TestClass::func2 param1: 0 I

[Bug target/50970] Function pointer dereferenced twice in if statement on Arm cpu

2011-11-03 Thread emillbrandt at dekaresearch dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50970 --- Comment #3 from Eric Millbrandt 2011-11-03 13:30:15 UTC --- We found the problem in an implementation of a hierarchical state machine from Practical Statecharts in C/C++ (CMP Books, 2002). The supplied example is a condensed reproduction of

[Bug c++/50970] Function pointer dereferenced twice in if statement on Arm cpu

2011-11-02 Thread emillbrandt at dekaresearch dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50970 --- Comment #1 from Eric Millbrandt 2011-11-02 21:40:21 UTC --- Created attachment 25696 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25696 Preprocessed sources

[Bug c++/50970] New: Function pointer dereferenced twice in if statement on Arm cpu

2011-11-02 Thread emillbrandt at dekaresearch dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50970 Bug #: 50970 Summary: Function pointer dereferenced twice in if statement on Arm cpu Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED