https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70073
Douglas Bagnall <douglas.bagnall at catalyst dot net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Douglas Bagnall <douglas.bagnall at catalyst dot net.nz> --- (In reply to Andrew Pinski from comment #3) > This sounds more like an issue with samba's source if __attribute__ is being > defined away. Agreed. Presumably older GCCs were failing to notice or reasoning away the possible wrong return type. Thanks for the -g3 tip. I will reopen this in the unlikely event I find it is a real bug.