This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Improve debug info for small structures passed by reference
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Mon, 17 Jun 2013 09:51:56 +0200
- Subject: Re: [patch] Improve debug info for small structures passed by reference
- References: <15074732 dot mILDtaeVB4 at polaris> <20130616111206 dot GO2336 at tucnak dot redhat dot com> <2427506 dot Sbhc2YQMKN at polaris>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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