On 12/12/2016 11:51 AM, Martin Sebor wrote:
The attached patch removes the unsafe assumption behind the ICE. Is this okay for both trunk and GCC 6?
+ && TREE_CODE (innertype) == REFERENCE_TYPE + && TREE_CODE (TREE_TYPE (innertype)) == FUNCTION_TYPE + && TREE_CODE (innertype) == REFERENCE_TYPE
Let's also remove this redundant REFERENCE_TYPE check. OK with that change. Jason