http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46360

           Summary: [4.6 Regression] ICE in release_defs, at
                    tree-ssanames.c:313
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: rgue...@gcc.gnu.org


Created attachment 22321
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22321
preprocessed source

The package ebook-tools fails to build with

/usr/bin/gcc  -Depub_EXPORTS -Wall -W -Wno-long-long -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wpointer-arith
-Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wshadow
-fno-common -fomit-frame-pointer -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g  -fPIC
-I/usr/src/packages/BUILD/ebook-tools-0.2.0/src/libepub -I/usr/include/libxml2 
 -o CMakeFiles/epub.dir/epub.o   -c
/usr/src/packages/BUILD/ebook-tools-0.2.0/src/libepub/epub.c
/usr/src/packages/BUILD/ebook-tools-0.2.0/src/libepub/epub.c: In function
'epub_open':
/usr/src/packages/BUILD/ebook-tools-0.2.0/src/libepub/epub.c:19:3: internal
compiler error: in release_defs, at tree-ssanames.c:313
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.

and the cause is -Wwrite-strings as the attached testcase shows

> ./cc1 -quiet ~/epub.i -m32 -Wwrite-strings 
/usr/src/packages/BUILD/ebook-tools-0.2.0/src/libepub/epub.c: In function
'epub_open':
/usr/src/packages/BUILD/ebook-tools-0.2.0/src/libepub/epub.c:19:15: internal
compiler error: in release_defs, at tree-ssanames.c:313
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to