This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25509] can't disable __attribute__((warn_unused_result))
- From: "filbranden at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Jun 2015 13:37:47 +0000
- Subject: [Bug c/25509] can't disable __attribute__((warn_unused_result))
- Auto-submitted: auto-generated
- References: <bug-25509-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
--- Comment #35 from Filipe Brandenburger <filbranden at google dot com> ---
(In reply to Manuel LÃpez-IbÃÃez from comments)
Don't worry, I got what you mean...
Though I don't think coming up with code to fix it is the issue here, in
comment #10 a patch was provided (which admittedly I haven't tested personally)
to turn a void cast into a temporary assignment (which I believe would have
been optimized out later in the pipeline) so I wonder why that hasn't really
gone forward...
Cheers,
Filipe