]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix comment typo in ao_ref_init_from_vn_reference
authorRichard Biener <rguenther@suse.de>
Tue, 13 Feb 2024 11:55:19 +0000 (12:55 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 13 Feb 2024 11:55:55 +0000 (12:55 +0100)
PR tree-optimization/113831
* tree-ssa-sccvn.cc (ao_ref_init_from_vn_reference): Fix
typo in comment.

gcc/tree-ssa-sccvn.cc

index 5a49390a79cbb5187522827571b7215399996bc7..95670ae2ed6d5d09737b4ba31d427a2d56992a57 100644 (file)
@@ -1288,7 +1288,7 @@ ao_ref_init_from_vn_reference (ao_ref *ref,
 
        case ARRAY_RANGE_REF:
        case ARRAY_REF:
-         /* Use the recored constant offset.  */
+         /* Use the recorded constant offset.  */
          if (maybe_eq (op->off, -1))
            max_size = -1;
          else