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++/29185] inconsistent warning: deleting array



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


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