__builtin_constant_p broken

Richard Henderson rth@cygnus.com
Thu Oct 1 22:45:00 GMT 1998


On Wed, Sep 30, 1998 at 10:19:06AM +0200, Andreas Schwab wrote:
> __builtin_constant_p is supposed to expand to true only for arguments that
> are compile-time constants.

Do you have a test case for such a failure? 

const_arg0 is initialized off of equiv_constant; I'm frankly surprised
by the implication that it is returning something that isn't a compile
time constant.


r~



More information about the Gcc-patches mailing list