public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/32571]  New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011
@ 2007-07-01 11:22 mstein at phenix dot rootshell dot be
  2007-07-01 11:34 ` [Bug tree-optimization/32571] " mstein at phenix dot rootshell dot be
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mstein at phenix dot rootshell dot be @ 2007-07-01 11:22 UTC (permalink / raw)
  To: gcc-bugs

Hello,
there seems to be a problem compiling the attached source file with
i686-pc-linux-gnu-gcc:

  gcc -m32 -Wp,-MD,drivers/infiniband/hw/mthca/.mthca_provider.o.d  -nostdinc
-isystem
/home/mstein/host-gcc/trunk-2007-07-01/bin/../lib/gcc/i686-pc-linux-gnu/4.3.0/include
-D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe
-msoft-float -mregparm=3 -mpreferred-stack-boundary=2  -march=i686
-mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 
-Iinclude/asm-i386/mach-default -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g  -fno-stack-protector
-Wdeclaration-after-statement -Wno-pointer-sign   -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(mthca_provider)" 
-D"KBUILD_MODNAME=KBUILD_STR(ib_mthca)" -c -o
drivers/infiniband/hw/mthca/.tmp_mthca_provider.o
drivers/infiniband/hw/mthca/mthca_provider.c
gcc: warning: -pipe ignored because -save-temps specified
drivers/infiniband/hw/mthca/mthca_provider.c: In function 'mthca_unmap_fmr':
drivers/infiniband/hw/mthca/mthca_provider.c:1133: internal compiler error: in
set_ssa_val_to, at tree-ssa-sccvn.c:1011
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

host gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /home/mstein/svn/trunk/configure --enable-languages=c
--disable-nls --prefix=/n/07/mstein/host-gcc/trunk-2007-07-01
Thread model: posix
gcc version 4.3.0 20070630 (experimental)

Tested revion: 126157
Last succesfull build revision: 126095


-- 
           Summary: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mstein at phenix dot rootshell dot be
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug tree-optimization/32571] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011
  2007-07-01 11:22 [Bug tree-optimization/32571] New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011 mstein at phenix dot rootshell dot be
@ 2007-07-01 11:34 ` mstein at phenix dot rootshell dot be
  2007-07-01 22:44 ` [Bug tree-optimization/32571] [4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mstein at phenix dot rootshell dot be @ 2007-07-01 11:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mstein at phenix dot rootshell dot be  2007-07-01 11:34 -------
Created an attachment (id=13813)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13813&action=view)
preprocessed source file from linux-2.6.20, delta-reduced


-- 


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


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

* [Bug tree-optimization/32571] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011
  2007-07-01 11:22 [Bug tree-optimization/32571] New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011 mstein at phenix dot rootshell dot be
  2007-07-01 11:34 ` [Bug tree-optimization/32571] " mstein at phenix dot rootshell dot be
