Re: [PATCH] Silence up a false positive warning in libiberty (PR middle-end/56526)

2013-03-05 Thread Ian Lance Taylor
On Tue, Mar 5, 2013 at 2:52 AM, Jakub Jelinek wrote: > > 2013-03-05 Jakub Jelinek > > PR middle-end/56526 > * simple-object-mach-o.c (simple_object_mach_o_segment): Initialize > wrapper_sect_offset to avoid a warning. This is OK. Thanks. Ian

[PATCH] Silence up a false positive warning in libiberty (PR middle-end/56526)

2013-03-05 Thread Jakub Jelinek
Hi! While wrapper_sect_offset is always initialized if (gnu_sections_found & SOMO_WRAPPING) != 0 and used only guarded with that same condition, as the PR says apparently we get a false positive maybe uninitialized warning for it still. I'd say it is a good programming style to just initialize su