Summary: | False warning: 'control reaches end of non-void function' when comparing to undefined var | ||
---|---|---|---|
Product: | gcc | Reporter: | Jeff Donner <jeffrey.donner> |
Component: | middle-end | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | NEW --- | ||
Severity: | minor | CC: | gcc-bugs, proljc, sjames |
Priority: | P3 | Keywords: | diagnostic |
Version: | 4.6.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | 4.1.2, 4.3.2 | Last reconfirmed: | 2021-08-10 00:00:00 |
Description
Jeff Donner
2010-05-13 04:56:41 UTC
Occurs in GCC 4.5.1 also. >The warning does not occur in 4.4.3.
For C, it does. And it warns in 4.1.2 also.
Confirmed.
|