[PATCH: Bug debug/39527] wrong function name and line numbers with -g -O2 option

M R Swami Reddy MR.Swami.Reddy@nsc.com
Wed Apr 1 07:11:00 GMT 2009


Hello,
Could you please review the below patch? Is it ok for trunk?

Thanks
Swami

-------- Original Message --------
Subject: [PATCH: Bug debug/39527] wrong function name and line numbers with -g
-O2 option
Date: Tue, 24 Mar 2009 15:39:40 +0530
From: M R Swami Reddy <MR.Swami.Reddy@nsc.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>,  "binutils@sources.redhat.com"
<binutils@sources.redhat.com>

Patch to fix the PR 39527 for crx-elf target.
Ran the PR testcase and its working as expected and also ran the binutils tests.
No regressions.

Is this ok gcc trunk?

gcc/ChangeLog

          PR debug/39527
          * config/crx/crx.c (DWARF2_FRAME_INFO, PREFERRED_DEBUGGING_TYPE and
            DWARF2_ASM_LINE_DEBUG_INFO): Define

Thanks
Swami


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crx.h.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090401/a2a258c4/attachment.ksh>


More information about the Gcc-patches mailing list