aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorTobias Burnus <tburnus@baylibre.com>2025-02-07 10:44:18 +0100
committerTobias Burnus <tburnus@baylibre.com>2025-02-07 10:44:18 +0100
commitfa5544625d585a29463acce1f32a7f6fa13e3431 (patch)
tree7c5e6780f5677801102bbf66a5c5fe03f4f8c1c2 /gcc/tree-vectorizer.h
parent7722b65f877f5c6dccea56a711d75e2baedba5cb (diff)
downloadgcc-fa5544625d585a29463acce1f32a7f6fa13e3431.zip
gcc-fa5544625d585a29463acce1f32a7f6fa13e3431.tar.gz
gcc-fa5544625d585a29463acce1f32a7f6fa13e3431.tar.bz2
[gcn] Fix gfx906's sramecc setting
When compiling with -g, mkoffload.cc creates a device object file itself; however, in order that the linker dos not complain, the ELF flags must match what the compiler / linker does. For gfx906, the assembler defaults to sramecc = any, but gcn-devices.def contained unsupported, which is not the same - causing link errors. That's a regression caused by commit r15-4540-ga6b26e5ea09779 - which can be best seen by looking at the changes to mkoffload.cc. Additionally, this commit adds '...' to the GCN_DEVICE #define in gcn.cc to make it agnostic to the addition of fields. gcc/ChangeLog: * config/gcn/gcn-devices.def (GCN_DEVICE): Change sramecc for gfx906 to 'any'. * config/gcn/gcn.cc (GCN_DEVICE): Add tailing ... to #define.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions