------- Comment #2 from laurent at guerby dot net 2005-11-08 21:58 ------- Confirmed on 4.0.2 and 4.1.
+===========================GNAT BUG DETECTED==============================+ | 4.0.2 (i686-pc-linux-gnu) in build_unary_op, at ada/utils2.c:1056 | | Error detected at elements-sets.adb:95:21 | +===========================GNAT BUG DETECTED==============================+ | 4.1.0 20051106 (experimental) (i686-pc-linux-gnu) GCC error: | | in build_unary_op, at ada/utils2.c:1059 | | Error detected at elements-sets.adb:95:21 | But note that replacing in elements-sets.ads: type set is mod 2 ** 16 -1; by type set is mod 2 ** 16; makes the bug go away, and I believe it's likely a coding error to use a non power of two as modulus here, no? -- laurent at guerby dot net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2005-11-08 21:58:30 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24726