Re: [PATCH] diagnostic: fix for older version of GCC

2025-06-24 Thread David Malcolm
On Tue, 2025-06-24 at 15:16 +0200, Marc Poulhiès wrote: > Having both an enum and a variable with the same name triggers an > error with > gcc 5. > > ChangeLog: > > * c/gcc/diagnostic-state-to-dot.cc > (get_color_for_dynalloc_state): > Rename argument dynalloc_state to dynalloc_st. >

[PATCH] diagnostic: fix for older version of GCC

2025-06-24 Thread Marc Poulhiès
Having both an enum and a variable with the same name triggers an error with gcc 5. ChangeLog: * c/gcc/diagnostic-state-to-dot.cc (get_color_for_dynalloc_state): Rename argument dynalloc_state to dynalloc_st. (add_title_tr): Rename argument style to styl. (on_xml_n