From bd8f86429e63734550981cdc07a2908dc85b891b Mon Sep 17 00:00:00 2001 From: Kelvin Nilsen Date: Mon, 10 Apr 2017 19:01:37 +0000 Subject: [PATCH] re PR target/80108 (ICE in aggregate_value_p at function.c:2028) gcc/ChangeLog: 2017-04-10 Kelvin Nilsen PR target/80108 * config/rs6000/rs6000.c (rs6000_option_override_internal): Enhance special handling given to the TARGET_P9_MINMAX option in relation to certain other options. gcc/testsuite/ChangeLog: 2017-04-10 Kelvin Nilsen PR target/80108 * gcc.target/powerpc/ppc-fortran/ppc-fortran.exp: New file. * gcc.target/powerpc/ppc-fortran/pr80108-1.f90: New test. From-SVN: r246818 --- gcc/ChangeLog | 7 ++ gcc/config/rs6000/rs6000.c | 34 +++++++++- gcc/testsuite/ChangeLog | 6 ++ .../powerpc/ppc-fortran/ppc-fortran.exp | 65 +++++++++++++++++++ .../powerpc/ppc-fortran/pr80108-1.f90 | 53 +++++++++++++++ 5 files changed, 164 insertions(+), 1 deletion(-) create mode 100644 gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp create mode 100644 gcc/testsuite/gcc.target/powerpc/ppc-fortran/pr80108-1.f90 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6edad210010..1a22bc037d4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-04-10 Kelvin Nilsen + + PR target/80108 + * config/rs6000/rs6000.c (rs6000_option_override_internal): + Enhance special handling given to the TARGET_P9_MINMAX option in + relation to certain other options. + 2017-04-10 Bin Cheng PR tree-optimization/80153 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 7822a9d4566..a3e0449b6aa 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -4273,8 +4273,40 @@ rs6000_option_override_internal (bool global_init_p) /* For the newer switches (vsx, dfp, etc.) set some of the older options, unless the user explicitly used the -mno-