[patch] Fix problematic debug info for parameters at -O0

Eric Botcazou ebotcazou@adacore.com
Wed Jun 22 14:25:00 GMT 2016


> Do you really need the memset in there to reproduce it?
> Wouldn't asm volatile ("" : : "r" (&a[0]) : "memory");
> or something similar be enough?  Or if you need to clear something,
> clear much smaller part of the array?

Probably only the 128 first bytes, will change that.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list