------- Comment #6 from marti at juffo dot org 2009-10-27 08:58 -------
(In reply to comment #5)
> These might not be bogus as there is extra inlining at -O3 which causes us to
> strip out the address taking and make search_table_entries, etc. look like
> real variables.
True, I have changed the summary.
The underlying problem I guess then is that packages use -Werror, but this
warning depends on specific settings of the optimizer which changes from user
to user.
But "don't use -Werror" or "don't use CFLAGS" is not a useful solution either.
Clearly many projects are affected by this.
--
marti at juffo dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|elfutils triggers bogus "may|elfutils fails with "may be
|be uninitialized" with -O3 -|uninitialized" with -O3 -
|mtune=k8 |mtune=k8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41817