This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249157 - in /trunk/gcc/testsuite: ChangeLog gc...
- From: renlin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 13 Jun 2017 13:57:45 -0000
- Subject: r249157 - in /trunk/gcc/testsuite: ChangeLog gc...
Author: renlin
Date: Tue Jun 13 13:57:45 2017
New Revision: 249157
URL: https://gcc.gnu.org/viewcvs?rev=249157&root=gcc&view=rev
Log:
[ARM][Testsuite]make dump_stack function call conditional in cold-lc.c
After r249013, die () and dump_stack () are both in cold section. This makes
the compiler generate bl instruction for the function call, instead of
honoring the -mlong-calls option.
This patch changes the dump_stack function call conditional, which fixes the
regression.
gcc/testsuite/
* gcc.target/arm/cold-lc.c: Update coding style, call dump_stack
conditionally.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/arm/cold-lc.c