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]

Patch for gcc.dg/tree-ssa/ivopts-2.c failure in LP64 mode.


Steve Ellcey writes:
> I think it fails in LP64 mode because int and long are different
> sizes in that mode and thus the variables 'data_offset' and 'store'
> are different sizes and can't be merged into a single index
> variable.

As you mentioned it too, this test is meant to be check LP64 targets.
The target that I found it on (mipsisa64-elf) is LP64.

When ivopts estimates the cost of producing the uses from new
candidates it actually generates RTL.  So chances are some of those
costs come out differently on your target and hence the different
result.

It could also be that the fix was not generic enough and you're seeing
a slight variation of the original problem.

Adam


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