This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH take 2]: Fix a few remaining -Wc++-compat warnings
"Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
> On Sat, 28 Jun 2008, Ian Lance Taylor wrote:
>
>> "Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
>>
>> > 2008-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>> >
>> > * alloc-pool.c (create_alloc_pool): Fix -Wc++-compat warnings.
>> > * df-scan.c (df_notes_rescan): Likewise.
>> > * ggc-page.c (set_page_table_entry): Likewise.
>> > * intl.c (gcc_gettext_width): Likewise.
>> > * varasm.c (get_unnamed_section, get_noswitch_section,
>> > get_section): Likewise.
>>
>> This is OK.
>> Thanks.
>> Ian
>
> Thanks, installed. Any comments on the questions I raised, especially #2?
As far as I can see, unnamed_section is the largest field in the
union, plus we only create a fixed number of those structures. I
doubt the change in the allocated size is meaningful.
I haven't looked at the remaining cases yet.
Ian