public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/54655] New: [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468
@ 2012-09-21 12:51 markus at trippelsdorf dot de
  2012-09-21 13:44 ` [Bug tree-optimization/54655] " markus at trippelsdorf dot de
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-21 12:51 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54655
           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: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: markus@trippelsdorf.de


During building of Firefox I get:

/var/tmp/mozilla-central/js/src/ion/IonBuilder.cpp: In member function ‘bool
js::ion::IonBuilder::jsop_getprop(js::HandlePropertyName)’:
/var/tmp/mozilla-central/js/src/ion/IonBuilder.cpp:5830:70: internal compiler
error: in remap_gimple_stmt, at tree-inline.c:1468
                                         &isKnownConstant, &testObject))
                                                                      ^
Please submit a full bug report,
with preprocessed source if appropriate.


Reduced:

markus@x4 tmp % cat test.ii
extern "C" class A
{
};
template <typename T> class B:A
{
public:
    B (int *, T);
    ~B ()
    {
    }
};

bool a;
inline void
fn1 ()
{
    switch (0)
    case 0:
    {
    B <int*> b (0, 0);
    if (a)
        break;
    }
}

void
fn2 ()
{
    fn1 ();
}
markus@x4 tmp % g++ -O1 -c test.ii
test.ii: In function ‘void fn2()’:
test.ii:29:11: internal compiler error: in remap_gimple_stmt, at
tree-inline.c:1468
     fn1 ();
           ^
Please submit a full bug report,


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/54655] [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468
  2012-09-21 12:51 [Bug tree-optimization/54655] New: [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468 markus at trippelsdorf dot de
@ 2012-09-21 13:44 ` markus at trippelsdorf dot de
  2012-09-21 13:53 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-21 13:44 UTC (permalink / raw)
  To: gcc-bugs


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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dehao at gcc dot gnu.org

--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-21 13:43:49 UTC ---
Caused by r191494:

5169661db3501031dfeb1971582809a702d6cebe is the first bad commit
commit 5169661db3501031dfeb1971582809a702d6cebe
Author: dehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Sep 19 19:56:42 2012 +0000

    Integrate lexical block into source_location.

    gcc:
        2012-09-19  Dehao Chen  <dehao@google.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/54655] [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468
  2012-09-21 12:51 [Bug tree-optimization/54655] New: [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468 markus at trippelsdorf dot de
  2012-09-21 13:44 ` [Bug tree-optimization/54655] " markus at trippelsdorf dot de
@ 2012-09-21 13:53 ` dominiq at lps dot ens.fr
  2012-09-21 13:57 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-09-21 13:53 UTC (permalink / raw)
  To: gcc-bugs


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-09-21
     Ever Confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-09-21 13:53:13 UTC ---
AFAICT this seems to be fixed by the patch at

http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01491.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/54655] [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468
  2012-09-21 12:51 [Bug tree-optimization/54655] New: [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468 markus at trippelsdorf dot de
  2012-09-21 13:44 ` [Bug tree-optimization/54655] " markus at trippelsdorf dot de
  2012-09-21 13:53 ` dominiq at lps dot ens.fr
@ 2012-09-21 13:57 ` rguenth at gcc dot gnu.org
  2012-09-21 14:02 ` markus at trippelsdorf dot de
  2012-09-21 17:02 ` dehao at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-21 13:57 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/54655] [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468
  2012-09-21 12:51 [Bug tree-optimization/54655] New: [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468 markus at trippelsdorf dot de
                   ` (2 preceding siblings ...)
  2012-09-21 13:57 ` rguenth at gcc dot gnu.org
@ 2012-09-21 14:02 ` markus at trippelsdorf dot de
  2012-09-21 17:02 ` dehao at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-21 14:02 UTC (permalink / raw)
  To: gcc-bugs


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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-21 14:02:03 UTC ---
(In reply to comment #2)
> AFAICT this seems to be fixed by the patch at
> 
> http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01491.html

Yes it's fixed by the follow-up:
http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01513.html

*** This bug has been marked as a duplicate of bug 54649 ***


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/54655] [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468
  2012-09-21 12:51 [Bug tree-optimization/54655] New: [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468 markus at trippelsdorf dot de
                   ` (3 preceding siblings ...)
  2012-09-21 14:02 ` markus at trippelsdorf dot de
@ 2012-09-21 17:02 ` dehao at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: dehao at gcc dot gnu.org @ 2012-09-21 17:02 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from dehao at gcc dot gnu.org 2012-09-21 17:01:47 UTC ---
Author: dehao
Date: Fri Sep 21 17:01:36 2012
New Revision: 191615

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191615
Log:
2012-09-21  Dehao Chen  <dehao@google.com>

    PR go/54649
    PR tree-optimization/54655
    * g++.dg/pr54655.C: New testcase.


Added:
    trunk/gcc/testsuite/g++.dg/pr54655.C
Modified:
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-21 17:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-21 12:51 [Bug tree-optimization/54655] New: [4.8 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1468 markus at trippelsdorf dot de
2012-09-21 13:44 ` [Bug tree-optimization/54655] " markus at trippelsdorf dot de
2012-09-21 13:53 ` dominiq at lps dot ens.fr
2012-09-21 13:57 ` rguenth at gcc dot gnu.org
2012-09-21 14:02 ` markus at trippelsdorf dot de
2012-09-21 17:02 ` dehao at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).