This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/26632] [4.1/4.2 Regression] spurious warning: value computed is not used



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]