https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70589

            Bug ID: 70589
           Summary: PowerPC target attribute/pragma cannot set/disable
                    -mfloat128
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: meissner at gcc dot gnu.org
  Target Milestone: ---

The new -mfloat128 support in PowerPC GCC 6 cannot be set via a target
attribute or a target pragma.

The reason for this is the __float128 and __ibm128 keywords must be created at
program initialization type complete with the appropriate types. If you change
the float128 setting to on from being off, the keywords are not created.

This was noticed that libgcc's emulation routines did not configure properly
when the default for -mfloat128 was set off for PR 70381.

As a work around, I will submit a patch shortly to disable -mfloat128 or
-mfloat128-hardware from being set via the target attribute or target pragma.
However, a longer term fix should be to make it work.

Reply via email to