[Bug sanitizer/93436] [9/10 Regression] ICE during GIMPLE pass: sanopt with -fsanitize=address -fdump-tree-sanopt
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 26 21:29:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93436
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Marek Polacek <mpolacek@gcc.gnu.org>:
https://gcc.gnu.org/g:ab6cd364eda21d3d24a4df0072c588cc68ff61e0
commit r10-6235-gab6cd364eda21d3d24a4df0072c588cc68ff61e0
Author: Marek Polacek <polacek@redhat.com>
Date: Sat Jan 25 19:02:11 2020 -0500
sanopt: Avoid crash on anonymous parameter [PR93436]
Here we crash when using -fsanitize=address -fdump-tree-sanopt because
the dumping code uses IDENTIFIER_POINTER on a null DECL_NAME. Instead,
we can print "<anonymous>" in such a case. Or we could avoid printing
that diagnostic altogether.
2020-01-26 Marek Polacek <polacek@redhat.com>
PR tree-optimization/93436
* sanopt.c (sanitize_rewrite_addressable_params): Avoid crash on
null DECL_NAME.
More information about the Gcc-bugs
mailing list