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]

Re: [PATCH/AARCH64] Fix gcc.c-torture/compile/pr37433.c for AARCH64:ILP32.


On 02/17/15 08:31, Marcus Shawcroft wrote:
On 9 February 2015 at 05:41, Andrew Pinski <pinskia@gmail.com> wrote:
The problem here is that we get a symbol_ref which is SImode but for
the sibcall patterns we only match symbol_refs which use DImode.  I
added a new testcase that tests the non-value sibcall pattern too.

OK?  Bootstrapped and tested on aarch64-linux-gnu with no regressions.


Why are we being given an SI mode expression here, I would have
thought we should get FUNCTION_MODE or Pmode ?
Agreed. I guess something might be doing something weird and generating the SImode from POINTER_SIZE.

I was going to look for that since it seemed so weird, but I've been unable to reproduce this failure with the tip of the trunk or a variety of trees from around the date this bug was reported.

Andrew, is it possible you had some local changes in your tree that were responsible for getting the bogus mode? What were the flags you used to trigger the failure?

I tried it with -mabi=ilp32 using the standard c-torture options.

jeff



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