Re: [PATCH 1/2] libdw: ensure read_encoded_value's value is set

2015-02-12 Thread Josh Stone
On 02/12/2015 03:32 AM, Mark Wielaard wrote: > On Thu, 2015-02-12 at 00:22 +0100, Petr Machata wrote: >> Josh Stone writes: >> >>> With CFLAGS='-Og -g', F21 gcc hits -Werror=maybe-uninitialized in >>> read_encoded_value at "*result += value". It's fine with -O2/-O0. >>> >>> By my inspection, the

Re: [PATCH 1/2] libdw: ensure read_encoded_value's value is set

2015-02-12 Thread Mark Wielaard
On Thu, 2015-02-12 at 00:22 +0100, Petr Machata wrote: > Josh Stone writes: > > > With CFLAGS='-Og -g', F21 gcc hits -Werror=maybe-uninitialized in > > read_encoded_value at "*result += value". It's fine with -O2/-O0. > > > > By my inspection, the only way those don't set value are for error > >