[Bug c++/98576] std::source_location should return EBCDIC encoding strings under EBCDIC execution charset charsets

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 7 03:47:21 GMT 2021


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

cqwrteur <unlvsur at live dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |unlvsur at live dot com

--- Comment #1 from cqwrteur <unlvsur at live dot com> ---
OH NO!!


#include<iostream>
#include<source_location>

int main()
{
        std::cout<<std::source_location::current().file_name();
}
~                                                                              
                                        ~                        


cqwrteur@Home-Server:~/fast_io/.tmp$ g++ -o source2 source2.cc -Ofast
-std=c++20 -s -flto -fexec-charset=IBM12712
cqwrteur@Home-Server:~/fast_io/.tmp$ ./source2
source2.cccqwrteur@Home-Server:~/fast_io/.tmp$


More information about the Gcc-bugs mailing list