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



             Bug #: 54718

           Summary: [4.8 regression] ICE in remap_gimple_stmt, at

                    tree-inline.c:1468

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: bootstrap

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: r...@gcc.gnu.org

                CC: de...@gcc.gnu.org, ebotca...@gcc.gnu.org

              Host: sparc-sun-solaris2.11

            Target: sparc-sun-solaris2.11

             Build: sparc-sun-solaris2.11





Since 20120921 (r191613), go fails to bootstrap on Solaris 11.1/SPARC:



/vol/gcc/src/hg/trunk/local/gcc/go/gofrontend/expressions.cc: In member

function 'virtual bool

Type_conversion_expression::_ZNK26Type_conversion_expression24do_string_constant_valueEPSs.part.172(std::string*)

const':

/vol/gcc/src/hg/trunk/local/gcc/go/gofrontend/expressions.cc:14226:1: internal

compiler error: in remap_gimple_stmt, at tree-inline.c:1468

 }

 ^



The failure can be reproduced with the attached expression.ii like this:



cc1plus -fpreprocessed expressions.ii -quiet -mcpu=v9 -g -gtoggle -O2

-fno-exceptions -fno-rtti -fno-common -o expressions.s





A reghunt revealed that this was caused by the following patch:

The first bad revision is:

changeset:   3438:f36a4197405d

user:        dehao@138bc75d-0d04-0410-961f-82ee72b054a4

date:        Wed Sep 19 19:56:42 2012 +0000

summary:     Integrate lexical block into source_location.



2012-09-19  Dehao Chen  <de...@google.com>



        * toplev.c (general_init): Init block_locations.

[...]



The strange thing is that the failure only occurs on Solaris 11.1, not 11.0 or

10, but can be reliably reproduced on the former.  Maybe related to the VM

system rewrite in 11.1 in some way?



  Rainer

Reply via email to