[Bug c++/45303] Compile error when not using -ftree-ter
redi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 17 09:42:00 GMT 2010
------- Comment #3 from redi at gcc dot gnu dot org 2010-08-17 09:42 -------
Looking at the diagnostics issued when -pedantic is added, I think the right
conversion is
(void*)(plain_foobar_t)&Foo::foobar
That still uses the G++ extension, and doesn't give the asm error even without
optimisation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45303
More information about the Gcc-bugs
mailing list