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

ishikawa,chiaki <ishikawa at yk dot rim.or.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ishikawa at yk dot rim.or.jp

--- Comment #2 from ishikawa,chiaki <ishikawa at yk dot rim.or.jp> ---
Created attachment 40633
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40633&action=edit
preprocessed file that triggers the ICE.

I have also seen this bug with gcc version 6.3.0 20170124 (Debian 6.3.0-5) 

I am attaching a preprocessed file uvectr64.ii

gcc version (distributed under Debian GNU/Linux)

 gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-5'
--with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-6 --program-prefix=x86_64-linux-gnu- --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
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--with-target-system-zlib --enable-objc-gc=auto --enable-multiarch
--with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
--enable-multilib --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170124 (Debian 6.3.0-5) 
ishikawa@debian-vbox-ci:/tmp$ 

I encountered a bug during a compilation of mozilla thunderbird. I used the
following command to compile the attached .ii file, and I got the following
ICE.
COMMAND LINE:
/usr/bin/g++-6 -std=gnu++11 -o uvectr64.o -c    -gsplit-dwarf           \
-DNDEBUG=1 -DTRIMMED=1 -DU_COMMON_IMPLEMENTATION -DLOCALE_SNAME=92      \
-DUCONFIG_NO_BREAK_ITERATION -DUCONFIG_NO_TRANSLITERATION               \
-DUCONFIG_NO_REGULAR_EXPRESSIONS -DUCONFIG_NO_LEGACY_CONVERSION         \
-DU_USING_ICU_NAMESPACE=0 -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1          \
-DU_CHARSET_IS_UTF8 -MD -MP -MF -Wall -Wc++11-compat                    \
-fno-builtin-strlen -Wl,--gdb-index -Dfdatasync=fdatasync               \
-DDEBUG_4GB_CHECK -DUSEHELGRIND=1 -fno-exceptions  \
-fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno          \
-pthread -g3 -Og -freorder-blocks                                 \
-fno-omit-frame-pointer -frtti -fdiagnostics-color                      \
./uvectr64.ii

ICE error:

new-hd1/extra/ishikawa/TB-3HG/NEW-COMMSRC/mozilla/intl/icu/source/common/uvectr64.cpp:213:3:
internal compiler error: in output_index_string, at dwarf2out.c:25635
 U_NAMESPACE_END
   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.

However, if I remove "-gsplit-dwarf" from my command line, it seems to compile.

TIA

Reply via email to