Hi Mikhail Thank you so much. It works now and declared in .bss section. However, I just wonder why it works. Because we need to specify in frontend: TREE_PUBLIC(decl) = 1 but we do the opposite in middle-end: TREE_PUBLIC(decl) = 0 Why they are different? It is confusing. Thanks -- View this message in context: http://gcc.1065356.n5.nabble.com/declare-global-in-gimple-tp1178703p1178812.html Sent from the gcc - Help mailing list archive at Nabble.com.