public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188
@ 2011-06-30 23:28 anton at samba dot org
  2011-07-01  7:06 ` [Bug tree-optimization/49601] [4.7 Regression] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: anton at samba dot org @ 2011-06-30 23:28 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE at ipa-inline-analysis.c:1188
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: anton@samba.org
            Target: powerpc64-linux-gnu-gnu


A recent powerpc64-linux build of gcc:

gcc version 4.7.0 20110630 (experimental) (GCC) 

gets an ICE with the following testcase (originally from a kernel compile):

static inline __attribute__((always_inline)) void zot(unsigned a, unsigned b)
{
    if (__builtin_constant_p(a > 4096 || b > 0))
        asm volatile("":::"memory");
}

int foo(unsigned long a)
{
    unsigned b = 4096 - a;
    zot(a + b, 0);

    return 1;
}

# gcc -O2 -c fs/buffer.i
fs/buffer.i:13:1: internal compiler error: tree check: expected ssa_name, have
integer_cst in set_cond_stmt_execution_predicate, at ipa-inline-analysis.c:1188
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188
  2011-06-30 23:28 [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188 anton at samba dot org
@ 2011-07-01  7:06 ` rguenth at gcc dot gnu.org
  2011-07-11  2:56 ` amodra at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-07-01  7:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org
   Target Milestone|---                         |4.7.0
            Summary|ICE at                      |[4.7 Regression] ICE at
                   |ipa-inline-analysis.c:1188  |ipa-inline-analysis.c:1188

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-01 07:06:31 UTC ---
Doesn't reproduce on x86_64.


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

* [Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188
  2011-06-30 23:28 [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188 anton at samba dot org
  2011-07-01  7:06 ` [Bug tree-optimization/49601] [4.7 Regression] " rguenth at gcc dot gnu.org
@ 2011-07-11  2:56 ` amodra at gmail dot com
  2011-08-02 14:40 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: amodra at gmail dot com @ 2011-07-11  2:56 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.07.11 02:55:49
                 CC|                            |amodra at gmail dot com
     Ever Confirmed|0                           |1

--- Comment #2 from Alan Modra <amodra at gmail dot com> 2011-07-11 02:55:49 UTC ---
Confirmed with powerpc64 20110706


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

* [Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188
  2011-06-30 23:28 [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188 anton at samba dot org
  2011-07-01  7:06 ` [Bug tree-optimization/49601] [4.7 Regression] " rguenth at gcc dot gnu.org
  2011-07-11  2:56 ` amodra at gmail dot com
@ 2011-08-02 14:40 ` rguenth at gcc dot gnu.org
  2011-09-23 13:22 ` Paulo.Matos at csr dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-08-02 14:40 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188
  2011-06-30 23:28 [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188 anton at samba dot org
                   ` (2 preceding siblings ...)
  2011-08-02 14:40 ` rguenth at gcc dot gnu.org
@ 2011-09-23 13:22 ` Paulo.Matos at csr dot com
  2011-09-23 13:33 ` Paulo.Matos at csr dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Paulo.Matos at csr dot com @ 2011-09-23 13:22 UTC (permalink / raw)
  To: gcc-bugs

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

Paulo J. Matos <Paulo.Matos at csr dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Paulo.Matos at csr dot com

--- Comment #3 from Paulo J. Matos <Paulo.Matos at csr dot com> 2011-09-23 13:19:33 UTC ---
Richard raised concerns about this PR being an old bug and already fixed.
Initially I only confirmed it in 4.6.1 but I can reproduce it in git head
36181f98f (that's from 30mins ago).


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

* [Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188
  2011-06-30 23:28 [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188 anton at samba dot org
                   ` (3 preceding siblings ...)
  2011-09-23 13:22 ` Paulo.Matos at csr dot com
@ 2011-09-23 13:33 ` Paulo.Matos at csr dot com
  2011-09-23 13:35 ` hubicka at gcc dot gnu.org
  2011-09-23 13:42 ` hubicka at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: Paulo.Matos at csr dot com @ 2011-09-23 13:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Paulo J. Matos <Paulo.Matos at csr dot com> 2011-09-23 13:22:15 UTC ---
(In reply to comment #3)
> Richard raised concerns about this PR being an old bug and already fixed.
> Initially I only confirmed it in 4.6.1 but I can reproduce it in git head
> 36181f98f (that's from 30mins ago).

Ignore previous comment. Wrong bug.


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

* [Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188
  2011-06-30 23:28 [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188 anton at samba dot org
                   ` (4 preceding siblings ...)
  2011-09-23 13:33 ` Paulo.Matos at csr dot com
@ 2011-09-23 13:35 ` hubicka at gcc dot gnu.org
  2011-09-23 13:42 ` hubicka at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-09-23 13:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-09-23 13:29:23 UTC ---
I believe I fixed this one, will double check.


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

* [Bug tree-optimization/49601] [4.7 Regression] ICE at ipa-inline-analysis.c:1188
  2011-06-30 23:28 [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188 anton at samba dot org
                   ` (5 preceding siblings ...)
  2011-09-23 13:35 ` hubicka at gcc dot gnu.org
@ 2011-09-23 13:42 ` hubicka at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-09-23 13:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-09-23 13:33:00 UTC ---
Seems it is indeed fixed.


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

end of thread, other threads:[~2011-09-23 13:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-30 23:28 [Bug tree-optimization/49601] New: ICE at ipa-inline-analysis.c:1188 anton at samba dot org
2011-07-01  7:06 ` [Bug tree-optimization/49601] [4.7 Regression] " rguenth at gcc dot gnu.org
2011-07-11  2:56 ` amodra at gmail dot com
2011-08-02 14:40 ` rguenth at gcc dot gnu.org
2011-09-23 13:22 ` Paulo.Matos at csr dot com
2011-09-23 13:33 ` Paulo.Matos at csr dot com
2011-09-23 13:35 ` hubicka at gcc dot gnu.org
2011-09-23 13:42 ` hubicka 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).