Re: [PR 48333] avoid -fcompare-debug errors from builtins in MEM attrs

2011-06-03 Thread Richard Guenther
On Fri, Jun 3, 2011 at 4:17 AM, Alexandre Oliva wrote: > Ping?  This fixes a case in which -g might change the executable code, > exposed with bootstrap-debug-lean. > > On Apr  2, 2011, Alexandre Oliva wrote: > >>       PR debug/48333 >>       * calls.c (emit_call_1): Prefer the __builtin declara

Re: [PR 48333] avoid -fcompare-debug errors from builtins in MEM attrs

2011-06-02 Thread Alexandre Oliva
Ping? This fixes a case in which -g might change the executable code, exposed with bootstrap-debug-lean. On Apr 2, 2011, Alexandre Oliva wrote: > PR debug/48333 > * calls.c (emit_call_1): Prefer the __builtin declaration of > builtin functions. http://gcc.gnu.org/ml/gcc-patc

[PR 48333] avoid -fcompare-debug errors from builtins in MEM attrs

2011-04-02 Thread Alexandre Oliva
I caught this with bootstrap-debug-lean, then realized a bug report was open about the same problem. When Jakub introduced MEM attrs for the MEMs that refer to the function to be called, it exposed a rare problem. Say we're compiling a translation unit that, in one function A, calls foo (availabl