This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/60629] [c++11] ICE initializing array of function pointers with auto


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60629

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-03-23
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.  We hit 
17268   parm_max = TYPE_MAX_VALUE (parm_dom);
17269   parm_cst = TREE_CODE (parm_max) == INTEGER_CST;
17270   if (!parm_cst)
17271     {
17272       gcc_assert (TREE_CODE (parm_max) == MINUS_EXPR);

assert where parm_max is (sizetype) (SAVE_EXPR <(ssizetype) i + -1>).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]