[Bug ada/49346] GNAT fails to compile combination of c23006e and c32107a ACATS tests

tero.koskinen at iki dot fi gcc-bugzilla@gcc.gnu.org
Wed Jan 29 21:17:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49346

Tero Koskinen <tero.koskinen at iki dot fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Tero Koskinen <tero.koskinen at iki dot fi> ---
This works with gcc 4.8.2 on Fedora 20/x86_64. Resolving issue as fixed.

> GNATLS 4.8.2 20131212 (Red Hat 4.8.2-7)

$ gnatmake test2
gcc -c test2.adb
gcc -c c23006e.adb
gcc -c c32107a.adb
c32107a.adb:124:11: warning: variable "A" is read but never assigned
c32107a.adb:126:11: warning: variable "I" is never read and never assigned
c32107a.adb:127:11: warning: variable "S" is read but never assigned
c32107a.adb:148:11: warning: variable "A1" is read but never assigned
c32107a.adb:207:11: warning: variable "A2" is read but never assigned
c32107a.adb:272:11: warning: variable "R2" is read but never assigned
gcc -c c230063proc.adb
gcc -c c23006egfunc.adb
gcc -c f1.ads
gcc -c p1.ads
gcc -c report.adb
report.adb:314:30: warning: index for "NAM" may assume lower bound of 1
report.adb:314:30: warning: suggested replacement: "NAM'First + 2"
report.adb:314:33: warning: index for "NAM" may assume lower bound of 1
report.adb:314:33: warning: suggested replacement: "NAM'First + 6"
gcc -c c23006e_gfunc.adb
gcc -c c23006e_proc.adb
gnatbind -x test2.ali
gnatlink test2.ali
$



More information about the Gcc-bugs mailing list