------- Comment #9 from pinskia at gcc dot gnu dot org 2008-02-20 21:52 ------- (In reply to comment #7) > Why do you think the front-end doesn't know that the destructor is empty?
Because it is non trivial. Try it with a more complex case where you have multiple layer destructors and inlining, you will see that the front-end does not know if it is empty until way after inlining. -- Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19661