[Bug c/126683] [13/14/15/16/17 Regression] <source>:7:8: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in create_tmp_from_val, at gimplify.cc:632

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126683

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |11.5.0
   Target Milestone|17.0                        |16.2
           Priority|P1                          |P4
      Known to fail|                            |12.1.0, 16.1.0
            Summary|[17 Regression]             |[13/14/15/16/17 Regression]
                   |<source>:7:8: internal      |<source>:7:8: internal
                   |compiler error: tree check: |compiler error: tree check:
                   |expected class 'type', have |expected class 'type', have
                   |'exceptional' (error_mark)  |'exceptional' (error_mark)
                   |in create_tmp_from_val, at  |in create_tmp_from_val, at
                   |gimplify.cc:632             |gimplify.cc:632
           Keywords|ice-on-valid-code           |ice-checking,
                   |                            |ice-on-invalid-code,
                   |                            |ice-on-invalid-fuzzy

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
This is invalid code and there is an error before the ICE too and it fails all
the way back to GCC 12 (as expected really).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.