This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/42430] error: non-trivial conversion at assignment when linking with -flto/-fwhopr
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Dec 2009 22:27:34 -0000
- Subject: [Bug lto/42430] error: non-trivial conversion at assignment when linking with -flto/-fwhopr
- References: <bug-42430-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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