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] Fix PR target/19162, ice because of __buitlin_apply (arm-linux)


After hearing about the problem before I decided to look into the problem
after getting the bug report from the Debian folks. The problem was that
we did not have a movxf which worked before reload so we went into an infinite loop trying to move xf mode registers. I don't understand how
this worked before, we must have extra checking or something.
The required pattern is there already in fpa.md but the name needed to
be changed and be allowed before reload. This patch changes those two
things and allows to be able to build libobjc on arm-linux just fine as
reported in the bug report.


For 4.1 we can use Alex's libffi support for libobjc and remove
__builtin_apply.

OK?

Thanks,
Andrew Pinski

ChangeLog:
	* config/arm/fpa.md (movxf_fpa): Rename to ...
	(movxf): this.  Make this instruction valid before reload also.


Attachment: temp.diff.txt
Description: Text document


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