diff options
| author | Richard Biener <rguenther@suse.de> | 2026-02-06 09:26:37 +0100 |
|---|---|---|
| committer | Richard Biener <rguenther@suse.de> | 2026-02-06 11:50:26 +0100 |
| commit | 48e114ee2a0d5b19796f4f03644d9d9925379e1f (patch) | |
| tree | 8ed2b81b7085eda96f991f5ac57ef724bf51be36 /libjava/gnu/java | |
| parent | ae04c1afd1526a6d468777809c50a9d02816ded9 (diff) | |
| download | gcc-48e114ee2a0d5b19796f4f03644d9d9925379e1f.zip gcc-48e114ee2a0d5b19796f4f03644d9d9925379e1f.tar.gz gcc-48e114ee2a0d5b19796f4f03644d9d9925379e1f.tar.bz2 | |
tree-optimization/114274 - avoid stray BLOCK refrence from CSWTCH vars
The following removes the location from CSWTCH variables which are
DECL_IGNORED_P and have no DECL_CONTEXT. The location is currently
taken from the gswitch statement and thus includes a BLOCK reference
which can eventually be elided and GCd, causing later ICEs when
ICF decides to merge the variable with some other.
PR tree-optimization/114274
* tree-switch-conversion.cc (switch_conversion::build_one_array):
Use UNKNOWN_LOCATION for the CSWTCH decl.
Diffstat (limited to 'libjava/gnu/java')
0 files changed, 0 insertions, 0 deletions
