egcs and Linux kernels

Jeffrey A Law law@hurl.cygnus.com
Wed Mar 10 11:35:00 GMT 1999


  In message < 199903101931.LAA02190@atrus.synopsys.com >you write:
  > Except that it has been thoroughly tested, and it so happens that at
  > least if you use the same options the kernel developers used, you don't
  > get bad code with gcc-2.7.2.
Right.  Basically when gcc-2.7.2 has generated incorrect code they've tweaked
the asms to work around the problem.  Over time they end up with a set of
asms that generally works with gcc-2.7.2.

However, that does not mean they will consistently work over time -- as the
source around the asm changes, the register allocation and reloading needs
will also change, which may again trigger problems.

jeff


More information about the Gcc mailing list