This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26632] [4.1/4.2 Regression] spurious warning: value computed is not used
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Apr 2006 18:58:30 -0000
- Subject: [Bug middle-end/26632] [4.1/4.2 Regression] spurious warning: value computed is not used
- References: <bug-26632-153@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from mmitchel at gcc dot gnu dot org 2006-04-16 18:58 -------
I am glad that Neil agrees my oft-stated, but always-rejected, claim that only
the front ends should issue warnings. :-)
However, in this case, we can presumably fix the bug by setting TREE_NO_WARNING
on the cast expression, which, one hopes, is generated by the front end.
In any case, this is definitely a bug.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26632