[RS6000] rs6000_linux64_override_options fix
authorAlan Modra <amodra@gmail.com>
Thu, 1 Oct 2020 09:11:37 +0000 (18:41 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 1 Oct 2020 22:43:44 +0000 (08:13 +0930)
commitd26cc5885a491dedad0bdf3468a7b91c1f75a868
treec79aec85630db8c07eff170cd58493b444d0e11c
parent4830b30c823abaea8ea46dcece65c4681877b38d
[RS6000] rs6000_linux64_override_options fix

Commit c6be439b37 wrongly left a block of code inside an "else" block,
which changed the default for power10 TARGET_NO_FP_IN_TOC
accidentally.  We don't want FP constants in the TOC when
-mcmodel=medium can address them just as efficiently outside the TOC.

* config/rs6000/rs6000.c (rs6000_linux64_override_options):
Formatting.  Correct setting of TARGET_NO_FP_IN_TOC and
TARGET_NO_SUM_IN_TOC.
gcc/config/rs6000/rs6000.c