Follow-up Comment #12, bug #42717 (project gnustep): > both being caused by a compiler that crashes when calling > a method on nil that returns a structure type
My understanding is that the behavior when calling a method expected to return a struct on a nil receiver is (and has always been) undefined. Certainly I know that it has always crashed on sparc machines. So I think it's a bit harsh to refer to a change in the undefined behavior as a new compiler bug .... I expect any code calling a method which returns a struct ought to check that the receiver is non-null fist. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42717> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnustep