------- Comment #3 from sebor at roguewave dot com 2006-09-26 16:31 ------- The response I got from EDG is that the expression is well-formed because of 5, p8. They do agree that issuing a warning would be useful and opened an enhancement request.
FWIW, I think it should be ill-formed with diagnostic required since the behavior of the expression is always undefined. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29185