This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27370] [4.0 Regression] Bogus warning about ignoring function return value (__attribute__ ((warn_unused_result)))
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 May 2006 00:09:33 -0000
- Subject: [Bug c++/27370] [4.0 Regression] Bogus warning about ignoring function return value (__attribute__ ((warn_unused_result)))
- References: <bug-27370-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from janis at gcc dot gnu dot org 2006-05-02 00:09 -------
The warning for the original testcase went away with this patch:
r81764 | dnovillo | 2004-05-13 06:41:07 +0000 (Thu, 13 May 2004) | 3 lines
Merge tree-ssa-20020619-branch into mainline.
http://gcc.gnu.org/viewcvs?view=rev&rev=81764
Ouch! I've got another reghunt going to find out when the warning started
being issued again between 4.0 and 4.1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27370