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++/61723] [C++11] ICE in contains_struct_check


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I find this testcase rather weird: std::initializer_list isn't a random user
type: we have non-trivial "magic" in the front-end which *assumes* the actual
definition in our <initializer_list> header. You can see this in the testcase
here too, because the ICEs disappear if _M_len is declared as an (unsigned)
__SIZE_TYPE__ (not as an int) and an additional field _M_array is added too
(see our actual std::initializer_list for details). If you ask me, the Bug
Report seems invalid to me or at least very low priority, unless a version of
it not redefining std::initializer_list exists.


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