This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11224] [3.3/3.4 regression] warning "value computed is not used" no longer emitted
- From: "mueller at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jun 2003 18:26:34 -0000
- Subject: [Bug c++/11224] [3.3/3.4 regression] warning "value computed is not used" no longer emitted
- References: <20030617175603.11224.mueller@kde.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11224
------- Additional Comments From mueller at kde dot org 2003-06-18 18:26 -------
adding __attribute__ ((pure)) or __attribute__ ((const)) makes no difference.
however, its indeed caused by the HAS_SIDEEFFECTS check, as further checking
has confirmed.