[PATCH take 2]: Fix a few remaining -Wc++-compat warnings

Ian Lance Taylor iant@google.com
Sun Jun 29 17:18:00 GMT 2008


"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



More information about the Gcc-patches mailing list