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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-02-08
                 CC|                            |msebor at gcc dot gnu.org
            Summary|Internal compiler error for |[4.5/5/6/7 Regression]
                   |recursive template          |Internal compiler error for
                   |expansion                   |recursive template
                   |                            |expansion
     Ever confirmed|0                           |1
      Known to fail|                            |4.5.3, 4.8.3, 4.9.3, 5.3.0,
                   |                            |6.2.0, 7.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Bisection was slow but eventually came up with r149873 (gcc 4.5.0) as the
commit that likely introduced the SEGV.  Prior to it GCC failed with the
following error so the ICE is a regression.

t.C: In function ‘void nops() [with int N = 302]’:
t.C:11:2: error: template instantiation depth exceeds maximum of 500 (use
-ftemplate-depth-NN to increase the maximum) instantiating ‘void nops() [with
int N = 301]’

------------------------------------------------------------------------
r149873 | jason | 2009-07-21 23:32:30 -0400 (Tue, 21 Jul 2009) | 4 lines

        Core issue 934
        * call.c (reference_binding): Implement binding to { }.
        (initialize_reference): Binding temporary to non-const && is fine.
        * decl.c (grok_reference_init): Remove error for CONSTRUCTOR.

Reply via email to