This is the mail archive of the gcc-patches@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]

Re: C++: delete of incomplete type is undefined, not ill-formed


On May 16, 2002, Fergus Henderson <fjh@cs.mu.oz.au> wrote:

> On 16-May-2002, Alexandre Oliva <aoliva@redhat.com> wrote:

>> Thanks for reminding me that undefined behavior can indeed abort the
>> translation of the program.  I keep forgetting this :-(

> Only if the undefined behaviour actually occurs.

Yeah...  Which is precisely the reason why I keep forgetting this,
given how hard (impossibly in general) to determine whether something
will executed for sure or not.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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