builtin-return-1.c: Add an inline assembly read to make sure dummy is not optimized...
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 8 Dec 2015 10:01:45 +0000 (10:01 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Tue, 8 Dec 2015 10:01:45 +0000 (10:01 +0000)
commitceeb21ef31825ce5f7fca47797e2c724f406c444
tree443318d3f76e52f67ff301ab8d5e0a2c6710b7ee
parent5b688993056d4aefe23171f2a4760293999c8e42
builtin-return-1.c: Add an inline assembly read to make sure dummy is not optimized away by LTO.

2015-12-08  Andre Vieira  <andre.simoesdiasvieira@arm.com>
            Joern Rennecke  <joern.rennecke@embecosm.com>

    gcc/testsuite/
    * gcc.dg/torture/stackalign/builtin-return-1.c: Add an
    inline assembly read to make sure dummy is not optimized
    away by LTO.

Co-Authored-By: Joern Rennecke <joern.rennecke@embecosm.com>
From-SVN: r231401
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/stackalign/builtin-return-1.c