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 c/25509] can't disable __attribute__((warn_unused_result))


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

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