r249157 - in /trunk/gcc/testsuite: ChangeLog gc...
renlin@gcc.gnu.org
renlin@gcc.gnu.org
Tue Jun 13 13:57:00 GMT 2017
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
More information about the Gcc-cvs
mailing list