@ 2007-07-01 22:44 ` pinskia at gcc dot gnu dot org
  2007-07-02  0:52 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-01 22:44 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dberlin at gcc dot gnu dot
                   |                            |org
           Keywords|                            |ice-on-valid-code
            Summary|ICE in set_ssa_val_to, at   |[4.3 Regression] ICE in
                   |tree-ssa-sccvn.c:1011       |set_ssa_val_to, at tree-ssa-
                   |                            |sccvn.c:1011
   Target Milestone|---                         |4.3.0


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


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

* [Bug tree-optimization/32571] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011
  2007-07-01 11:22 [Bug tree-optimization/32571] New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011 mstein at phenix dot rootshell dot be
  2007-07-01 11:34 ` [Bug tree-optimization/32571] " mstein at phenix dot rootshell dot be
  2007-07-01 22:44 ` [Bug tree-optimization/32571] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-07-02  0:52 ` pinskia at gcc dot gnu dot org
  2007-07-02  4:36 ` dberlin at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-02  0:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-07-02 00:52 -------
Here is a more reduced testcase (without the inline-asm):

struct list_head {
 struct list_head *next, *prev;
};
struct ib_fmr {
 int *device;
 struct list_head list;
};
static inline
struct mthca_fmr *to_mfmr(struct ib_fmr *ibmr)
{
 const struct ib_fmr *__mptr = (ibmr);
 return (struct mthca_fmr *)( (char *)__mptr );
}
void mthca_unmap_fmr(struct list_head *fmr_list)
{
 struct ib_fmr *fmr;
 if (mthca_is_memfree())
 {
  for (fmr =
  ({ const struct list_head *__mptr = ((fmr_list)->next); (struct ib_fmr *)(
(char *)__mptr - 8 );});
  &fmr->list != (fmr_list);
  fmr = ({ const struct list_head *__mptr = (fmr->list.next); (struct ib_fmr
*)( (char *)__mptr - 8);})
  )
   mthca_arbel_fmr_unmap(to_mfmr(fmr));
 }
 else
  for (fmr = 
  ({ const struct list_head *__mptr = ((fmr_list)->next); (struct ib_fmr *)(
(char *)__mptr - 8);});
   &fmr->list != (fmr_list);
   fmr = ({ const struct list_head *__mptr = (fmr->list.next); (struct ib_fmr
*)( (char *)__mptr - 8);})
   )
   mthca_tavor_fmr_unmap(to_mfmr(fmr));
}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-07-02 00:52:04
               date|                            |


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


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

* [Bug tree-optimization/32571] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011
  2007-07-01 11:22 [Bug tree-optimization/32571] New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011 mstein at phenix dot rootshell dot be
                   ` (2 preceding siblings ...)
  2007-07-02  0:52 ` pinskia at gcc dot gnu dot org
@ 2007-07-02  4:36 ` dberlin at gcc dot gnu dot org
  2007-07-02 12:47 ` dberlin at gcc dot gnu dot org
  2007-07-03 13:32 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2007-07-02  4:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dberlin at gcc dot gnu dot org  2007-07-02 04:35 -------
Subject: Bug 32571

Author: dberlin
Date: Mon Jul  2 04:35:37 2007
New Revision: 126186

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126186
Log:
2007-07-01  Daniel Berlin  <dberlin@dberlin.org>

        Fix PR tree-optimization/32571
        * tree-ssa-sccvn.c (visit_use): Shortcut copies to avoid
        simplifying them.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-sccvn.c


-- 


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


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

* [Bug tree-optimization/32571] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011
  2007-07-01 11:22 [Bug tree-optimization/32571] New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011 mstein at phenix dot rootshell dot be
                   ` (3 preceding siblings ...)
  2007-07-02  4:36 ` dberlin at gcc dot gnu dot org
@ 2007-07-02 12:47 ` dberlin at gcc dot gnu dot org
  2007-07-03 13:32 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2007-07-02 12:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dberlin at gcc dot gnu dot org  2007-07-02 12:47 -------
Fixed


-- 

dberlin at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/32571] [4.3 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011
  2007-07-01 11:22 [Bug tree-optimization/32571] New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011 mstein at phenix dot rootshell dot be
                   ` (4 preceding siblings ...)
  2007-07-02 12:47 ` dberlin at gcc dot gnu dot org
@ 2007-07-03 13:32 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-07-03 13:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2007-07-03 13:32 -------
*** Bug 32576 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-07-03 13:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-01 11:22 [Bug tree-optimization/32571] New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1011 mstein at phenix dot rootshell dot be
2007-07-01 11:34 ` [Bug tree-optimization/32571] " mstein at phenix dot rootshell dot be
2007-07-01 22:44 ` [Bug tree-optimization/32571] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-07-02  0:52 ` pinskia at gcc dot gnu dot org
2007-07-02  4:36 ` dberlin at gcc dot gnu dot org
2007-07-02 12:47 ` dberlin at gcc dot gnu dot org
2007-07-03 13:32 ` rguenth at gcc dot gnu dot 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).