public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* inline asm string/line break rules change
@ 2002-04-13 11:57 Joel Sherrill
  0 siblings, 0 replies; 19+ messages in thread
From: Joel Sherrill @ 2002-04-13 11:57 UTC (permalink / raw)
  To: gcc


Hi,

The cvs trunk seems to be newly picky on inline assembly
 
Something like this (contrived):

 asm volatile(" movw %%ds,%0  
                movw %, %%es" 
               : "=r" (tmp_segment) :
               : "0" (tmp_segment) );

Must now the quote closed on each line like this:

 asm volatile(" movw %%ds,%0\n\t"
  	      "movw %, %%es" 
               : "=r" (tmp_segment) :
               : "0" (tmp_segment) );

Was this intentional?  Was there a good reason?  It seems
to effect all target CPUs and I assume a great deal of 
packages that use gcc's inline asm.  I have already spotted
code in newlib's libgloss and RTEMS that trips this.  The
potential set of packages that this might break must be
enormous.

If there was a discussion on this, I must not have missed
it or not realized the potential impact.  I sure don't want 
to begin to modify other code bases until I know the intention.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2002-04-20 17:32 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3CB88687.85AA58CB@OARcorp.com.suse.lists.egcs>
2002-04-13 12:59 ` inline asm string/line break rules change Andi Kleen
2002-04-13 14:24   ` Franz Sirl
2002-04-13 15:09     ` Andi Kleen
2002-04-13 22:36       ` David S. Miller
2002-04-13 23:27         ` Tim Hollebeek
2002-04-14  2:24           ` Andi Kleen
2002-04-14  2:47             ` David S. Miller
2002-04-14  2:52             ` Tim Hollebeek
2002-04-14  6:04               ` Andi Kleen
2002-04-14  7:18                 ` Joel Sherrill
2002-04-14  1:46         ` Andi Kleen
2002-04-14 18:15           ` Jamie Lokier
2002-04-14 18:47             ` Joel Sherrill
2002-04-14 23:23               ` Zack Weinberg
2002-04-20 11:46                 ` Joel Sherrill
2002-04-15  8:05     ` Joel Sherrill
2002-04-16 13:13       ` Jim Wilson
2002-04-16 13:15         ` Joel Sherrill
2002-04-13 11:57 Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).