https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118499
--- Comment #5 from kargls at comcast dot net --- (In reply to Thomas Koenig from comment #3) > (In reply to kargls from comment #2) > > Not Thomas, but ... > > > > https://j3-fortran.org/doc/year/24/24-116.txt > > > > The exponentiation operator ** shall not be applied to UNSIGNED values. > > That was something that JoR put in to get the text accepted. As > we know, this worked for J3, but not for WG5... > > But yes, this restriction is actually a bit silly, not being > able to write 10u**5 does not really make sense. > > Would there be consensus to lift this restriction? Yes, please lift the restriction. I ran into this issue while writing a testcase as well. As J3 is not considering unsigned for F23, I believe that you needed worry about whether this should be hidden behind GFC_STD_GNU. You may want to ping Peter Klauser to see if he's inclined to also lift the restriction in flang. This would prevent incompatibilities.