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: [PATCH] Fix PR45945


On Sun, Oct 10, 2010 at 4:48 PM, Uros Bizjak <ubizjak@gmail.com> wrote:

>> + static inline void
>> + bar (unsigned *u)
>> + {
>> + ? __asm__ ("":"=d" (*u));
>> + }
>
> "=d" is not universally accepted ASM constraint.

2010-10-10  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.dg/lto/20101009-1_0.c (bar): Fix asm constraints.

Tested on x86_64-pc-linux-gnu and alphaev68-pc-linux-gnu. Committed to
SVN mainline.

Uros.

Attachment: t.diff.txt
Description: Text document


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