------- 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

Reply via email to