[gcc r17-2658] gcn: Fix sram-ecc default for gfx9-4-generic

Tobias Burnus via Gcc-cvs <[email protected]>
Newsgroups gmane.comp.gcc.cvs
Message-ID <[email protected]>
https://gcc.gnu.org/g:ea513c3ef927ba892e1c7b14cc810b74996baca0

commit r17-2658-gea513c3ef927ba892e1c7b14cc810b74996baca0
Author: Tobias Burnus <[email protected]>
Date:   Thu Jul 23 11:40:32 2026 +0200

    gcn: Fix sram-ecc default for gfx9-4-generic
    
    gcc/ChangeLog:
    
            * config/gcn/gcn-devices.def (gfx9-4-generic): Set sram-ecc
            default to HSACO_ATTR_ANY.

Diff:
---
 gcc/config/gcn/gcn-devices.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/gcn/gcn-devices.def b/gcc/config/gcn/gcn-devices.def
index f8b36b51810e..ece603774121 100644
--- a/gcc/config/gcn/gcn-devices.def
+++ b/gcc/config/gcn/gcn-devices.def
@@ -206,7 +206,7 @@ GCN_DEVICE(gfx9-generic, GFX9_GENERIC, 0x051, ISA_GCN5,
 
 GCN_DEVICE(gfx9-4-generic, GFX9_4_GENERIC, 0x05f, ISA_CDNA3,
 	   /* XNACK default */ HSACO_ATTR_ANY,
-	   /* SRAM_ECC default */ HSACO_ATTR_UNSUPPORTED,
+	   /* SRAM_ECC default */ HSACO_ATTR_ANY,
 	   /* WAVE64 mode */ HSACO_ATTR_UNSUPPORTED,
 	   /* CU mode */ HSACO_ATTR_UNSUPPORTED,
 	   /* Max ISA VGPRs */ 256,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.