NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/57829: pci_subr.c: gcc -O failed 'str' may be used uninitialized in this function



this is a compiler bug and doesn't occur with -O2.  the condition
is impossible and can't happen but plain -O doesn't detect it.

i don't think we should commit the patch, but if necessary, add
some hack to detect GCC + -O, but i only saw this when forcing
builds to use -O instead of -O2, so i'd rather avoid anything
at all if it can be fixed not forcing -O.


.mrg.


Home | Main Index | Thread Index | Old Index