[Bug c++/100754] Order of multiple inheritance can lead to illegal code jump

2021-05-31 Thread mgaron at pleora dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100754 --- Comment #4 from Martin --- Some additional reading hinted me how the intermediate representation can be help or is enough in itself to reproduce the bug. I have attached the intermediate representation for the Derived object file, by adding

[Bug c++/100754] Order of multiple inheritance can lead to illegal code jump

2021-05-31 Thread mgaron at pleora dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100754 --- Comment #3 from Martin --- Created attachment 50898 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50898&action=edit Intermediate representation of "Derived" class. Achieved by adding -save-temps to the g++ compile line.

[Bug c++/100754] Order of multiple inheritance can lead to illegal code jump

2021-05-26 Thread mgaron at pleora dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100754 --- Comment #2 from Martin --- Hi Richard, Thanks for the quick response. I had to do a bit of research to try to properly express my suspicions. 1st the function from the dispatch table is properly called. Not problems there: 01a4 <_ZThn4

[Bug c++/100754] New: Order of multiple inheritance can lead to illegal code jump

2021-05-25 Thread mgaron at pleora dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100754 Bug ID: 100754 Summary: Order of multiple inheritance can lead to illegal code jump Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal