This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcc/83112] New: Silence warnings from PowerPC libgcc float128-ifunc.c compilation
- From: "meissner at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Nov 2017 17:03:38 +0000
- Subject: [Bug libgcc/83112] New: Silence warnings from PowerPC libgcc float128-ifunc.c compilation
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83112
Bug ID: 83112
Summary: Silence warnings from PowerPC libgcc float128-ifunc.c
compilation
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: meissner at gcc dot gnu.org
Target Milestone: ---
The ifunc handlers in libgcc to switch between using PowerPC ISA 2.07 software
emulation for IEEE 128-bit floating point and ISA 3.0 hardware instructions get
a lot of warnings due to the new option -Wattribute-alias.
The solution is to change the ifunc handler from returning void * to a pointer
to the appropriate function.