This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84608] Hang in cxx_eval_constant_expression() with -fsanitize=undefined
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Feb 2018 08:44:23 +0000
- Subject: [Bug c++/84608] Hang in cxx_eval_constant_expression() with -fsanitize=undefined
- Auto-submitted: auto-generated
- References: <bug-84608-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84608
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |compile-time-hog
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-02-28
CC| |jason at gcc dot gnu.org,
| |nathan at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. I think potential_constant_expression_1 gets exponential with
lots of SAVE_EXPRs UBSAN introduces here. It should rather have a visited
map like walk_tree_without_duplicates.