public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34
@ 2004-10-31 11:04 steven at gcc dot gnu dot org
  2004-10-31 11:07 ` [Bug tree-optimization/18250] " giovannibajo at libero dot it
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-10-31 11:04 UTC (permalink / raw)
  To: gcc-bugs

typedef struct 
{ 
  unsigned long hashval; 
  int oldcount, newcount; 
  int oldindex, newindex; 
} HASHMAP; 
 
extern HASHMAP *H; 
 
void 
_nc_hash_map (void) 
{ 
  HASHMAP *sp; 
 
  for (sp = H; sp->hashval; sp++) 
    if (sp->oldcount == 1 && sp->newcount == 1) 
      sp->newindex = sp->oldindex; 
} 
 
$ ./cc1 -O t.c 
 _nc_hash_map 
 
t.c: In function '_nc_hash_map': 
t.c:12: internal compiler error: in var_ann, at tree-flow-inline.h:34 
 
This particular test cases comes from ncurses, but this also 
makes building glibc impossible, and probably many other programs.

-- 
           Summary: ICE in var_ann, at tree-flow-inline.h:34
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P1
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug tree-optimization/18250] ICE in var_ann, at tree-flow-inline.h:34
  2004-10-31 11:04 [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34 steven at gcc dot gnu dot org
@ 2004-10-31 11:07 ` giovannibajo at libero dot it
  2004-10-31 11:10 ` steven at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: giovannibajo at libero dot it @ 2004-10-31 11:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-10-31 11:07 -------
Cannot reproduce it with 4.0.0 20041018 (x86), so it has to be more recent.

-- 


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


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

* [Bug tree-optimization/18250] ICE in var_ann, at tree-flow-inline.h:34
  2004-10-31 11:04 [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34 steven at gcc dot gnu dot org
  2004-10-31 11:07 ` [Bug tree-optimization/18250] " giovannibajo at libero dot it
@ 2004-10-31 11:10 ` steven at gcc dot gnu dot org
  2004-10-31 11:32 ` steven at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-10-31 11:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2004-10-31 11:10 -------
My compiler is gcc (GCC) 4.0.0 20041027 (experimental) 
I'm seeing this on ia64, and I'm trying it on other targets now. 
 

-- 


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


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

* [Bug tree-optimization/18250] ICE in var_ann, at tree-flow-inline.h:34
  2004-10-31 11:04 [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34 steven at gcc dot gnu dot org
  2004-10-31 11:07 ` [Bug tree-optimization/18250] " giovannibajo at libero dot it
  2004-10-31 11:10 ` steven at gcc dot gnu dot org
@ 2004-10-31 11:32 ` steven at gcc dot gnu dot org
  2004-11-05 15:35 ` [Bug tree-optimization/18250] [4.0 regression] " schwab at suse dot de
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-10-31 11:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2004-10-31 11:32 -------
I can't reproduce it on mainline on ia64 or i686 either. 
Apparently already fixed? 
 

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


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


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

* [Bug tree-optimization/18250] [4.0 regression] ICE in var_ann, at tree-flow-inline.h:34
  2004-10-31 11:04 [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34 steven at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-10-31 11:32 ` steven at gcc dot gnu dot org
@ 2004-11-05 15:35 ` schwab at suse dot de
  2004-11-05 15:44 ` schwab at suse dot de
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: schwab at suse dot de @ 2004-11-05 15:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2004-11-05 15:35 -------
I can reproduce that on x86 when building the Ada library: 
 
../../xgcc -B../../ -c -g -O2 -fPIC      -W -Wall -gnatpg  s-mastop.adb -o 
s-mastop.o 
+===========================GNAT BUG DETECTED==============================+ 
| 4.0.0 20041105 (experimental) (SUSE Linux) (i586-suse-linux-gnu) GCC error:| 
| in var_ann, at tree-flow-inline.h:34                                     | 
| Error detected at s-mastop.adb:594:1                                     | 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |
            Summary|ICE in var_ann, at tree-    |[4.0 regression] ICE in
                   |flow-inline.h:34            |var_ann, at tree-flow-
                   |                            |inline.h:34


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


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

* [Bug tree-optimization/18250] [4.0 regression] ICE in var_ann, at tree-flow-inline.h:34
  2004-10-31 11:04 [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34 steven at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-11-05 15:35 ` [Bug tree-optimization/18250] [4.0 regression] " schwab at suse dot de
@ 2004-11-05 15:44 ` schwab at suse dot de
  2004-11-06 19:31 ` schwab at suse dot de
  2004-11-08 15:50 ` schwab at suse dot de
  6 siblings, 0 replies; 8+ messages in thread
From: schwab at suse dot de @ 2004-11-05 15:44 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|                            |i586-*-linux


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


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

* [Bug tree-optimization/18250] [4.0 regression] ICE in var_ann, at tree-flow-inline.h:34
  2004-10-31 11:04 [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34 steven at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-11-05 15:44 ` schwab at suse dot de
@ 2004-11-06 19:31 ` schwab at suse dot de
  2004-11-08 15:50 ` schwab at suse dot de
  6 siblings, 0 replies; 8+ messages in thread
From: schwab at suse dot de @ 2004-11-06 19:31 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schwab at suse dot de


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


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

* [Bug tree-optimization/18250] [4.0 regression] ICE in var_ann, at tree-flow-inline.h:34
  2004-10-31 11:04 [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34 steven at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-11-06 19:31 ` schwab at suse dot de
@ 2004-11-08 15:50 ` schwab at suse dot de
  6 siblings, 0 replies; 8+ messages in thread
From: schwab at suse dot de @ 2004-11-08 15:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2004-11-08 15:50 -------
Invalid, a bad local change caused this. 

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


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


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

end of thread, other threads:[~2004-11-08 15:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-31 11:04 [Bug tree-optimization/18250] New: ICE in var_ann, at tree-flow-inline.h:34 steven at gcc dot gnu dot org
2004-10-31 11:07 ` [Bug tree-optimization/18250] " giovannibajo at libero dot it
2004-10-31 11:10 ` steven at gcc dot gnu dot org
2004-10-31 11:32 ` steven at gcc dot gnu dot org
2004-11-05 15:35 ` [Bug tree-optimization/18250] [4.0 regression] " schwab at suse dot de
2004-11-05 15:44 ` schwab at suse dot de
2004-11-06 19:31 ` schwab at suse dot de
2004-11-08 15:50 ` schwab at suse dot de

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).