https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80227

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Mar 23 14:39:47 2018
New Revision: 258811

URL: https://gcc.gnu.org/viewcvs?rev=258811&root=gcc&view=rev
Log:
        PR c++/80227 - SFINAE and negative array size.

        * decl.c (compute_array_index_type): Convert to signed for negative
        check.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg8.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/decl.c
    branches/gcc-7-branch/gcc/testsuite/g++.dg/init/new44.C

Reply via email to