Handle a location with NULL as a file (PR driver/90495)
authorMartin Liska <mliska@suse.cz>
Fri, 17 May 2019 07:22:00 +0000 (09:22 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 17 May 2019 07:22:00 +0000 (07:22 +0000)
commit804424b95b112cd334ae29d942351e4c4e24ba94
treece61600a07fbbfc9e2f05bfa8fcf8e78bbdd92aa
parente2014c8b3c75ab6558a4504e8d622c2a55cce9fa
Handle a location with NULL as a file (PR driver/90495)

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

PR driver/90495
* 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: r271312
gcc/ChangeLog
gcc/toplev.c