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


On Thu, Aug 7, 2008 at 11:59 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Aug 7, 2008 at 9:57 AM, Richard Henderson <rth@twiddle.net> wrote:
>> H.J. Lu wrote:
>>>
>>> Can you try
>>>
>>> [hjl@gnu-33 gcc]$ make check-gcc RUNTESTFLAGS="pch.exp --target_board
>>> 'unix{-m32}'"
>>
>> All passes here.
>>
>
> I updated a testcase to
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37033
>

The bug goes like this:

1. Assembler supports CFI directives.
2. PCH generates PCH file with __GCC_HAVE_DWARF2_CFI_ASM defined.
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

save-temps-1.c:2:26: warning: save-temps-1.h.gch: not used because
`__GCC_HAVE_DWARF2_CFI_ASM' not defined


-- 
H.J.


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