Commit 26a591f2 by Iain Sandoe

testsuite,Darwin,PPC: Adjust darwin-abi-12.c for common section use.

This test explicitly tests for code generation that expects a
common section.

gcc/testsuite/ChangeLog:

2020-02-02  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/powerpc/darwin-abi-12.c: Add '-fcommon' to the
options.
parent 897a7308
2020-02-02 Iain Sandoe <iain@sandoe.co.uk>
* gcc.target/powerpc/darwin-abi-12.c: Add '-fcommon' to the
options.
2020-02-02 Vladimir Makarov <vmakarov@redhat.com> 2020-02-02 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/91333 PR rtl-optimization/91333
......
/* { dg-do compile { target powerpc*-*-darwin* } } */ /* { dg-do compile { target powerpc*-*-darwin* } } */
/* This test explicitly checks for output that expects common. */
/* { dg-additional-options "-fcommon" { target powerpc*-*-darwin* } } */
/* { dg-final { scan-assembler ".comm\[\t \]_x,12,2" } } */ /* { dg-final { scan-assembler ".comm\[\t \]_x,12,2" } } */
/* { dg-final { scan-assembler-not ".space 7" } } */ /* { dg-final { scan-assembler-not ".space 7" } } */
/* PR 23071 */ /* PR 23071 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment