Summary: | Incorrect message description of -Wunused-value | ||
---|---|---|---|
Product: | gcc | Reporter: | Chengnian Sun <chengniansun> |
Component: | c | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | NEW --- | ||
Severity: | normal | CC: | manu |
Priority: | P3 | Keywords: | diagnostic |
Version: | 5.0 | ||
Target Milestone: | --- | ||
See Also: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107797 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2015-01-18 00:00:00 | |
Bug Depends on: | |||
Bug Blocks: | 89180 |
Description
Chengnian Sun
2015-01-17 18:59:08 UTC
(a = 0) >= 0; gets transformed into (a = 0); , 1; This is some undesired early folding. Hopefully we'll sort it out in GCC 6. |