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]: Committed: Fix PR target/34215


Hello!

There was a thinko in one of my previous patches. Expanders can also
be called when virtual regs are already instantiated.

Attached patch fixes introduced problem by choosing appropriate stack
slot according to virtuals_instantiated.

The failure is currently latent on 4.3 branch. I'll forward-port the
patch to 4.3 branch.

Patch is regression tested with 4.2 branch on i686-pc-linux-gnu. Patch
is applied to 4.2 branch.


2007-11-26  Uros Bizjak  <ubizjak@gmail.com>

	PR target/34215
	* config/i386/i386.md (truncdfsf): Select SLOT_TEMP stack slot if
	virtual registers are instantiated.
	(truncxfsf2): Ditto.
	(truncxfdf2): Ditto.

testsuite/ChangeLog:

2007-11-26  Uros Bizjak  <ubizjak@gmail.com>

	PR target/34215
	* gcc.target/i386/pr34215.c: New test.

Uros.

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