This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]