Messages in this thread | | | Date | Wed, 07 Nov 2018 13:50:28 -0800 | Subject | Re: [PATCH v9 02/10] Makefile: Prepare for using macros for inline asm | From | hpa@zytor ... |
| |
On November 7, 2018 1:43:39 PM PST, Logan Gunthorpe <logang@deltatee.com> wrote: > > >On 2018-11-07 11:56 a.m., Nadav Amit wrote: >> HPA indicated more than once that this is wrong (and that was indeed >my >> initial solution), since it is not guaranteed that the compiler would >put >> the macro assembly before its use. > >Hmm, that's very unfortunate. I don't really understand why the >compiler >would not put the macro assembly in the same order as it appears in the >code and it would be in the correct order there. > >In any case, I've submitted a couple of issues to icecc[1] and >distcc[2] >to see if they have any ideas about supporting this on their sides. > >Thanks, > >Logan > >[1] https://github.com/icecc/icecream/issues/428 >[2] https://github.com/distcc/distcc/issues/312
Apparently gcc will treat them like basic blocks and possibly move them around. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
| |