Bug 27074 - Bootstrap fails on i686-pc-linux-gnu
Summary: Bootstrap fails on i686-pc-linux-gnu
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.2.0
: P3 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 12:42 UTC by Jorn Wolfgang Rennecke
Modified: 2006-04-12 11:59 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-04-12 11:59:30


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorn Wolfgang Rennecke 2006-04-07 12:42:00 UTC
See http://gcc.gnu.org/ml/gcc/2006-04/msg00055.html
Comment 1 Andrew Pinski 2006-04-07 15:11:05 UTC
File this first with gdb as it is gdb's sources which are have the warning in it, if they say the warning is bogus, file a real bug report with the preprocessed source.
Comment 2 Jorn Wolfgang Rennecke 2006-04-07 18:07:18 UTC
 (In reply to comment #1)
> File this first with gdb as it is gdb's sources which are have the warning in
> it, if they say the warning is bogus, file a real bug report with the
> preprocessed source.
 
When you look at the code, the warning is obviously spurious.
But we know that uninitialized warnings cannot be made reliable, so it is
unclear if you can call it bogus.
With the bootstrap building gdb with -Wuninitailized -Werror, we are basically asking for trouble.
AFAIK we have not documented any conding standards that tell how to write
code that can be compiled successfully with these options, so it seems disingenious to put the blame on the code in gdb.