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: [PATCH] Add missing parens


2009/10/20 Eric Botcazou <ebotcazou@adacore.com>:
>> Ok, applied to trunk with some minor changes to line-length at revision
>> 153033.
>
> Not clear why; morever they are not correct, the indentation is 2 spaces.

The indentation I kept, if you want you can correct it. The issue is,
that using macro DWARF_FRAME_REGNUM in case of example in dwarf2out.c
' if (DWARF_FRAME_REGNUM (i) == DWARF_FRAME_RETURN_COLUMN)' could
leads to wrong code. As there is a semantic difference between
'if ((TARGET_64BIT ? dbx64_register_map[i] : svr4_dbx_register_map[i])
== DWARF_FRAME_RETURN_COLUMN)
and
if (TARGET_64BIT ? dbx64_register_map[i] : svr4_dbx_register_map[i] ==
DWARF_FRAME_RETURN_COLUMN)


Cheers,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


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