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

James Cowgill <james410 at cowgill dot org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |james410 at cowgill dot org.uk

--- Comment #4 from James Cowgill <james410 at cowgill dot org.uk> ---
I can reproduce this with both the original and reduced testcase with upstream
GCC trunk.

$ ../build/gcc/xgcc -B../build/gcc -mfpxx -O2 -c fpxx-test-reduced.c
fpxx-test-reduced.c: In function ‘p86c_third’:
fpxx-test-reduced.c:52:12: warning: implicit declaration of function ‘pow’
[-Wimplicit-function-declaration]
   t1 = 1 / pow (2.0, 0.33333333333333);
            ^~~
fpxx-test-reduced.c:52:12: warning: incompatible implicit declaration of
built-in function ‘pow’
fpxx-test-reduced.c:52:12: note: include ‘<math.h>’ or provide a declaration of
‘pow’
/tmp/ccZFUsRZ.s: Assembler messages:
/tmp/ccZFUsRZ.s:131: Error: float register should be even, was 15
/tmp/ccZFUsRZ.s:229: Error: float register should be even, was 15

$ ../build/gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=../build/gcc/xgcc
Target: mipsel-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++ --prefix=/usr
--enable-shared --enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --libdir=/usr/lib
--enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm
--disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib
--enable-multiarch --with-arch-32=mips32r2 --target=mipsel-linux-gnu
Thread model: posix
gcc version 7.0.0 20161122 (experimental) (GCC)

$ mipsel-linux-gnu-as --version
GNU assembler (GNU Binutils for Debian) 2.27.51.20161118
Copyright (C) 2016 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `mipsel-linux-gnu'.

Reply via email to