https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64787
vehre at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vehre at gcc dot gnu.org --- Comment #1 from vehre at gcc dot gnu.org --- This bug does not depend on the optimization level. It segfaults reliably with -O0 (-g), too. The reason for the segfault from looking at the tree dump seems to be, that the vptr->copy() routine is called with two arguments only, but the routine stored in vptr->copy for copying a character-array is expecting 4 arguments (the pointers to the array starts and the length of the data).