public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ARM/heads/morello)] Make -fgimple override -ffake-hybrid
@ 2022-05-06 14:44 Matthew Malcomson
  0 siblings, 0 replies; only message in thread
From: Matthew Malcomson @ 2022-05-06 14:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9a6713bdc72a9db401f2742b9bc8a40b813df297

commit 9a6713bdc72a9db401f2742b9bc8a40b813df297
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Wed Apr 27 10:15:02 2022 +0100

    Make -fgimple override -ffake-hybrid
    
    Morello gimple frontend testcases are likely to make deliberate choices
    about whether a pointer is a capability or not, and to make deliberate
    choices about whether to use __CAP_ADDR.  Changing the types under the
    hood is likely to give invalid gimple and lead to an ICE.

Diff:
---
 gcc/c/c-decl.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c
index 86805630ea2..e9b05efcd99 100644
--- a/gcc/c/c-decl.c
+++ b/gcc/c/c-decl.c
@@ -5950,6 +5950,11 @@ test_fake_hybrid (void)
   if (!flag_fake_hybrid || !targetm.capability_mode ().exists ())
     return false;
 
+  /* Fiddling with gimple testcases is likely to generate justified
+     verify_gimple ICEs.  */
+  if (flag_gimple)
+    return false;
+
   if (flag_fake_hybrid_init < flag_fake_hybrid)
     {
       int count = flag_fake_hybrid_init + fake_hybrid_counter++;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-06 14:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 14:44 [gcc(refs/vendors/ARM/heads/morello)] Make -fgimple override -ffake-hybrid Matthew Malcomson

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).