[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #14 from kargl at gcc dot gnu.org --- (In reply to Rimvydas (RJ) from comment #13) > Error is triggered on Linux (LFS-next testing) builds too, but only when > configured as: > ../configure --enable-bootstrap --disable-nls --disable-m

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 Rimvydas (RJ) changed: What|Removed |Added CC||rimvydas.jas at gmail dot com --- Comme

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #12 from Steve Kargl --- On Thu, Jan 20, 2022 at 12:29:18AM +, sgk at troutmask dot apl.washington.edu wrote: > > Note, I justed started a bootstrap with FreeBSD system compiler > clang/clang++. I'll report back later if it die

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #11 from Jakub Jelinek --- In the FreeBSD case it is: pp_printf (pp, ((cxx_pp)->translate_identifiers ? ("") : ("")), variety); so no translation.

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #10 from Steve Kargl --- On Thu, Jan 20, 2022 at 12:25:35AM +, msebor at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 > > --- Comment #9 from Martin Sebor --- > The code uses the M_ macro: > >

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #9 from Martin Sebor --- The code uses the M_ macro: pp_printf (pp, M_(""), variety); on my machine it expands into: pp_printf (pp, ((cxx_pp)->translate_identifiers ? gettext ("") : ("")), variety); and GCC doesn't warn most

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #8 from kargl at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #5) > The file uses > #if __GNUC__ >= 10 > # pragma GCC diagnostic push > # pragma GCC diagnostic ignored "-Wformat-diag" > #endif > ... > #if __GNUC__ >=

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #7 from kargl at gcc dot gnu.org --- Created attachment 52237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52237&action=edit gzipped error.ii Seems bugzilla stripped the attachment which was 2.6 MB

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #6 from Steve Kargl --- On Wed, Jan 19, 2022 at 11:54:25PM +, jakub at gcc dot gnu.org wrote: > > --- Comment #4 from Jakub Jelinek --- > For this PR, I guess the big question is what is different between FreeBSD and > Linux th

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #5 from Jakub Jelinek --- The file uses #if __GNUC__ >= 10 # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wformat-diag" #endif ... #if __GNUC__ >= 10 # pragma GCC diagnostic pop #endif but in a region different fro

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to Martin Sebor from comment #2) > Did the file compile without these warnings prior to r12-6729? Yes (with the caveat I don't know if error.c was renamed to error.cc during the great *.

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #2

[Bug c++/104134] Bootstrap on FreeBSD files compiling gcc/cp/error.cc

2022-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104134 Andrew Pinski changed: What|Removed |Added Host||*-*-*freebsd* Target|