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++/85049] Internal compiler error with __integer_pack


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-03-23
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
gcc7 errors with

> g++-7 -S t.C -std=c++17 -Wfatal-errors
t.C:5:28: error: there are no arguments to ‘__integer_pack’ that depend on a
template parameter, so a declaration of ‘__integer_pack’ must be available
[-fpermissive]
             index_sequence<__integer_pack(sizeof...(Ts))...>;
                            ^~~~~~~~~~~~~~

so not sure if the code is valid?

ICE confirmed.

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