[Bug c/63399] New: Segmentation Fault on pow() function call when all parameters constant, ARM v61 Processor
Bruce at Daihls dot com
gcc-bugzilla@gcc.gnu.org
Sun Sep 28 20:09:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63399
Bug ID: 63399
Summary: Segmentation Fault on pow() function call when all
parameters constant, ARM v61 Processor
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: Bruce at Daihls dot com
Created attachment 33602
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33602&action=edit
Precompiled segfault.c
gcc: 4.8.2 20131212 (Red Hat 4.8.2-8)
system: Raspberry Pi, ARMv6-compatible processor rev 7 (v6l)
gcc build options:
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/armv6hl-redhat-linux-gnueabi/4.8.2/lto-wrapper
Target: armv6hl-redhat-linux-gnueabi
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,java,fortran,go,lto --enable-plugin
--enable-initfini-array --enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-isl=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-armv6hl-redhat-linux-gnueabi/isl-install
--with-cloog=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-armv6hl-redhat-linux-gnueabi/cloog-install
--disable-sjlj-exceptions --with-arch=armv6 --with-float=hard --with-fpu=vfp
--with-abi=aapcs-linux --build=armv6hl-redhat-linux-gnueabi --target
armv6hl-redhat-linux-gnueabi
Thread model: posix
gcc version 4.8.2 20131212 (Red Hat 4.8.2-8) (GCC)
cmd line: gcc -Wall -Wextra -c segfault.c
output:
segfault.c: In function ΓÇÿinit_mask_add_max_valuesΓÇÖ:
segfault.c:10:5: internal compiler error: Segmentation fault
ma_max_i1 = pow(10.0, 2.0);
^
If 1 of the 2 parameters of pow() is changed to a variable, no Segmentation
fault occurs.
This may be a duplicate of 63394.
More information about the Gcc-bugs
mailing list