[Bug sanitizer/81929] [7/8 Regression] exponential slowdown in undefined behavior sanitizer for streaming
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 22 19:00:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81929
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Sep 22 19:00:03 2017
New Revision: 253108
URL: https://gcc.gnu.org/viewcvs?rev=253108&root=gcc&view=rev
Log:
PR sanitizer/81929
* tree.c (struct replace_placeholders_t): Add pset field.
(replace_placeholders_r): Call cp_walk_tree with d->pset as
last argument instead of NULL. Formatting fix.
(replace_placeholders): Add pset variable, add its address
into data. Pass &pset instead of NULL to cp_walk_tree.
* g++.dg/ubsan/pr81929.C: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/ubsan/pr81929.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/tree.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list