re PR lto/89896 (-flto=4 is confused by presence of 'all.c' in a local directory. -flto=1 is not.)

2019-04-03  Richard Biener  <rguenther@suse.de>

	PR lto/89896
	* lto-wrapper.c (run_gcc): Avoid implicit rules making
	the all target phony.

From-SVN: r270112
This commit is contained in:
Richard Biener 2019-04-03 08:46:00 +00:00 committed by Richard Biener
parent a337918676
commit bb52a82aff
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2019-04-03 Richard Biener <rguenther@suse.de>
PR lto/89896
* lto-wrapper.c (run_gcc): Avoid implicit rules making
the all target phony.
2019-04-02 Uroš Bizjak <ubizjak@gmail.com>
PR target/89902

View File

@ -1665,7 +1665,9 @@ cont:
struct pex_obj *pex;
char jobs[32];
fprintf (mstream, "all:");
fprintf (mstream,
".PHONY: all\n"
"all:");
for (i = 0; i < nr; ++i)
{
int j = ltrans_priorities[i*2 + 1];