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]

Re: fix inline-asm/15740


    Not knowing how to even write a test program for it, I'll
    leave it to you.

It's a very literal translation, and here's the same example as in the PR
translated to Ada.

with System.Machine_Code; use System.Machine_Code;
procedure Pr15740 is
   A, B : Integer;
begin
   A := 1;
   B := A + 1;

   Asm (Template => "nop", Inputs => Integer'Asm_Input ("m", A));
end Pr15740;

But it doesn't ICE, so can you explain in just slightly more detail
what you had to change?


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