[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 1 15:48:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
IMHO much better would be to call gimple_call_builtin_p (call, BUILT_IN_NORMAL)
(for non-internal functions) and only treat those as builtins if that function
returned true. That checks both the number of arguments, roughly their types
etc.
More information about the Gcc-bugs
mailing list