Bug 235591

Summary: Enable gcc warnings for array index checking?
Product: [openSUSE] openSUSE 10.3 Reporter: Stefan Dirsch <sndirsch>
Component: OtherAssignee: Marcus Meissner <meissner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dcb314, dmueller, matz, rguenther
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 240922    

Description Stefan Dirsch 2007-01-16 22:16:05 UTC
I wonder whether we should we enable gcc warnings for array index checking (RPM_OPT_FLAGS) - given that gcc bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8268 ever gets fixed - and even trigger a fatal build error? I think we could safe David's resources (rebuilding each package and filing bugreports) and Novell's resources (bugreport handling) as well. Yes, this bug is similar to Bug #233655.
Comment 1 Stefan Dirsch 2007-01-16 22:17:00 UTC
*** Bug 152088 has been marked as a duplicate of this bug. ***
Comment 2 Marcus Meissner 2007-01-16 22:20:18 UTC
as soon as dirk gets the patch into mainline gcc ;)

(There just is no warning at this time.)

and we get gcc 4.3 ... ;)
Comment 3 Dirk Mueller 2007-01-18 13:14:28 UTC
the patch is in mainline, it could be backported (off by default). but thats not my decision. 
Comment 4 Holger Macht 2007-01-26 09:29:47 UTC
*** Bug 229026 has been marked as a duplicate of this bug. ***
Comment 5 Stefan Dirsch 2007-01-26 11:37:58 UTC
*** Bug 239169 has been marked as a duplicate of this bug. ***
Comment 6 Dirk Mueller 2007-01-31 20:38:00 UTC
has been submitted to BETA. 
Comment 7 Richard Biener 2007-01-31 22:16:04 UTC
Not yet.  But next time.
Comment 8 Daniel Bornkessel 2007-02-14 19:07:56 UTC
*** Bug 144608 has been marked as a duplicate of this bug. ***
Comment 9 Petr Gajdos 2007-03-08 11:00:40 UTC
*** Bug 231161 has been marked as a duplicate of this bug. ***
Comment 10 Holger Hetterich 2007-03-18 18:22:16 UTC
*** Bug 231160 has been marked as a duplicate of this bug. ***
Comment 11 Petr Gajdos 2007-04-16 13:01:24 UTC
*** Bug 229908 has been marked as a duplicate of this bug. ***
Comment 12 Cyril Hrubis 2007-10-11 16:00:54 UTC
*** Bug 155809 has been marked as a duplicate of this bug. ***
Comment 13 Marcus Meissner 2007-10-12 09:23:07 UTC
unfortunately there are quite a number of false positives.
Comment 14 David Binderman 2007-10-23 16:08:20 UTC
(In reply to comment #13 from Marcus Meissner)
> unfortunately there are quite a number of false positives.

An example ?

Feel free to report a bug in gcc.

Lots of bugs in Suse Linux depend on this being fixed.