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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-03-01
                 CC|                            |dmalcolm at gcc dot gnu.org
   Target Milestone|---                         |6.5
            Summary|internal compiler error:    |[6/7/8 Regression] ICE:
                   |Segmentation fault          |segfault with NULL "from"
                   |(standard_conversion())     |in standard_conversion()
     Ever confirmed|0                           |1

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Confirmed.  Affects trunk, 6 and 7.

Started with r214396.

Segfault reading through NULL "from" here:

#0  0x0000000000801c7b in standard_conversion (to=<template_type_parm
0x7ffff1a079d8 auto:1>, from=<tree 0x0>, 
    expr=<call_expr 0x7ffff18ab9f0>, c_cast_p=false, flags=5, complain=2) at
../../src/gcc/cp/call.c:1107
1107      if (TREE_CODE (from) == REFERENCE_TYPE)

Reply via email to