[Bug tree-optimization/104825] [12 Regression] ICE in ao_ref_init_from_ptr_and_range, at tree-ssa-alias.cc:840
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 8 08:56:09 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104825
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:dc46350d44c2949ec38deb028960f8040f8e8e5d
commit r12-7531-gdc46350d44c2949ec38deb028960f8040f8e8e5d
Author: Richard Biener <rguenther@suse.de>
Date: Tue Mar 8 08:42:58 2022 +0100
tree-optimization/104825 - guard modref query
The following makes sure to guard the modref query in VN on a
pointer typed argument.
2022-03-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/104825
* tree-ssa-sccvn.cc (visit_reference_op_call): Properly
guard modref get_ao_ref on a pointer typed argument.
* gcc.dg/torture/pr104825.c: New testcase.
More information about the Gcc-bugs
mailing list