Handle a location with NULL as a file (PR driver/90496)

2019-05-17  Martin Liska  <mliska@suse.cz>

	PR driver/90496
	* toplev.c (output_stack_usage): With LTO and sanitizer it
	happens that a global ctor (_GLOBAL__sub_I_00099_0_main)
	has no file location.

From-SVN: r271313
This commit is contained in:
Martin Liska 2019-05-17 07:24:28 +00:00
parent 804424b95b
commit dc2e58c56f

View File

@ -1,6 +1,6 @@
2019-05-17 Martin Liska <mliska@suse.cz>
PR driver/90495
PR driver/90496
* toplev.c (output_stack_usage): With LTO and sanitizer it
happens that a global ctor (_GLOBAL__sub_I_00099_0_main)
has no file location.