On 09/29/11 11:26, Richard Guenther wrote: > Maybe that was the PR the patch is about, but surely we can't treat > a memcpy (p, ..) like *p. Which means we'd use the declared type > of p only. And we can do so only for parameters (intermediate conversions > are dropped), which would make the case apply to artificial testcases only > (and thus not worth).
Didn't we used to do exactly that, though? Googling shows http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325670 but I seem to remember PRs in gcc bugzilla marked not a bug. Or maybe my memory is playing tricks on me. Bernd