Skip to content

OffloadMigration: Fix -Wchanges-meaning errors from newer GCC#1352

Merged
bogner merged 1 commit into
llvm:mainfrom
Traverse-Research:gcc-fix
Jul 24, 2026
Merged

OffloadMigration: Fix -Wchanges-meaning errors from newer GCC#1352
bogner merged 1 commit into
llvm:mainfrom
Traverse-Research:gcc-fix

Conversation

@MarijnS95

Copy link
Copy Markdown
Collaborator

Simply shorten the field names from Buffer -> Buf and Texture -> Tex so that they no longer conflict with the same type name, allowing the framework to be compiled once again. A similar issue was fixed earlier in #1095.

@MarijnS95
MarijnS95 requested a review from manon-traverse July 1, 2026 08:54
Comment thread lib/Support/OffloadMigration.cpp Outdated
@MarijnS95
MarijnS95 force-pushed the gcc-fix branch 2 times, most recently from 1060293 to 4e7339a Compare July 14, 2026 20:35
@MarijnS95
MarijnS95 force-pushed the gcc-fix branch 2 times, most recently from 4f82531 to 63c4499 Compare July 23, 2026 22:08
Simply shorten the field names from `Buffer` -> `Buf` and `Texture` ->
`Tex` so that they no longer conflict with the same type name, allowing
the framework to be compiled once again.
@bogner
bogner merged commit 108e127 into llvm:main Jul 24, 2026
32 of 33 checks passed
@MarijnS95
MarijnS95 deleted the gcc-fix branch July 24, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants