------- Comment #7 from pinskia at gcc dot gnu dot org 2006-02-06 20:24 ------- (In reply to comment #6) > Note, I didn't change the status of the bug yet. > And you are absolutely right about the behavior of fundamental types. But I > still encounter a problem with classes. > Can you explain the behavior of gcc in the following example?
That was a bug in GCC before 4.1.0 and has been fixed in 4.1.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26110