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/53277] -Wconversion cannot handle compound expresions


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;
}


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