------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-06-05 
16:48 -------
4.0.1 has a patch to tolerate array accesses in __builtin_constant_p arguments,
but __builtin_constant_p never returns 1 for arguments of pointer type on the
4.0 branch, so the original test case still will not compile on 4.0.  In 4.1,
__builtin_constant_p is more clever, so the test case does work there.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0/4.1 regression]        |[4.0 regression]
                   |__builtin_constant_p(&"Hello|__builtin_constant_p(&"Hello
                   |"[0])?1:-1 not compile-time |"[0])?1:-1 not compile-time
                   |constant                    |constant


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21619

Reply via email to