On 01/12/2016 03:01 AM, Jan Beulich wrote:
On 10.12.15 at 08:21,  wrote:
Just like gas, which has recently learned to reject such initializers,
gcc shouldn't accept such either.
---
The only question really is whether the new test case should be limited
to certain targets - I haven't been able to figure out possible valid
qualifiers to use here.

gcc/
2015-12-10  Jan Beulich  <jbeul...@suse.com>

        * varasm.c (get_variable_section): Validate initializer in
        named .bss-like sections.
Please double-check indentation. It may be an artifact of my looking at a inline quoted patch -- so just double-check.



gcc/testsuite/
2015-12-10  Jan Beulich  <jbeul...@suse.com>

        * gcc.dg/bss.c: New.
I think you need to verify the target supported named sections, for which we have some functions in target-supports/target-supports-dg.exp.

Given that this should be good-to-go.

jeff

Reply via email to