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 #7 from sebor at roguewave dot com  2006-09-26 21:43 -------
You're right, those weren't the best examples, but I still think they
illustrate the point. The code in them is plain ill-formed even though
it never gets executed, because it just doesn't make sense. deleting
an array also doesn't make sense so it might as well be ill-formed.
I'll leave it to the committee to decide if that's a worthwhile change
to the language.


-- 


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]