------- Comment #4 from gdr at gcc dot gnu dot org 2005-11-26 07:44 ------- (In reply to comment #2) > Hmm, sort of. The call of g(i) also warns with "is used", although I > think it might deserve only a "may be used". But anyway I think that > this nevertheless has different causes. It's not the call creating > the problem, but the copy itself.
yes, how a is copy not a use? At the very list, on modern architectures, it implies memory->register->memory traffic of garbage data. -- gdr at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gdr at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22197