[Ltrace-devel] glob.c: In function 'globcomp': error: 'regex' may be used uninitialized in this function [-Werror=maybe-uninitialized]
Petr Machata
pmachata at redhat.com
Fri Nov 9 15:45:38 UTC 2012
Petr Machata <pmachata at redhat.com> writes:
> Sedat Dilek <sedat.dilek at gmail.com> writes:
>> One more thoughts on broken or golden toolchain... gcc's optimization-level.
>> The Freetz router project uses aggressive "-Os" by default... I could
>> try more commonly used "-O2".
>
> You are right, it is the -Os that causes this, and it hits on final gcc
> as well. I'll see what I can do.
I'm pretty sure this is spurious. At some point in minimization I could
make the warning to go away by removing a pair of braces with no effect
on actual semantics at all. But whatever. I commited a workaround.
Thanks,
PM
More information about the Ltrace-devel
mailing list