[PATCH] Move resolution file handling to gcc.c, fix PRs 43857, 43371

Richard Guenther rguenther@suse.de
Sun May 9 10:31:00 GMT 2010


On Sun, 9 May 2010, Eric Botcazou wrote:

> > 2010-05-06  Richard Guenther <rguenther@suse.de>
> >
> > 	* gcc.c (LINK_COMMAND_SPEC): Provide a resolution file to
> > 	the linker plugin.
> > 	(store_arg): Queue temp_filename for deletion instead of
> > 	the whole argument.
> 
> This broke -pipe:
> 
> eric@atlantis:~/gnat/gnat-head/native32> cat t.c
> int i;
> eric@atlantis:~/gnat/gnat-head/native32> gcc/xgcc -Bgcc -c t.c -pipe
> Segmentation fault

Bah.  I have reverted the store_arg change and will propose
sth else to handle -plugin-arg=-fresolution-file=/tmp/xxxx.

Richard.



More information about the Gcc-patches mailing list