------- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-01 09:42 ------- The problem is of course that the target and optimization attribute data format is auto-generated. A solution would be to simply byte-copy TREE_TARGET_OPTION with pre-pending its size and check the size on LTO read-in. Of course that will introduce another host-dependency on the LTO byte format (so eventually store a magic 0x11223344 integer value as well).
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-09-01 09:42:09 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45475