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

--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Created attachment 52649
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52649&action=edit
fdump-tree-original

The corrupt is indeed coming from the front-end.

Attached tree dumps.

--- stage2/typesem.d.005t.original      2022-03-18 10:40:44.087366215 +0100
+++ stage3/typesem.d.005t.original      2022-03-18 10:41:11.776070215 +0100
@@ -2994,7 +2994,7 @@ struct Expression * visitBasic (const st
           switch ((int) __frame.mt->ty)
             {
               case 13:;
-              return <retval> = integerValue (&__frame, 18446744073709551488);
+              return <retval> = integerValue (&__frame, 128);
               case 14:;
               case 16:;
               case 18:;

Reply via email to