Re: [PATCH 4/4] Add warning for non-constant memory models

2013-03-19 Thread Richard Henderson
On 03/16/2013 06:29 AM, Andi Kleen wrote: > +"Non constant memory model: Assuming __ATOMIC_SEQ_CST"); Warnings and error messages are all lower case. Otherwise it seems... well, I didn't want to say "ok", but certainly "unavoidable". r~

[PATCH 4/4] Add warning for non-constant memory models

2013-03-16 Thread Andi Kleen
From: Andi Kleen Non constant memory models drop HLE attribute bits. Since we had problems with this even in gcc code itself, like libstdc++ passing variables when not optimizing, add a warning for this case. Passed bootstrap and test on x86_64-linux. gcc/: 2013-03-15 Andi Kleen PR