Fairly serious GCC 4.8 Ada regression

Björn Persson bjorn at xn--rombobjrn-67a.se
Sat Feb 2 11:40:49 UTC 2013


Orion Poplawski wrote:
> GCC 4.8 seems to have a fairly serious regression with regards to converting 
> Long_Float to Integer:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=906516
> 
> There aren't many ada using packages in in Fedora, but this is affecting plplot.

Wow, that's a weird compiler bug.

Your test program works for me if I change the conversion to
Integer(Long_Long_Integer(R1)). Perhaps you could patch PLplot with
that workaround while we wait for a fix to GCC?

Björn Persson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130202/342b1254/attachment.sig>


More information about the devel mailing list