This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/53277] -Wconversion cannot handle compound expresions
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 May 2012 15:52:48 +0000
- Subject: [Bug c/53277] -Wconversion cannot handle compound expresions
- Auto-submitted: auto-generated
- References: <bug-53277-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277
--- Comment #15 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-05-09 15:52:48 UTC ---
A simpler testcase:
int main() {
char i = 1;
char x = ((void) i, 0);
x = i ? x : ((void) i, 0);
return 0;
}