http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55737
--- Comment #4 from GS <greenscape777 at gmail dot com> 2012-12-19 16:11:11 UTC --- Always nice to read friendly replies :). Sure I could. As I said, I'm not sure I was right in the first place. Just wanted to help to make gcc better than clang. Where I need no workarounds. Also, what about second case from my previous comment: enum { valueA = 0, valueB = (/1 > 2) ? int(1.0f / 0) : 1 }; Why doesn't this generate error, or at least warning? Thanks.