
On 2/22/2012 3:28 AM, Mathias Gaunard wrote:
On 02/22/2012 07:17 AM, Rene Rivera wrote:
On 2/19/2012 6:37 AM, Mathias Gaunard wrote:
My use-cases [...] - Work-around a bug in the GCC backend
Is that with a non-GCC front end?
The bug in question is in the GCC backend, more precisely in the RTL optimization passes. I don't really care what frontend is used as long as code eventually gets through there.
In practice, GCC should be the only compiler to use the GCC backend. I know that there are compilers though, that use the GCC frontend but another backend, such as DragonEgg.
LLVM doesn't have this bug so I'd rather not add the workaround when compiling with DragonEgg.
I'm not sure if there's much that can be done about detecting the various back-ends vs. front-ends as Predef only deals with reflecting what the compiler is saying about itself. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail