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: update dwarf2 asm unwind info


Hi Richard,

It doesn't work on gcc.dg/pch/valid-1b.c since it explicitly tests -g vs -g0:

[hjl@gnu-6 testsuite]$ cat gcc.dg/pch/valid-1b.c
/* { dg-options "-I. -Winvalid-pch -g0" } */

#include "valid-1b.h"

int x;
[hjl@gnu-6 testsuite]$


H.J.
On Thu, Aug 7, 2008 at 1:09 PM, Richard Henderson <rth@twiddle.net> wrote:
> H.J. Lu wrote:
>>
>> 3. When -E is used on the PCH file, __GCC_HAVE_DWARF2_CFI_ASM
>> isn't defined since no CFI directive is ever used and we get
>
> I see.  Well, there's really not reason not to pass along the -g
> option to the preprocessing step, which fixes this with the test
> case in your PR.  I've no idea why the same test passes for me
> in the testsuite...
>
>


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