This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc/gcc ChangeLog dbxout.c


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]