This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix PR 10730


The problem here is an out-of-range access to a constant pool.  It comes
about because the arith_adjacentmem pattern is trying to output "add rN,
rN, #BIGCONST"; this gets split into multiple smaller adds, and hence we
end up with more instructions than the length attribute is admitting to.

Winding up the advertised length would be one option, but it seems
better just to suppress use of this pattern in those cases.

p.

Attachment: 10730.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]