Use 1UL constant in order to not overflow (PR c++/89383).

2019-02-18  Martin Liska  <mliska@suse.cz>

	PR c++/89383
	* line-map.c (linemap_line_start): Use 1UL in order
	to not overflow.

From-SVN: r268981
This commit is contained in:
Martin Liska
2019-02-18 09:46:19 +00:00
committed by Martin Liska
parent 469b4adb4f
commit a5f87af7ed
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
2019-02-18 Martin Liska <mliska@suse.cz>
PR c++/89383
* line-map.c (linemap_line_start): Use 1UL in order
to not overflow.
2019-02-11 Martin Liska <mliska@suse.cz>
PR lto/88147