This is the mail archive of the gcc-bugs@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: inline-asm/10402: [3.3/3.4 regression] [i486] ICE in merge_assigned_reloads, at reload1.c:6134


On Fri, Apr 18, 2003 at 03:45:12AM -0000, rth at gcc dot gnu dot org wrote:
>     The code is illegal.  The same variable can't be the target
>     of two outputs.  

You mean because of the variable 'f'?

Doesn't make a difference whether the second output is a different one. Change
this line and the one above to:

int f, g;
asm volatile("" :"=S" (f), "=D" (g) :);

The same thing happens.

So we have an ice-on-legal-and-illegal-code.  ;-)

Robert

-- 
Robert Schiele			Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker	mailto:rschiele at uni-mannheim dot de

Attachment: pgp00000.pgp
Description: PGP signature


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