https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78562
--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> --- On Mon, 28 Nov 2016, gjl at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78562 > > --- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- > Thanks for looking into it. > > IIUC it's a backend issue. > > config/avr/builtins.def sets library names for some built-ins, and some > libnames are the same because the libgcc asm code is exactly the same, even if > the used types on C level are different. > > So the fix for this one would be to use different asm names (pointing to the > same code)? Yes, using aliases would be a good workaround. Richard.