GCC plugins problem

2020-01-05 Thread Yu
Hello, I have some questions about developing my own compiler plugin. I tried to develop it using riscv-gnu-toolchain(https://github.com/riscv/riscv-gnu-toolchain), but it couldn't find following header files. # include #if defined (ENABLE_PLUGIN) && defined (HAVE_DLFCN_H) /* If plugin supp

gcc-10-20200105 is now available

2020-01-05 Thread gccadmin
Snapshot gcc-10-20200105 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20200105/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Support Library Requirements for GCC 10

2020-01-05 Thread Bruno Haible
Hi, The minimum support library version of MPC for building GCC 10 is not correct. After downloading gcc-10-20191229.tar.xz and $ cd gcc-10-20191229/gcc/doc $ ./install.texi2html $ xdg-open HTML/prerequisites.html I installed - gmp 4.3.2 - works, - mpfr 3.1.0 - works, - mpc 0.8.1 - fa

Re: Could I obtain the forms needed to make a contribution?

2020-01-05 Thread Moritz StrĂ¼be
Hey, you can use Dmitry's solution at compile-time, too. "-D__LINE__={int dontUseLine[-1];}"*. This will most likely trigger an parse-error, because an int is expected. And if the code does parse, it will fail at the array-length being -1. You'll still might need to turn off some warning, becau