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++/67795] Wrong code generated for conditional expression with cast


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67795

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
I would guess the issue is that ?: returns an rvalue (but that may not be 100%
correct if omitting the cast works and does not warn)


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