https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96470
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2020-09-28
Component|testsuite |target
Status|UNCONFIRMED |NEW
Summary|[10 regression] |[10/11 regression]
|gnat.dg/opt39.adb fails |gnat.dg/opt39.adb is not
|since r10-917 |scalarized
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
The difference is:
Rejected (3173): not aggregate: a
Rejected (3174): not aggregate: i
Rejected (3175): not aggregate: aL
Candidate (3180): tmp
Too big to totally scalarize: tmp (UID: 3180)
because max_scalarization_size == 128 on PowerPC64 (it's 1088 on x86-64) in the
analyze_all_variable_accesses function. So I can force the test to pass on
PowerPC64 by means of --param=sra-max-scalarization-size-Ospeed=32 but the
default max_scalarization_size seems to be unduly low on PowerPC64 (just 2
words).