Re: [PATCH] Fix bss_initializer_p (PR target/83100)

2017-11-27 Thread Richard Biener
On Sat, 25 Nov 2017, Jakub Jelinek wrote: > Hi! > > As the testcases show, it is essential that bss_initializer_p returns > true for DECL_COMMON vars without initializer, even when they are > TREE_READONLY, otherwise they aren't really common, e.g. > if (DECL_COMMON (decl)) > { > /* I

[PATCH] Fix bss_initializer_p (PR target/83100)

2017-11-24 Thread Jakub Jelinek
Hi! As the testcases show, it is essential that bss_initializer_p returns true for DECL_COMMON vars without initializer, even when they are TREE_READONLY, otherwise they aren't really common, e.g. if (DECL_COMMON (decl)) { /* If the decl has been given an explicit section name, or it r