This is the mail archive of the gcc-patches@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]

Re: [committed] Fix mips-linux-gnu mips.exp failures


Hello!

This patch therefore adds a new mips16_attribute target selector.
It also adds a new dg-add-options feature that tries to add options
that enable MIPS16 code generation (-mno-abicalls -fno-pic).  Thus
normal mips-linux-gnu tests do run the compile-only MIPS16 tests
but, for example, --target_board unix/-fpic doesn't.


gcc/testsuite/ * lib/target-supports.exp (add_options_for_mips16_attribute) (check_effective_target_mips16_attribute): New functions.

Should we move mips specific procedures (i.e. check_effective_target_mpaired_single, check_effective_target_mips64 and new add_options_for_mips16_attribute and check_effective_target_mips16_attribute) from lib/target-supports.exp to gcc.target/mips/mips.exp? i386 has its private check_effective_target_* procedures defined in gcc.target/i386/i386.exp and it works just fine.


Thanks,
Uros.


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