public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ARM/heads/morello)] cp: Enable intcap -> bool conversions
@ 2022-06-13 10:13 Alex Coplan
0 siblings, 0 replies; only message in thread
From: Alex Coplan @ 2022-06-13 10:13 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:71957d9a75d8ad3c53797c56dfe97d99d25726cc
commit 71957d9a75d8ad3c53797c56dfe97d99d25726cc
Author: Alex Coplan <alex.coplan@arm.com>
Date: Thu Mar 31 14:15:19 2022 +0100
cp: Enable intcap -> bool conversions
Diff:
---
gcc/cp/call.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index 8e4bb0d6414..e56b56ac0f2 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -1461,7 +1461,8 @@ standard_conversion (tree to, tree from, tree expr, bool c_cast_p,
|| UNSCOPED_ENUM_P (from)
|| fcode == POINTER_TYPE
|| TYPE_PTRMEM_P (from)
- || NULLPTR_TYPE_P (from))
+ || NULLPTR_TYPE_P (from)
+ || INTCAP_TYPE_P (from))
{
conv = build_conv (ck_std, to, conv);
if (fcode == POINTER_TYPE
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-13 10:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 10:13 [gcc(refs/vendors/ARM/heads/morello)] cp: Enable intcap -> bool conversions Alex Coplan
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).