[Bug target/100909] [12 Regression] powerpc64le: Regression causing unexpected error with IBM long double
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 13 09:42:15 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100909
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
It's fixed now since g:318113a961220c8da79d8d29619138827ccc69f1
commit 318113a961220c8da79d8d29619138827ccc69f1
Author: Martin Liska <mliska@suse.cz>
Date: Tue Jun 1 15:39:14 2021 +0200
rs6000: Fix restored rs6000_long_double_type_size
As mentioned in the "Fallout: save/restore target options in
handle_optimize_attribute"
thread, we need to support target option restore
of rs6000_long_double_type_size == FLOAT_PRECISION_TFmode.
gcc/ChangeLog:
* config/rs6000/rs6000.c (rs6000_option_override_internal): When
a target option is restored, it can have
rs6000_long_double_type_size set to FLOAT_PRECISION_TFmode
and error should not be emitted.
gcc/testsuite/ChangeLog:
* gcc.target/powerpc/pragma-optimize.c: New test.
More information about the Gcc-bugs
mailing list