public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101879] New: Broken diagnostic: 'vec_perm_expr' not supported by dump_expr<expression error>
@ 2021-08-12 14:04 reichelt at gcc dot gnu.org
2021-08-12 14:10 ` [Bug c++/101879] " pinskia at gcc dot gnu.org
2021-08-16 8:54 ` rguenth at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: reichelt at gcc dot gnu.org @ 2021-08-12 14:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101879
Bug ID: 101879
Summary: Broken diagnostic: 'vec_perm_expr' not supported by
dump_expr<expression error>
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
Target Milestone: ---
The following invalid code snippet produces a garbled diagnostic
('vec_perm_expr' not supported by dump_expr<expression error>):
============================================================================
template<typename T>
auto foo(const T& x) -> decltype(__builtin_shuffle(x,x)) { return }
============================================================================
bug.cc: In function 'decltype ('vec_perm_expr' not supported by
dump_expr<expression error>) foo(const T&)':
bug.cc:6:67: error: expected primary-expression before '}' token
6 | auto foo(const T& x) -> decltype(__builtin_shuffle(x,x)) { return }
| ^
bug.cc:6:66: error: expected ';' before '}' token
6 | auto foo(const T& x) -> decltype(__builtin_shuffle(x,x)) { return }
| ^~
| ;
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/101879] Broken diagnostic: 'vec_perm_expr' not supported by dump_expr<expression error>
2021-08-12 14:04 [Bug c++/101879] New: Broken diagnostic: 'vec_perm_expr' not supported by dump_expr<expression error> reichelt at gcc dot gnu.org
@ 2021-08-12 14:10 ` pinskia at gcc dot gnu.org
2021-08-16 8:54 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-12 14:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101879
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-08-12
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/101879] Broken diagnostic: 'vec_perm_expr' not supported by dump_expr<expression error>
2021-08-12 14:04 [Bug c++/101879] New: Broken diagnostic: 'vec_perm_expr' not supported by dump_expr<expression error> reichelt at gcc dot gnu.org
2021-08-12 14:10 ` [Bug c++/101879] " pinskia at gcc dot gnu.org
@ 2021-08-16 8:54 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-08-16 8:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101879
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
we could dump as __builtin_shuffle
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-16 8:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-12 14:04 [Bug c++/101879] New: Broken diagnostic: 'vec_perm_expr' not supported by dump_expr<expression error> reichelt at gcc dot gnu.org
2021-08-12 14:10 ` [Bug c++/101879] " pinskia at gcc dot gnu.org
2021-08-16 8:54 ` 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).