diff options
author | Richard Biener <rguenther@suse.de> | 2024-05-23 13:33:15 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-05-23 14:38:49 +0200 |
commit | f0a02467bbc35a478eb82f5a8a7e8870827b51fc (patch) | |
tree | 2bd554b0bd652af469d52dd8a0421ddb1b6acc0a /gcc/cp/module.cc | |
parent | 61f5b3c59ed20438d7d9918d7a83d29a21097d4e (diff) | |
download | gcc-f0a02467bbc35a478eb82f5a8a7e8870827b51fc.zip gcc-f0a02467bbc35a478eb82f5a8a7e8870827b51fc.tar.gz gcc-f0a02467bbc35a478eb82f5a8a7e8870827b51fc.tar.bz2 |
tree-optimization/115199 - fix PTA constraint processing for &ANYTHING LHS
When processing a &ANYTHING = X constraint we treat it as *ANYTHING = X
during constraint processing but then end up recording it as
&ANYTHING = X anyway, breaking constraint graph building. This is
because we only update the local copy of the LHS and not the constraint
itself.
PR tree-optimization/115199
* tree-ssa-structalias.cc (process_constraint): Also
record &ANYTHING = X as *ANYTING = X in the end.
* gcc.dg/torture/pr115199.c: New testcase.
Diffstat (limited to 'gcc/cp/module.cc')
0 files changed, 0 insertions, 0 deletions