[Bug libstdc++/108258] std::ranges::begin() fails on zero sized std::array

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 31 19:58:58 GMT 2022


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
     Ever confirmed|0                           |1
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=104719
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-12-31

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Michael Duggan from comment #1)
> Preprocessed source will be added once I've reduced it.  In the meantime,
> the non-preprocessed source in the comment should be enough to trigger the
> problem with the specified version of gcc.

No reason for the preprocessed source as the problem is in the headers of
libstdc++.

Looks like it was introduced by r13-113-gef8d5ac08b5e .


More information about the Gcc-bugs mailing list