Bug 168912
Summary: | bogus gcc4.0.1 "may be used uninitialized" warnings | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Hollis <goemon> | ||||
Component: | gcc4 | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | Keywords: | Regression | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-09-21 08:44:05 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Dan Hollis
2005-09-21 08:37:23 UTC
Created attachment 119067 [details]
gcc4 bogus warning test case
The warning says it may be unitialized, not that it is unitialized. Making the warning 100% accurrate is NP-complete problem, GCC just uses a simple algorithm. ok, how do i tell gcc to ignore the error for just that portion of code where I know it fails? i don't want to ignore warnings for entire sourcefiles. gcc before 4.0.1 didn't produce this error. Warnings are selectable just on a compilation unit granularity ATM, so no, you can't disable the warnings just for a part of the file. |