[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread phdofthehouse at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057

JeanHeyd Meneide  changed:

   What|Removed |Added

 CC||phdofthehouse at gmail dot com

--- Comment #5 from JeanHeyd Meneide  ---
Hey, so, I'm not much of a contributor anymore, but like. Are you sure you got
everything passed to the compiler correctly?

I was under the impression in order to turn of __STDC_HOSTED__, you need to
pass

-ffreestanding

? That defines __STDC_HOSTED__ to 0, which should make those definition checks
choose the non-__STDC_HOSTED__ branches for the #if (as shown in this basic
test: https://godbolt.org/z/7acoPT13M)

https://gcc.gnu.org/onlinedocs/gcc/Standards.html#Standards

[Bug libstdc++/100057] There are no freestanding C++

2021-04-12 Thread phdofthehouse at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100057

--- Comment #6 from JeanHeyd Meneide  ---
Oh, woops, my bad. This is for configuring and building GCC. I'm not sure which
option turns on -ffreestanding for building the compiler itself! But it seems
like that's missing, if __STDC_HOSTED__ is not 0.

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

2021-01-07 Thread phdofthehouse at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98576

JeanHeyd Meneide  changed:

   What|Removed |Added

 CC||phdofthehouse at gmail dot com

--- Comment #4 from JeanHeyd Meneide  ---
https://gcc.gnu.org/pipermail/gcc-patches/2020-December/560784.html

A new version of GCC will include the execution charset and wide execution
charset as a string option in the preprocessor that matches the iconv
conversion name passed to the command line.

I'm not sure what to do about the other stuff, though. 😅