]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
gcc: fix incorrect preprocessor line numbers in large files
authorYash Shinde <Yash.Shinde@windriver.com>
Wed, 21 May 2025 14:02:25 +0000 (07:02 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 May 2025 07:50:19 +0000 (08:50 +0100)
commit3b22793f4bdee25b87dda03574f65e3441d230ba
tree4e60f4dc8e871191c2d1c774c4c98b6a1b01d231
parent07f6ebadf0bc4a90bdba9106df7fb55be8d76ffd
gcc: fix incorrect preprocessor line numbers in large files

Resolve static assertion failures caused by incorrect line numbers
after #include directives, introduced by the backport of PR108900 to GCC.
Update line map handling to correctly compute locations in large files,
including fixes for both LC_ENTER and LC_LEAVE to ensure accurate
line number resolution in rare edge cases.

https://gcc.gnu.org/cgit/gcc/commit/?id=edf745dc519ddbfef127e2789bf11bfbacd300b7

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-15.1.inc
meta/recipes-devtools/gcc/gcc/0026-fix-incorrect-preprocessor-line-numbers.patch [new file with mode: 0644]