https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93888
--- Comment #5 from Mike Gulick ---
Thanks Jakub! I can confirm that this fixes the issue for me.
: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: mgulick at mathworks dot com
Target Milestone: ---
Created attachment 47889
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47889&action=edit
reproducer code, g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83173
--- Comment #6 from Mike Gulick ---
(In reply to Pádraig Brady from comment #5)
> Seeing this also with GCC 7.3. Will try proposed patches
Latest version of patch and test:
Patch: https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00557.html
Test: h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83173
--- Comment #10 from Mike Gulick ---
In hopes of seeing some progress on this bug, I will rebase the patches on the
latest gcc master branch and re-test. I will also refactor the main patch to
separate out the functional fix from the diagnostics
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83173
--- Comment #11 from Mike Gulick ---
(In reply to Mike Gulick from comment #10)
> In hopes of seeing some progress on this bug, I will rebase the patches on
> the latest gcc master branch and re-test. I will also refactor the main
> patch to sep
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83173
--- Comment #16 from Mike Gulick ---
(In reply to Eric Gallager from comment #15)
> So can this be closed as FIXED now?
Yes, fixed by r266516.
: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: mgulick at mathworks dot com
Target Milestone: ---
Created attachment 42724
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42724&action=edit
invalid linemarker reproduction source code
GCC is gen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83173
--- Comment #1 from Mike Gulick ---
Just a minor update. I re-tested the reproducer on gcc 5.4 as well as 4.9.2,
and the issue is present in both of those. I had originally thought the bug
was not present in gcc 5.4 or earlier, however this is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83173
--- Comment #2 from Mike Gulick ---
I have made some progress in determining the cause of this bug. This issue
occurs when the current source_location is > LINE_MAP_MAX_LOCATION_WITH_COLS
and when a #include is the last line in the file (with a