Re: [PATCH] i386: Avoid C++ global constructors in every object that includes i386.h

2021-02-18 Thread Jakub Jelinek via Gcc-patches
On Thu, Feb 18, 2021 at 09:42:00AM +0100, Richard Biener wrote: > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > OK. Can you quickly try whether GCC 4.8 is happy with it? Yes, at least non-bootstrap build with GCC 4.8.5 is just fine with it. Jakub

Re: [PATCH] i386: Avoid C++ global constructors in every object that includes i386.h

2021-02-18 Thread Richard Biener
On Wed, 17 Feb 2021, Jakub Jelinek wrote: > Hi! > > When looking at recog.o when working on the recog.[ch] changes to make sure > I have not introduced runtime construction of recog_data variable, I have > noticed that at least in unoptimized build, every single *.o file that > included i386.h ha

[PATCH] i386: Avoid C++ global constructors in every object that includes i386.h

2021-02-17 Thread Jakub Jelinek via Gcc-patches
Hi! When looking at recog.o when working on the recog.[ch] changes to make sure I have not introduced runtime construction of recog_data variable, I have noticed that at least in unoptimized build, every single *.o file that included i386.h has lots of runtime constructors for all the PTA_* variab