[Bug c++/66666] ARM wrong copy constructor address on multiple inheritance

mikpelinux at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Jun 27 12:42:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66666

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #6 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Using the test case in comment #0, I can reproduce wrong-code on armv7l with
gcc-4.9, 4.8, and 4.7 (everything native, nothing cross).

4.9: -O0: SEGV, -O1/2/3/s: infinite loop
4.8/4.7: -O0: SEGV, -O1/2/3/s: prints 2 and exits 0

With gcc-5 and trunk, it prints 2 and exits 0 at all -O levels.



More information about the Gcc-bugs mailing list