On Sun, Feb 3, 2013 at 12:09 PM, Jan Hubicka <hubi...@ucw.cz> wrote: >> On 02/01/2013 12:38 AM, Jan Hubicka wrote: >> > Doing the extensions at caller side always is however IMO a preformance >> > bug in >> > GCC. We can definitly drop them at -Os, for non-PRS targets and for calls >> > within compilation unit where we know that GCC is not really producing >> > code like in Michael's testcase. >> >> Well we can, yeah, at the cost of breaking interworking with LLVM. >> Do we care? ;-) > > Yes, we (at least I) care ;) > The bug ought to be fixed at LLVM side, is there PR filled in? For time being > we can optimize local calls. I remember that in the past I ran over > benchmarks > where these extra casts was making us to lose compared to other compilers, so > it > is not 100% uninteresting detail. >
There are a couple bugs: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44490 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44532 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46942 -- H.J.