This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/26306] Use of volatile array with bounds determined at run time.
- From: "charlet at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2006 19:39:18 -0000
- Subject: [Bug ada/26306] Use of volatile array with bounds determined at run time.
- References: <bug-26306-12193@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from charlet at gcc dot gnu dot org 2006-11-01 19:39 -------
You built GCC with --disable-checking, which is not a good idea (in particular
with GCC >= 4.1, at a minimum you should use --enable-checking=release).
this bug is still present in trunk:
<<
gcc -c scratch.adb
+===========================GNAT BUG DETECTED==============================+
| 4.3.0 20061101 (experimental) (i686-pc-linux-gnu) GCC error: |
| in force_constant_size, at gimplify.c:708 |
| Error detected around scratch.adb:47 |
>>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26306