options: ignore flag_ipa_ra in cl_optimization_compare

gcc/ChangeLog:

	PR target/99592
	* optc-save-gen.awk: Add flag_ipa_ra to exceptions for
	cl_optimization_compare function.

gcc/testsuite/ChangeLog:

	PR target/99592
	* gcc.target/arm/pr99592.c: New test.
This commit is contained in:
Martin Liska 2021-03-16 14:42:01 +01:00
parent 4073a09e23
commit 408d137027
2 changed files with 8 additions and 0 deletions

View File

@ -1445,6 +1445,7 @@ checked_options["TARGET_CASE_VECTOR_PC_RELATIVE"]++
checked_options["arc_size_opt_level"]++
# arm exceptions
checked_options["arm_fp16_format"]++
checked_options["flag_ipa_ra"]++
# s390 exceptions
checked_options["param_max_completely_peel_times"]++
checked_options["param_max_completely_peeled_insns"]++

View File

@ -0,0 +1,7 @@
/* PR target/99592 */
/* { dg-do compile } */
/* { dg-options "-O2 -pg" } */
#pragma GCC push_options
#pragma GCC target ""
#pragma GCC pop_options