public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/34679]  New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949
@ 2008-01-04 19:29 tbm at cyrius dot com
  2008-01-04 20:06 ` [Bug target/34679] " tbm at cyrius dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2008-01-04 19:29 UTC (permalink / raw)
  To: gcc-bugs

With trunk 20071212 on hppa:

tbm@tx:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O3 linux-2.6-page_alloc.i
mm/page_alloc.c: In function '__build_all_zonelists':
mm/page_alloc.c:2077: internal compiler error: tree check: expected
integer_type, have enumeral_type in host_integerp, at tree.c:4949
Please submit a full bug report,


-- 
           Summary: [4.3 Regression] ICE: tree check: expected integer_type,
                    have enumeral_type in host_integerp, at tree.c:4949
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: hppa-linux-gnu


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


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

* [Bug target/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
@ 2008-01-04 20:06 ` tbm at cyrius dot com
  2008-01-04 22:05 ` [Bug middle-end/34679] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: tbm at cyrius dot com @ 2008-01-04 20:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2008-01-04 18:51 -------
Created an attachment (id=14880)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14880&action=view)
preprocessed source


-- 


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


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

* [Bug middle-end/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
  2008-01-04 20:06 ` [Bug target/34679] " tbm at cyrius dot com
@ 2008-01-04 22:05 ` pinskia at gcc dot gnu dot org
  2008-01-05 12:09 ` [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning) rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-04 22:05 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
          Component|target                      |middle-end
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |4.3.0
            Version|4.2.3                       |4.3.0


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


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

* [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
  2008-01-04 20:06 ` [Bug target/34679] " tbm at cyrius dot com
  2008-01-04 22:05 ` [Bug middle-end/34679] " pinskia at gcc dot gnu dot org
@ 2008-01-05 12:09 ` rguenth at gcc dot gnu dot org
  2008-01-09  6:15 ` spop at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-05 12:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-01-05 11:25 -------
#2  0x0000000000b09925 in host_integerp (t=0x2b817cd15b70, pos=0)
    at /space/rguenther/src/svn/trunk/gcc/tree.c:4949
#3  0x0000000000686e97 in fold_plusminus_mult_expr (code=PLUS_EXPR, 
    type=0x2b817c26f000, arg0=0x2b817cdf36c0, arg1=0x2b817c25d570)
    at /space/rguenther/src/svn/trunk/gcc/fold-const.c:7402
...
#12 0x0000000000caeb7e in chrec_fold_plus_1 (code=PLUS_EXPR, 
    type=0x2b817c26f000, op0=0x2b817ce07700, op1=0x2b817cc7b630)
    at /space/rguenther/src/svn/trunk/gcc/tree-chrec.c:323
...
#19 0x0000000000952f5d in analyze_scalar_evolution_in_loop (
    wrto_loop=0x2b817cc545a0, use_loop=0x2b817cc545a0, version=0x2b817ce07100, 
    folded_casts=0x7fff2e8a6f3f "")
    at /space/rguenther/src/svn/trunk/gcc/tree-scalar-evolution.c:1854
#20 0x00000000009579e0 in simple_iv (loop=0x2b817cc545a0, stmt=0x2b817d15b9f0, 
    op=0x2b817ce07100, iv=0x7fff2e8a7030, allow_nonconstant_step=0 '\0')
    at /space/rguenther/src/svn/trunk/gcc/tree-scalar-evolution.c:2663
#21 0x00000000008bd379 in dr_analyze_innermost (dr=0x12266d0)
    at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:683
#22 0x00000000008bf1eb in create_data_ref (nest=0x2b817cc545a0, 
    memref=0x2b817d5335a0, stmt=0x2b817d15b9f0, is_read=1 '\001')
    at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:841
#23 0x00000000008ce048 in find_data_references_in_stmt (nest=0x2b817cc545a0, 
    stmt=0x2b817d15b9f0, datarefs=0x7fff2e8a72f8)
    at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:4026
#24 0x00000000008ce434 in find_data_references_in_loop (loop=0x2b817cc545a0, 
    datarefs=0x7fff2e8a72f8)
    at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:4071
#25 0x00000000008ce9b3 in compute_data_dependences_for_loop (
    loop=0x2b817cc545a0, compute_self_and_read_read_dependences=1 '\001', 
    datarefs=0x7fff2e8a72f8, dependence_relations=0x7fff2e8a72f0)
    at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:4148
#26 0x000000000092e23a in tree_predictive_commoning_loop (loop=0x2b817cc545a0)
    at /space/rguenther/src/svn/trunk/gcc/tree-predcom.c:2496

