mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-24 10:09:31 +08:00
gcc/ * config/arm/arm-protos.h (arm_encode_call_attribute): Delete. (arm_is_longcall_p): Rename to... (arm_is_long_call_p): ...this. Take a single tree argument and return a bool. * config/arm/arm.h (CALL_SHORT, CALL_LONG, CALL_NORMAL): Delete. (CUMULATIVE_ARGS): Remove call_cookie. (SHORT_CALL_FLAG_CHAR, LONG_CALL_FLAG_CHAR, ENCODED_SHORT_CALL_ATTR_P) (ENCODED_LONG_CALL_ATTR_P): Delete. (ARM_NAME_ENCODING_LENGTHS): Remove SHORT_CALL_FLAG_CHAR and LONG_CALL_FLAG_CHAR cases. (ARM_DECLARE_FUNCTION_SIZE): Delete. * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Don't use ARM_DECLARE_FUNCTION_SIZE. * config/arm/arm.c (arm_init_cumulative_args): Don't set call_cookie. (arm_function_arg): Return const0_rtx for VOIDmode arguments. (arm_encode_call_attribute, current_file_function_operand): Delete. (arm_function_in_section_p): New function. (arm_is_longcall_p): Rename to... (arm_is_long_call_p): ...this. Take the target function as a single argument and return a bool. Do not rely on call cookies. Check whether the target symbol is in the same section as the current function, not just the same compilation unit. (arm_function_ok_for_sibcall): Use arm_is_long_call_p. (arm_encode_section_info): Don't encode a call type. * config/arm/arm.md (call, call_value): Update calls to arm_is_long(_)call_p. Simplify logic. (*call_symbol, *call_value_symbol, *call_insn, *call_value_insn): Update calls to arm_is_long(_)call_p. gcc/testsuite/ * gcc.target/arm/long-calls-1.c: New test. * gcc.target/arm/long-calls-2.c: Likewise. * gcc.target/arm/long-calls-3.c: Likewise. * gcc.target/arm/long-calls-4.c: Likewise. From-SVN: r125060 |
||
---|---|---|
.. | ||
ada/acats | ||
config | ||
g++.dg | ||
g++.old-deja | ||
gcc.c-torture | ||
gcc.dg | ||
gcc.misc-tests | ||
gcc.target | ||
gcc.test-framework | ||
gfortran.dg | ||
gfortran.fortran-torture | ||
gnat.dg | ||
lib | ||
obj-c++.dg | ||
objc | ||
objc.dg | ||
treelang | ||
ChangeLog | ||
ChangeLog.tree-ssa | ||
README | ||
README.compat | ||
README.gcc | ||
README.QMTEST |
This is a collection of tests for GCC. For further information about the C testsuite, see README.gcc. The driver that runs this testsuite is called DejaGnu and you will need a current DejaGnu snapshot, which is available from ftp://gcc.gnu.org/pub/gcc/infrastructure, for example. These tests are included "as is". If any of them fails, do not report a bug. Bug reports for DejaGnu can go to bug-dejagnu@gnu.org. Discussion and comments about this testsuite should be sent to gcc@gcc.gnu.org; additions and changes to should go to sent to gcc-patches@gcc.gnu.org. The entire testsuite is invoked by `make check` at the top level of the GCC tree. `make check-g++` runs the C++ testsuite only. STRUCTURE OF THE G++ TESTSUITE g++.dg tests: All new tests should be placed in an appropriate subdirectory of g++.dg. g++.old-deja tests: g++.benjamin Tests by Benjamin Koz g++.bob g++.brendan Tests by Brendan Kehoe g++.bugs g++.eh Tests for exception handling g++.ext Tests for g++ extensions g++.gb Tests by Gerald Baumgartner g++.jason Tests by Jason Merill g++.jeff Tests by Jeffrey A Law g++.martin Tests by Martin v. Löwis g++.mike Tests by Mike Stump g++.niklas Tests by Niklas Hallqvist g++.ns Tests for namespaces g++.other g++.pt Tests for templates g++.rfg g++.robertl Tests from gcc-bugs@gcc.gnu.org, gathered by Robert Lipe Finally, some random last minute notes by Mike Stump <mrs@cygnus.com>, on how to run tests (in the GCC 2.7 era): runtest --tool g++ --srcdir ./testsuite where runtest Is the name used to invoke DejaGnu. If DejaGnu is not install this will be the relative path name for runtest. --tool This tells DejaGnu which tool you are testing. It is mainly used to find the testsuite directories for a particular tool when several testsuites are in the same directory. (like the gcc and g++ testsuites) --srcdir This points to the top level of the directory containing the sources of the testsuite. This is ./testsuite if you are in the directory that has the testsuite directory.