This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc/gcc ChangeLog dbxout.c
- From: Richard Henderson <rth at redhat dot com>
- To: uweigand at de dot ibm dot com
- Cc: rth at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 16 Feb 2005 18:50:29 -0800
- Subject: Re: gcc/gcc ChangeLog dbxout.c
- References: <20050216190129.4491.qmail@sourceware.org> <200502162339.j1GNdG3f013995@53v30g15.boeblingen.de.ibm.com>
On Thu, Feb 17, 2005 at 12:39:16AM +0100, uweigand@de.ibm.com wrote:
> This change
>
> + /* The N_FUN tag at the end of the function is a GNU extension,
> + which may be undesirable, and is unnecessary if we do not have
> + named sections. */
> + if (!use_gnu_debug_info_extensions
> + || NO_DBX_FUNCTION_END
> + || !targetm.have_named_sections
> + || DECL_IGNORED_P (decl))
> + return;
> +
> /* The Lscope label must be emitted even if we aren't doing anything
> else; dbxout_block needs it. */
> function_section (current_function_decl);
>
> breaks -gstabs output for the very reason mentioned in the above
> comment: dbxout_block will emit references to the Lscope label,
> which is now undefined after your change ...
>
> This causes gcc.dg/20041216-1.c to fail on s390.
Then revert the change and work with Stuart to come to some resolution.
r~