public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269
@ 2012-10-28 13:29 dcb314 at hotmail dot com
  2012-10-29 14:39 ` [Bug tree-optimization/55104] [4.8 Regression] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dcb314 at hotmail dot com @ 2012-10-28 13:29 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55104
           Summary: ice in inline_call, at ipa-inline-transform.c:269
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


Created attachment 28544
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28544
gzipped C++ source code

I just tried to compile the package openbabel-2.3.1-6
on gcc-4.8 trunk dated 20121027 on an AMD x86_64 box.

The compiler said

/home/dcb/rpmbuild/BUILD/openbabel-2.3.1/src/mol.cpp:4233:1: internal compiler
error: in inline_call, at ipa-inline-transform.c:269
 } // end namespace OpenBabel
 ^
0xe8e22b inline_call(cgraph_edge*, bool, vec_t<cgraph_edge*>**, int*, bool)
    ../../src/trunk/gcc/ipa-inline-transform.c:265
0xe8d214 inline_small_functions
    ../../src/trunk/gcc/ipa-inline.c:1524
0xe8d214 ipa_inline
    ../../src/trunk/gcc/ipa-inline.c:1706
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flag -O3 required.


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

* [Bug tree-optimization/55104] [4.8 Regression] ice in inline_call, at ipa-inline-transform.c:269
  2012-10-28 13:29 [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269 dcb314 at hotmail dot com
@ 2012-10-29 14:39 ` rguenth at gcc dot gnu.org
  2012-10-29 15:23 ` izamyatin at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-10-29 14:39 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org
   Target Milestone|---                         |4.8.0
            Summary|ice in inline_call, at      |[4.8 Regression] ice in
                   |ipa-inline-transform.c:269  |inline_call, at
                   |                            |ipa-inline-transform.c:269


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

* [Bug tree-optimization/55104] [4.8 Regression] ice in inline_call, at ipa-inline-transform.c:269
  2012-10-28 13:29 [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269 dcb314 at hotmail dot com
  2012-10-29 14:39 ` [Bug tree-optimization/55104] [4.8 Regression] " rguenth at gcc dot gnu.org
@ 2012-10-29 15:23 ` izamyatin at gmail dot com
  2012-10-29 16:40 ` markus at trippelsdorf dot de
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: izamyatin at gmail dot com @ 2012-10-29 15:23 UTC (permalink / raw)
  To: gcc-bugs


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

Igor Zamyatin <izamyatin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |izamyatin at gmail dot com

--- Comment #1 from Igor Zamyatin <izamyatin at gmail dot com> 2012-10-29 15:22:50 UTC ---
Caused by r192821


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

