[Bug lto/42430] error: non-trivial conversion at assignment when linking with -flto/-fwhopr

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Dec 18 22:27:00 GMT 2009



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-12-18 22:27 -------
This code is invalid C++ code as it is a violation of the one definition rule. 
That is Pool::Get returns two different types in the two different translation
units. 


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code


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



More information about the Gcc-bugs mailing list