------- Comment #1 from mikulas at artax dot karlin dot mff dot cuni dot cz  
2009-07-29 17:07 -------
Created an attachment (id=18270)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18270&action=view)
A patch for the bug

A patch for the problem.

1. reverse the direction of "change_address" loop. That fixes 4.3->4.4
regression for 96-bit long double.

2. in case of 128-bit long double, the value "4" is subtracted from the stack
pointer before the copying starts. We need to compensate for it by adding "4"
to the source address if the source address in on the stack.

Problem "2" should be backported to gcc-4.3 and earlier versions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40906

Reply via email to