[Bug c++/45303] Compile error when not using -ftree-ter
jobnoorman at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 17 10:05:00 GMT 2010
------- Comment #4 from jobnoorman at gmail dot com 2010-08-17 10:04 -------
(In reply to comment #1)
> IMHO this isn't a bug, to simplify that into an integer you really need some
> optimizations. The conversion looks very weird, if you use something saner
> like (void *)&Foo::foobar, it will even work with -O0.
I still think it's kind of weird to have an error without optimizations and
none with. Shouldn't an error always be an error, no matter what the
optimizations are?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45303
More information about the Gcc-bugs
mailing list