[Bug lto/43200] [LTO] tree check: expected array_type, have pointer_type in array_ref_low_bound
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Feb 27 20:56:00 GMT 2010
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-02-27 20:55 -------
That's because -combine refuses to compile the testcase. LTO is very
forgiving to global symbol type mismatches (maybe too forgiving). It
basically chooses one type and replaces all other uses with a
VIEW_CONVERT_EXPR to the uses type - but we clearly
fail to adjust some accesses here.
I have a patch.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Keywords| |lto
Last reconfirmed|0000-00-00 00:00:00 |2010-02-27 20:55:58
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43200
More information about the Gcc-bugs
mailing list