http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59517
Bug ID: 59517 Summary: H5trace.c:2540:1: ICE: in reload_cse_simplify_o perands, at postreload.c:411 Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Created attachment 31443 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31443&action=edit Preprocessed source Using built-in specs. COLLECT_GCC=/usr/bin/gcc-4.8.real Target: hppa-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.8.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libssp --disable-libmudflap --disable-libitm --disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-hppa/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-hppa --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-hppa --with-arch-directory=parisc --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-libstdcxx-pch --enable-checking=release --build=hppa-linux-gnu --host=hppa-linux-gnu --target=hppa-linux-gnu Thread model: posix gcc version 4.8.2 (Debian 4.8.2-10) COLLECT_GCC_OPTIONS='-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '../../../src' '-D' '_FILE_OFFSET_BITS=64' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_BSD_SOURCE' '-D' '_POSIX_C_SOURCE=199506L' '-D' 'NDEBUG' '-U' 'H5_DEBUG_API' '-D' '_FORTIFY_SOURCE=2' '-std=c99' '-Wpedantic' '-Wall' '-Wextra' '-Wundef' '-Wshadow' '-Wpointer-arith' '-Wbad-function-cast' '-Wcast-qual' '-Wcast-align' '-Wwrite-strings' '-Wconversion' '-Waggregate-return' '-Wstrict-prototypes' '-Wmissing-prototypes' '-Wmissing-declarations' '-Wredundant-decls' '-Wnested-externs' '-Winline' '-Wfloat-equal' '-Wsuggest-attribute=format' '-Wsuggest-attribute=noreturn' '-Wpacked' '-Wdisabled-optimization' '-Wformat=2' '-Wendif-labels' '-Wdeclaration-after-statement' '-Wold-style-definition' '-Winvalid-pch' '-Wvariadic-macros' '-Winit-self' '-Wmissing-include-dirs' '-Wswitch-default' '-Wswitch-enum' '-Wunused-macros' '-Wunsafe-loop-optimizations' '-Wc++-compat' '-Wstrict-overflow' '-Wlogical-op' '-Wlarger-than=2048' '-Wvla' '-Wsync-nand' '-Wframe-larger-than=16384' '-Wpacked-bitfield-compat' '-Wstrict-overflow=5' '-Wjump-misses-init' '-Wunsuffixed-float-constants' '-Wdouble-promotion' '-Wsuggest-attribute=const' '-Wtrampolines' '-Wstack-usage=8192' '-Wvector-operation-performance' '-O3' '-fomit-frame-pointer' '-finline-functions' '-g' '-O2' '-Wformat=1' '-Werror=format-security' '-MT' 'H5trace.lo' '-MD' '-MP' '-MF' '.deps/H5trace.Tpo' '-c' '-fPIC' '-D' 'PIC' '-o' '.libs/H5trace.o' '-v' '-save-temps' '-da' /usr/lib/gcc/hppa-linux-gnu/4.8/cc1 -E -quiet -v -I . -I ../../../src -imultilib . -imultiarch hppa-linux-gnu -MD .libs/H5trace.d -MF .deps/H5trace.Tpo -MP -MT H5trace.lo -D HAVE_CONFIG_H -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _BSD_SOURCE -D _POSIX_C_SOURCE=199506L -D NDEBUG -U H5_DEBUG_API -D _FORTIFY_SOURCE=2 -D PIC ../../../src/H5trace.c -std=c99 -Wpedantic -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wfloat-equal -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wpacked -Wdisabled-optimization -Wformat=2 -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Winvalid-pch -Wvariadic-macros -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros -Wunsafe-loop-optimizations -Wc++-compat -Wstrict-overflow -Wlogical-op -Wlarger-than=2048 -Wvla -Wsync-nand -Wframe-larger-than=16384 -Wpacked-bitfield-compat -Wstrict-overflow=5 -Wjump-misses-init -Wunsuffixed-float-constants -Wdouble-promotion -Wsuggest-attribute=const -Wtrampolines -Wstack-usage=8192 -Wvector-operation-performance -Wformat=1 -Werror=format-security -fomit-frame-pointer -finline-functions -fPIC -g -fworking-directory -O3 -O2 -fpch-preprocess -o H5trace.i ignoring nonexistent directory "/usr/local/include/hppa-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/hppa-linux-gnu/4.8/../../../../hppa-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: . ../../../src /usr/lib/gcc/hppa-linux-gnu/4.8/include /usr/local/include /usr/lib/gcc/hppa-linux-gnu/4.8/include-fixed /usr/include/hppa-linux-gnu /usr/include End of search list. COLLECT_GCC_OPTIONS='-D' 'HAVE_CONFIG_H' '-I' '.' '-I' '../../../src' '-D' '_FILE_OFFSET_BITS=64' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D' '_BSD_SOURCE' '-D' '_POSIX_C_SOURCE=199506L' '-D' 'NDEBUG' '-U' 'H5_DEBUG_API' '-D' '_FORTIFY_SOURCE=2' '-std=c99' '-Wpedantic' '-Wall' '-Wextra' '-Wundef' '-Wshadow' '-Wpointer-arith' '-Wbad-function-cast' '-Wcast-qual' '-Wcast-align' '-Wwrite-strings' '-Wconversion' '-Waggregate-return' '-Wstrict-prototypes' '-Wmissing-prototypes' '-Wmissing-declarations' '-Wredundant-decls' '-Wnested-externs' '-Winline' '-Wfloat-equal' '-Wsuggest-attribute=format' '-Wsuggest-attribute=noreturn' '-Wpacked' '-Wdisabled-optimization' '-Wformat=2' '-Wendif-labels' '-Wdeclaration-after-statement' '-Wold-style-definition' '-Winvalid-pch' '-Wvariadic-macros' '-Winit-self' '-Wmissing-include-dirs' '-Wswitch-default' '-Wswitch-enum' '-Wunused-macros' '-Wunsafe-loop-optimizations' '-Wc++-compat' '-Wstrict-overflow' '-Wlogical-op' '-Wlarger-than=2048' '-Wvla' '-Wsync-nand' '-Wframe-larger-than=16384' '-Wpacked-bitfield-compat' '-Wstrict-overflow=5' '-Wjump-misses-init' '-Wunsuffixed-float-constants' '-Wdouble-promotion' '-Wsuggest-attribute=const' '-Wtrampolines' '-Wstack-usage=8192' '-Wvector-operation-performance' '-O3' '-fomit-frame-pointer' '-finline-functions' '-g' '-O2' '-Wformat=1' '-Werror=format-security' '-MT' 'H5trace.lo' '-MD' '-MP' '-MF' '.deps/H5trace.Tpo' '-c' '-fPIC' '-D' 'PIC' '-o' '.libs/H5trace.o' '-v' '-save-temps' '-da' /usr/lib/gcc/hppa-linux-gnu/4.8/cc1 -fpreprocessed H5trace.i -quiet -dumpbase H5trace.c -da -auxbase-strip .libs/H5trace.o -g -O3 -O2 -Wpedantic -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wfloat-equal -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wpacked -Wdisabled-optimization -Wformat=2 -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Winvalid-pch -Wvariadic-macros -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros -Wunsafe-loop-optimizations -Wc++-compat -Wstrict-overflow -Wlogical-op -Wlarger-than=2048 -Wvla -Wsync-nand -Wframe-larger-than=16384 -Wpacked-bitfield-compat -Wstrict-overflow=5 -Wjump-misses-init -Wunsuffixed-float-constants -Wdouble-promotion -Wsuggest-attribute=const -Wtrampolines -Wstack-usage=8192 -Wvector-operation-performance -Wformat=1 -Werror=format-security -std=c99 -version -fomit-frame-pointer -finline-functions -fPIC -o H5trace.s GNU C (Debian 4.8.2-10) version 4.8.2 (hppa-linux-gnu) compiled by GNU C version 4.8.2, GMP version 5.1.2, MPFR version 3.1.2-p3, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C (Debian 4.8.2-10) version 4.8.2 (hppa-linux-gnu) compiled by GNU C version 4.8.2, GMP version 5.1.2, MPFR version 3.1.2-p3, MPC version 1.0.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: fb24f240bb689ce9d1ca4b08c9c74b8f ../../../src/H5trace.c: In function ‘H5_trace’: ../../../src/H5trace.c:132:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] static H5_timer_t first_time = {0.0, 0.0, 0.0}; ^ ../../../src/H5trace.c:132:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] ../../../src/H5trace.c:132:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] ../../../src/H5trace.c:139:9: warning: unsuffixed float constant [-Wunsuffixed-float-constants] return 0.0; /*tracing is off*/ ^ ../../../src/H5trace.c:146:17: warning: unsuffixed float constant [-Wunsuffixed-float-constants] return 0.0; ^ ../../../src/H5trace.c:153:17: warning: unsuffixed float constant [-Wunsuffixed-float-constants] return 0.0; ^ ../../../src/H5trace.c:159:5: warning: unsuffixed float constant [-Wunsuffixed-float-constants] if(fabs(first_time.etime) < 0.0000000001) ^ ../../../src/H5trace.c:235:6: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C1 +- C2 [-Wstrict-overflow] unsigned n = (unsigned)MAX (0, (int)HDstrlen(argname) - 3); /*lint !e666 Allow expression with side effects */ ^ ../../../src/H5trace.c:2339:29: warning: conversion to ‘hssize_t’ from ‘long long unsigned int’ may change the sign of the result [-Wsign-conversion] asize[argno] = iull; ^ ../../../src/H5trace.c:2540:1: error: insn does not satisfy its constraints: } /* end H5_trace() */ ^ (insn 11689 412 11690 10 (set (reg/f:SI 1 %r1) (reg/f:SI 3109)) ../../../src/H5trace.c:159 40 {*pa.md:2211} (nil)) ../../../src/H5trace.c:2540:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:411 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions. Preprocessed source stored into /tmp/ccUnZIdN.out file, please attach this to your bugreport.