This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/45303] Compile error when not using -ftree-ter



------- Comment #1 from jakub at gcc dot gnu dot org  2010-08-17 09:21 -------
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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45303


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]