reproducible with a cross, -fno-predictive-commoning is a workaround.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org, spop at gcc dot gnu dot
                   |                            |org
          Component|middle-end                  |tree-optimization
            Summary|[4.3 Regression] ICE: tree  |[4.3 Regression] ICE: tree
                   |check: expected             |check: expected
                   |integer_type, have          |integer_type, have
                   |enumeral_type in            |enumeral_type in
                   |host_integerp, at           |host_integerp, at
                   |tree.c:4949                 |tree.c:4949 (predictive
                   |                            |commoning)


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


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

* [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2008-01-05 12:09 ` [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning) rguenth at gcc dot gnu dot org
@ 2008-01-09  6:15 ` spop at gcc dot gnu dot org
  2008-01-09  8:34   ` Sebastian Pop
  2008-01-09  8:51 ` sebpop at gmail dot com
                   ` (5 subsequent siblings)
  9 siblings, 1 reply; 12+ messages in thread
From: spop at gcc dot gnu dot org @ 2008-01-09  6:15 UTC (permalink / raw)
  To: gcc-bugs



-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |spop at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-01-09 05:29:48
               date|                            |


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


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

* Re: [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
  2008-01-09  6:15 ` spop at gcc dot gnu dot org
@ 2008-01-09  8:34   ` Sebastian Pop
  0 siblings, 0 replies; 12+ messages in thread
From: Sebastian Pop @ 2008-01-09  8:34 UTC (permalink / raw)
  To: gcc-bugzilla; +Cc: gcc-bugs

Patch http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00344.html


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

* [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2008-01-09  6:15 ` spop at gcc dot gnu dot org
@ 2008-01-09  8:51 ` sebpop at gmail dot com
  2008-01-09 10:38 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: sebpop at gmail dot com @ 2008-01-09  8:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sebpop at gmail dot com  2008-01-09 08:08 -------
Subject: Re:  [4.3 Regression] ICE: tree check: expected integer_type, have
enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)

Patch http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00344.html


-- 


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


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

* [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2008-01-09  8:51 ` sebpop at gmail dot com
@ 2008-01-09 10:38 ` rguenth at gcc dot gnu dot org
  2008-01-09 11:05 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-09 10:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-01-09 10:34 -------
I have a different patch.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|spop at gcc dot gnu dot org |rguenth at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2008-01-09 10:38 ` rguenth at gcc dot gnu dot org
@ 2008-01-09 11:05 ` rguenth at gcc dot gnu dot org
  2008-01-09 13:44 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-09 11:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-01-09 10:35 -------
Caused by the fix for PR32563 btw.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |32563
              nThis|                            |


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


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

* [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2008-01-09 11:05 ` rguenth at gcc dot gnu dot org
@ 2008-01-09 13:44 ` rguenth at gcc dot gnu dot org
  2008-01-09 13:50 ` rguenth at gcc dot gnu dot org
  2008-01-09 14:46 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-09 13:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2008-01-09 12:14 -------
Subject: Bug 34679

Author: rguenth
Date: Wed Jan  9 12:14:01 2008
New Revision: 131425

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131425
Log:
2008-01-09  Richard Guenther  <rguenther@suse.de>

        PR middle-end/34679
        * tree.c (host_integerp): Check for sizetype only if the
        type is an integer type.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree.c


-- 


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


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

* [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2008-01-09 13:44 ` rguenth at gcc dot gnu dot org
@ 2008-01-09 13:50 ` rguenth at gcc dot gnu dot org
  2008-01-09 14:46 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-09 13:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2008-01-09 12:19 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
  2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
                   ` (8 preceding siblings ...)
  2008-01-09 13:50 ` rguenth at gcc dot gnu dot org
@ 2008-01-09 14:46 ` rguenth at gcc dot gnu dot org
  9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-09 14:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2008-01-09 13:43 -------
Subject: Bug 34679

Author: rguenth
Date: Wed Jan  9 13:43:03 2008
New Revision: 131427

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131427
Log:
2008-01-09  Richard Guenther  <rguenther@suse.de>

        PR middle-end/34679
        * tree.c (host_integerp): Check for sizetype only if the
        type is an integer type.

Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/tree.c


-- 


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


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

end of thread, other threads:[~2008-01-09 13:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-04 19:29 [Bug target/34679] New: [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 tbm at cyrius dot com
2008-01-04 20:06 ` [Bug target/34679] " tbm at cyrius dot com
2008-01-04 22:05 ` [Bug middle-end/34679] " pinskia at gcc dot gnu dot org
2008-01-05 12:09 ` [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning) rguenth at gcc dot gnu dot org
2008-01-09  6:15 ` spop at gcc dot gnu dot org
2008-01-09  8:34   ` Sebastian Pop
2008-01-09  8:51 ` sebpop at gmail dot com
2008-01-09 10:38 ` rguenth at gcc dot gnu dot org
2008-01-09 11:05 ` rguenth at gcc dot gnu dot org
2008-01-09 13:44 ` rguenth at gcc dot gnu dot org
2008-01-09 13:50 ` rguenth at gcc dot gnu dot org
2008-01-09 14:46 ` 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).