* [Bug tree-optimization/55104] [4.8 Regression] ice in inline_call, at ipa-inline-transform.c:269
  2012-10-28 13:29 [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269 dcb314 at hotmail dot com
  2012-10-29 14:39 ` [Bug tree-optimization/55104] [4.8 Regression] " rguenth at gcc dot gnu.org
  2012-10-29 15:23 ` izamyatin at gmail dot com
@ 2012-10-29 16:40 ` markus at trippelsdorf dot de
  2012-10-31 20:52 ` zsojka at seznam dot cz
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: markus at trippelsdorf dot de @ 2012-10-29 16:40 UTC (permalink / raw)
  To: gcc-bugs


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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus at trippelsdorf dot
                   |                            |de

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-10-29 16:40:17 UTC ---
#include <algorithm>
#include <vector>
using std::vector;
bool gr(const vector<int>& a, const vector<int>& b)
{
  return a.size() > b.size();
}

void foo(vector<vector<int> >& p1)
{
  sort(p1.begin(), p1.end(), gr);
}


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

* [Bug tree-optimization/55104] [4.8 Regression] ice in inline_call, at ipa-inline-transform.c:269
  2012-10-28 13:29 [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2012-10-29 16:40 ` markus at trippelsdorf dot de
@ 2012-10-31 20:52 ` zsojka at seznam dot cz
  2012-11-01 12:40 ` hubicka at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2012-10-31 20:52 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Zdenek Sojka <zsojka at seznam dot cz> 2012-10-31 20:52:04 UTC ---
Created attachment 28585
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28585
preprocessed source (quite reduced)

Probably the same source

Compiler output:
$ gcc -O2 --param=hot-bb-frequency-fraction=1 devirt2.ii 
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/opt/devirt2.C:30:23: internal compiler
error: in inline_call, at ipa-inline-transform.c:269
 void bah() {foo(&r.s);}
                       ^
0x1290c5e inline_call(cgraph_edge*, bool, vec_t<cgraph_edge*>**, int*, bool)
        /mnt/svn/gcc-trunk/gcc/ipa-inline-transform.c:265
0x128ffd4 inline_small_functions
        /mnt/svn/gcc-trunk/gcc/ipa-inline.c:1553
0x128ffd4 ipa_inline
        /mnt/svn/gcc-trunk/gcc/ipa-inline.c:1735
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug tree-optimization/55104] [4.8 Regression] ice in inline_call, at ipa-inline-transform.c:269
  2012-10-28 13:29 [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269 dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2012-10-31 20:52 ` zsojka at seznam dot cz
@ 2012-11-01 12:40 ` hubicka at gcc dot gnu.org
  2012-11-01 12:44 ` hubicka at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-11-01 12:40 UTC (permalink / raw)
  To: gcc-bugs


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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |55078

--- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-11-01 12:40:22 UTC ---
Most probably dup of PR55078. I am going to silence the ICE until that one is
fixed, lets not forget to double check that after fixing PR55078 this testcase
gets fixed, too.


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

* [Bug tree-optimization/55104] [4.8 Regression] ice in inline_call, at ipa-inline-transform.c:269
  2012-10-28 13:29 [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269 dcb314 at hotmail dot com
                   ` (4 preceding siblings ...)
  2012-11-01 12:40 ` hubicka at gcc dot gnu.org
@ 2012-11-01 12:44 ` hubicka at gcc dot gnu.org
  2012-12-07 12:56 ` rguenth at gcc dot gnu.org
  2012-12-09  0:21 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-11-01 12:44 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-11-01 12:44:22 UTC ---
Author: hubicka
Date: Thu Nov  1 12:44:13 2012
New Revision: 193062

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193062
Log:

    PR middle-end/55104
    * ipa-inline-transform.c (inline_call): Silence an sanity check until
    ipa-cp issue if fixed.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-inline-transform.c


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

* [Bug tree-optimization/55104] [4.8 Regression] ice in inline_call, at ipa-inline-transform.c:269
  2012-10-28 13:29 [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269 dcb314 at hotmail dot com
                   ` (5 preceding siblings ...)
  2012-11-01 12:44 ` hubicka at gcc dot gnu.org
@ 2012-12-07 12:56 ` rguenth at gcc dot gnu.org
  2012-12-09  0:21 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-07 12:56 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
         Depends on|                            |55078


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

* [Bug tree-optimization/55104] [4.8 Regression] ice in inline_call, at ipa-inline-transform.c:269
  2012-10-28 13:29 [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269 dcb314 at hotmail dot com
                   ` (6 preceding siblings ...)
  2012-12-07 12:56 ` rguenth at gcc dot gnu.org
@ 2012-12-09  0:21 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-12-09  0:21 UTC (permalink / raw)
  To: gcc-bugs


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-09 00:21:17 UTC ---
Yes this is a dup of bug 55078 after all.

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


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-28 13:29 [Bug c++/55104] New: ice in inline_call, at ipa-inline-transform.c:269 dcb314 at hotmail dot com
2012-10-29 14:39 ` [Bug tree-optimization/55104] [4.8 Regression] " rguenth at gcc dot gnu.org
2012-10-29 15:23 ` izamyatin at gmail dot com
2012-10-29 16:40 ` markus at trippelsdorf dot de
2012-10-31 20:52 ` zsojka at seznam dot cz
2012-11-01 12:40 ` hubicka at gcc dot gnu.org
2012-11-01 12:44 ` hubicka at gcc dot gnu.org
2012-12-07 12:56 ` rguenth at gcc dot gnu.org
2012-12-09  0:21 ` pinskia 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).