[Bug tree-optimization/46232] [4.6 regression] 64-bit gcc.dg/tree-ssa/pr14814.c FAILs on SPARC

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 15 17:59:00 GMT 2010


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

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-12-15 17:58:51 UTC ---
> I see.  I think this is not a P1 stuff then and should definitely not
> block a release.  I'd rather not promise anything, but I'll add this
> to my TODO list and hope I will try to address this for 4.7.

Right, I think it should be marked XFAIL on the mainline.

> As far as the MEM_REF instead of ARRAY_REF awkwardness is concerned, I
> don't feel like discussing merits of the former here but trust me
> there are reasons for this.  If you want to have a look for yourself,
> compare 4.5 and 4.6 build_ref_for_offset implementations (including
> build_ref_for_model in 4.6) and especially their callers (and the
> number of them).  And of course there was PR 44972.

Look at PR 46801 though.  Scalarization of these records in simple contexts
(i.e. no indirection in sight) worked in GCC 4.x up to very recently.  Now it
seems that MEM_REF has introduced artificial indirections all over the place,
leading to the pessimization of these cases.



More information about the Gcc-bugs mailing list