Jakub,

Do you approve backporting this fix to the 6.x branch?

Martin

On 12/12/2016 08:53 PM, Jason Merrill wrote:
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



Reply via email to