gcc bootstrap failure with libcody

2020-12-16 Thread Joern Wolfgang Rennecke
I'm seeing a boostrap failure when I try to build the latest gcc version
( 8833eab4461b4b7050f06a231c3311cc1fa87523 ) :

checking whether time.h and sys/time.h may both be included... checking
whether
gcc supports -Wmissing-prototypes... i686-pc-linux-gnu
checking host system type... make[3]: *** [buffer.o] Error 1
make[3]: Leaving directory `/ssd/fsf/tst-gcc11--base/libcody'
make[2]: *** [all-stage1-libcody] Error 2
make[2]: *** Waiting for unfinished jobs

Going back to the version to before libcody was added seems to build
fine so far.


gcc support for C++20 P0929 (Checking for abstract class types)

2020-12-16 Thread Tom Honermann via Gcc
Gcc (trunk) appears to have added support for P0929 
, 
but the C++20 support page 
 doesn't acknowledge 
it.  Oversight?


https://www.godbolt.org/z/a4EjaG

Tom.



Add -fdirect-access-external-data

2020-12-16 Thread Fangrui Song

Hi, I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112 which
proposes -fdirect-access-external-data to address some x86-64
GCC/binutils pain[1] and also benefit non-x86 architectures (also see [1]
it can prevent copy relocations).

[1] Mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112#c2

Since I am going to add this option to Clang and I hope (once GCC decides to
implement this option the two compilers can use the same option name), I bring
it to your attention.

Please CC me on replies:)