https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69156
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-01-06 CC| |mpolacek at gcc dot gnu.org Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- The new ICE started with r230484: commit 3a18d05c6e55490e20387ffed5a7a41582cd4f38 Author: rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue Nov 17 18:47:44 2015 +0000 Add genmatch support for internal functions This patch makes genmatch match calls based on combined_fn rather than built_in_function and extends the matching to internal functions. It also uses fold_const_call to fold the calls to a constant, rather than going through fold_builtin_n. In order to slightly simplify the code and remove potential ambiguity, the patch enforces lower case for tree codes (foo->FOO_EXPR), caps for functions (no built_in_hypot->BUILT_IN_HYPOT) and requires an exact match for user-defined identifiers. The first two were already met in practice but there were a couple of cases where operator lists were defined in one case and used in another.