On Mon, Jun 17, 2013 at 09:46:30AM +0200, Eric Botcazou wrote: > > This really should come with testcases (e.g. guality ones). > > guality testcases are barely maintainable, especially on non-x86 platforms, > so > I'd rather not enter this business. I'll discuss with Joel and see whether > we > can coordinate with the GDB side.
Especially if it is -O0 only, I don't see why you think so. Just dg-skip-if it for -O1+ if you believe it is unreliable for some reason, but if you look at the parameter value after the prologue, not showing the right value at -O0 would be a serious bug everywhere. Having some GDB testcase also doesn't hurt, but having it in GCC testsuite has significant advantages over that, most GCC developers don't run GDB testsuite after any changes they do. Jakub