PR lto/64837: lto plugin doesn't call ld_plugin_release_input_file

Markus Trippelsdorf markus@trippelsdorf.de
Fri Feb 6 12:56:00 GMT 2015


On 2015.02.05 at 12:57 -0800, H.J. Lu wrote:
> 
> We should pass handle, not file, to release_input_file.
> I checked it in as an obvious fix.

This commit causes:

 % echo "int main () {}" | gcc -fuse-ld=gold -flto -x c++ -
ld.gold: internal error in remove_writer, at token.h:132
collect2: error: ld returned 1 exit status

-- 
Markus



More information about the Gcc-patches mailing list