[Bug debug/93888] Incorrect DW_AT_location generated for copy-constructed function argument

2020-03-04 Thread mgulick at mathworks dot com
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.

[Bug debug/93888] New: Incorrect DW_AT_location generated for copy-constructed function argument

2020-02-22 Thread mgulick at mathworks dot com
: 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=edit reproducer code, gdb test scr

[Bug preprocessor/83173] C preprocessor generates incorrect linemarkers

2018-11-27 Thread mgulick at mathworks dot com
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.

[Bug preprocessor/83173] C preprocessor generates incorrect linemarkers

2018-11-02 Thread mgulick at mathworks dot com
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

[Bug preprocessor/83173] C preprocessor generates incorrect linemarkers

2018-10-26 Thread mgulick at mathworks dot com
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

[Bug preprocessor/83173] C preprocessor generates incorrect linemarkers

2018-02-14 Thread mgulick at mathworks dot com
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:

[Bug preprocessor/83173] C preprocessor generates incorrect linemarkers

2017-11-29 Thread mgulick at mathworks dot com
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

[Bug preprocessor/83173] C preprocessor generates incorrect linemarkers

2017-11-27 Thread mgulick at mathworks dot com
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

[Bug preprocessor/83173] New: C preprocessor generates incorrect linemarkers

2017-11-26 Thread mgulick at mathworks dot com
: 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=edit invalid linemarker reproduction source code GCC is generating incorr