https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63459
--- Comment #6 from Jan Hubicka <hubicka at ucw dot cz> --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63459 > > --- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> --- > Hi, > does something like this make sense (I also updated the DECL_BY_REFERENCE > check. > We allow to put variable at address NULL with -fno-delete-null-pointer-checks > that IMO can let me to pass it by reference. Hmm, actually in C++ one always gets a local copy. I wonder if other languages use it, but until one is found, I guess we do not need that test. Honza