------- Comment #1 from rguenth at gcc dot gnu dot org  2010-07-19 09:12 -------
Confirmed.

./cc1 -quiet t.c
t.c: In function 'main':
t.c:5:3: error: void value not ignored as it ought to be
t.c:5:3: error: void value not ignored as it ought to be
t.c:5:5: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in get_narrower, at tree.c:7832
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |middle-end
     Ever Confirmed|0                           |1
           Keywords|                            |error-recovery, ice-on-
                   |                            |invalid-code
      Known to fail|                            |4.0.0
      Known to work|                            |3.4.6
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-19 09:12:57
               date|                            |
            Summary|crash on invalid code       |[4.3/4.4/4.5/4.6 Regression]
                   |if((a==1) ? (void) (0) : 1) |ICE in get_narrower, at
                   |                            |tree.c:7832
   Target Milestone|---                         |4.3.6


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

Reply via email to