rs6000: Fix "missing mode" on UNSPEC_TOCSLOT
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 19 Oct 2017 10:55:51 +0000 (12:55 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 19 Oct 2017 10:55:51 +0000 (12:55 +0200)
commitd8198d1cd0f0849d5ba070d70b672ed869eead4a
treee83645288b3fdbad8035b41d2adbbc4e16608584
parent1855f812512d84eca88c51c1ceac0045bc95ad5e
rs6000: Fix "missing mode" on UNSPEC_TOCSLOT

Currently gen* warn about a missing mode on an UNSPEC_TOCSLOT unspec in
some call patterns.  Those unspecs are created from rs6000.c, with Pmode
always.  This patch fixes the patterns to say :P as well.

* config/rs6000/rs6000.md (*call_indirect_aix<mode>,
*call_value_indirect_aix<mode>, *call_indirect_elfv2<mode>,
*call_value_indirect_elfv2<mode>): Add correct mode to the unspec.

From-SVN: r253885
gcc/ChangeLog
gcc/config/rs6000/rs6000.md