]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/99959 - fixup DECL_NONLOCAL_FRAME use
authorRichard Biener <rguenther@suse.de>
Fri, 13 Feb 2026 11:39:44 +0000 (12:39 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 13 Feb 2026 11:58:55 +0000 (12:58 +0100)
commit20a94796aecde232c87285e8c2eb081ccc0b949f
tree164c716fa3368f2a0e69bc133223b6d4a0c0f452
parenteb311dc3db842d5e2bd4215184a01099e0f26d6c
tree-optimization/99959 - fixup DECL_NONLOCAL_FRAME use

DECL_NONLOCAL_FRAME is only valid on VAR_DECL.

PR tree-optimization/99959
* tree-sra.cc (create_access_replacement): Guard DECL_NONLOCAL_FRAME
access.
gcc/tree-sra.cc