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, i386]: Fix PR 55247, ICE: Max. number of generated reload insns per insn is achieved


Hello!

Attached patch disparages riF->o alternative of *movti_internal_rex64
insn, as described by Vlad in comment #2 [1]

The core of the problem however is, that gcc is unable to detect
zero-extended address as offsetable. H.J. will propose a patch for
this [2].

2012-11-10  Vladimir Makarov  <vmakarov@redhat.com>
	    Uros Bizjak  <ubizjak@gmail.com>

	PR target/55247
	* config/i386/i386.md (*movti_internal_rex64): Add "!" to riF->o
	alternative.

testsuite/ChangeLog:

2012-11-10  Uros Bizjak  <ubizjak@gmail.com>

	PR target/55247
	* gcc.target/i386/pr55247.c: New test.

Tested on x86_64-linux-gnu {,m32} and committed to mainline SVN.

[1] gcc.gnu.org/bugzilla/show_bug.cgi?id=55247#c2
[2] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55247#c6

Uros.

Attachment: p.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]