public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/56034] New: ICE: verify_gimple failed (invalid PHI argument) with -ftree-loop-distribution
@ 2013-01-18 14:59 antoine.balestrat at gmail dot com
  2013-01-18 15:33 ` [Bug tree-optimization/56034] " mpolacek at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: antoine.balestrat at gmail dot com @ 2013-01-18 14:59 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56034
           Summary: ICE: verify_gimple failed (invalid PHI argument) with
                    -ftree-loop-distribution
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: antoine.balestrat@gmail.com


Hi !
Using GCC 4.8.0 as of 20130118 :

$ cat incompat.c
int a, b, *p;

void f(void)
{
    int *q;

    while(b++)
    {
        int i;
        p = &i;
        a = *q;
    }

    if(a)
        for(;; b++);
}

$ xgcc -O2 -w -ftree-loop-distribution incompat.c
incompat.c: In function ‘f’:
incompat.c:3:6: error: invalid PHI argument
 void f(void)
      ^
.MEM_10
incompat.c:3:6: error: incompatible types in PHI argument 0
int

void

a.0_26 = PHI <.MEM_10(5)>

incompat.c:3:6: internal compiler error: verify_gimple failed
0x90380c verify_gimple_in_cfg(function*)
    ../../srcdir/gcc/tree-cfg.c:4727
0x83e917 execute_function_todo
    ../../srcdir/gcc/passes.c:1966
0x83f297 execute_todo
    ../../srcdir/gcc/passes.c:1999
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

end of thread, other threads:[~2013-01-28 14:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-18 14:59 [Bug tree-optimization/56034] New: ICE: verify_gimple failed (invalid PHI argument) with -ftree-loop-distribution antoine.balestrat at gmail dot com
2013-01-18 15:33 ` [Bug tree-optimization/56034] " mpolacek at gcc dot gnu.org
2013-01-18 16:57 ` [Bug tree-optimization/56034] [4.8 Regression] " mpolacek at gcc dot gnu.org
2013-01-21 13:25 ` rguenth at gcc dot gnu.org
2013-01-25 15:34 ` mpolacek at gcc dot gnu.org
2013-01-25 18:16 ` rguenth at gcc dot gnu.org
2013-01-28 11:57 ` rguenth at gcc dot gnu.org
2013-01-28 14:46 ` rguenth at gcc dot gnu.org
2013-01-28 14:47 ` rguenth 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).