public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87
@ 2021-08-20  1:58 hewillk at gmail dot com
  2021-08-20  2:03 ` [Bug c++/101990] [12 Regression] ICE after parse error with concepts pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hewillk at gmail dot com @ 2021-08-20  1:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990

            Bug ID: 101990
           Summary: ICE: tree check: expected class 'type', have
                    'exceptional' (error_mark) in
                    useless_type_conversion_p, at gimple-expr.c:87
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

template<auto> class S {};

template<class T> concept C = requires { []<T x>() -> typename S<x> { }; };

void foo(bool);

int main() {
  foo(C<int>);
}

https://godbolt.org/z/zsYY5bPoW

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

* [Bug c++/101990] [12 Regression] ICE after parse error with concepts
  2021-08-20  1:58 [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 hewillk at gmail dot com
@ 2021-08-20  2:03 ` pinskia at gcc dot gnu.org
  2021-08-20  2:04 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-20  2:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
            Summary|ICE: tree check: expected   |[12 Regression] ICE after
                   |class 'type', have          |parse error with concepts
                   |'exceptional' (error_mark)  |
                   |in                          |
                   |useless_type_conversion_p,  |
                   |at gimple-expr.c:87         |

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

* [Bug c++/101990] [12 Regression] ICE after parse error with concepts
  2021-08-20  1:58 [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 hewillk at gmail dot com
  2021-08-20  2:03 ` [Bug c++/101990] [12 Regression] ICE after parse error with concepts pinskia at gcc dot gnu.org
@ 2021-08-20  2:04 ` pinskia at gcc dot gnu.org
  2021-08-20  7:47 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-20  2:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-08-20
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, worked with 20210528.

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

* [Bug c++/101990] [12 Regression] ICE after parse error with concepts
  2021-08-20  1:58 [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 hewillk at gmail dot com
  2021-08-20  2:03 ` [Bug c++/101990] [12 Regression] ICE after parse error with concepts pinskia at gcc dot gnu.org
  2021-08-20  2:04 ` pinskia at gcc dot gnu.org
@ 2021-08-20  7:47 ` marxin at gcc dot gnu.org
  2022-01-20 10:48 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-08-20  7:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started to ICE since r10-5014-g861d4af8d82819a8.

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

* [Bug c++/101990] [12 Regression] ICE after parse error with concepts
  2021-08-20  1:58 [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 hewillk at gmail dot com
                   ` (2 preceding siblings ...)
  2021-08-20  7:47 ` marxin at gcc dot gnu.org
@ 2022-01-20 10:48 ` rguenth at gcc dot gnu.org
  2022-05-06  8:30 ` [Bug c++/101990] [12/13 " jakub at gcc dot gnu.org
  2023-05-08 12:22 ` [Bug c++/101990] [12/13/14 " rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-20 10:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4

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

* [Bug c++/101990] [12/13 Regression] ICE after parse error with concepts
  2021-08-20  1:58 [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 hewillk at gmail dot com
                   ` (3 preceding siblings ...)
  2022-01-20 10:48 ` rguenth at gcc dot gnu.org
@ 2022-05-06  8:30 ` jakub at gcc dot gnu.org
  2023-05-08 12:22 ` [Bug c++/101990] [12/13/14 " rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-06  8:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.0                        |12.2

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 12.1 is being released, retargeting bugs to GCC 12.2.

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

* [Bug c++/101990] [12/13/14 Regression] ICE after parse error with concepts
  2021-08-20  1:58 [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 hewillk at gmail dot com
                   ` (4 preceding siblings ...)
  2022-05-06  8:30 ` [Bug c++/101990] [12/13 " jakub at gcc dot gnu.org
@ 2023-05-08 12:22 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-05-08 12:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101990

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.3                        |12.4

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 12.3 is being released, retargeting bugs to GCC 12.4.

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

end of thread, other threads:[~2023-05-08 12:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20  1:58 [Bug c++/101990] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 hewillk at gmail dot com
2021-08-20  2:03 ` [Bug c++/101990] [12 Regression] ICE after parse error with concepts pinskia at gcc dot gnu.org
2021-08-20  2:04 ` pinskia at gcc dot gnu.org
2021-08-20  7:47 ` marxin at gcc dot gnu.org
2022-01-20 10:48 ` rguenth at gcc dot gnu.org
2022-05-06  8:30 ` [Bug c++/101990] [12/13 " jakub at gcc dot gnu.org
2023-05-08 12:22 ` [Bug c++/101990] [12/13/14 " rguenth at gcc dot gnu.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).