This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in haifa scheduler ?
- To: Gabriel Paubert <paubert at iram dot es>
- Subject: Re: Bug in haifa scheduler ?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 27 Jun 1998 21:34:09 -0600
- cc: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.HPP.3.96.980627214135.29572F-100000@gra-ux1.iram.es>you write:
>
> I disagree, a series of 2 asm volatile should not be reordered
> relative to each other, this simply does not make sense. And if it
> does happen, it is a compiler bug.
Just to clarify:
Right they won't be reordered relative to each other, but that doesn't
mean they will end up back-to-back in the assembly file. If you need
two asms to end up back to back, then you have to write them as a
single asm.
jeff