Patch: format checking const arrays

Joseph S. Myers jsm28@cam.ac.uk
Wed Oct 18 14:36:00 GMT 2000


On Wed, 18 Oct 2000, Mark Mitchell wrote:

> We should figure out a way to use decl_constant_value.  Otherwise,
> we're just replicating the code.

After moving the tests of pedantic to the uses of decl_constant_value
(which is still a misuse of pedantic, but makes decl_constant_value closer
to being useful here), the next problem is with the

      && DECL_MODE (decl) != BLKmode)

Would moving that to the places decl_constant_value is used as well be
appropriate?

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list