Description of problem: $ cat test_overflow.adb procedure Test_Overflow is r : Integer; r1 : Long_Float := 0.3; begin r := Integer(r1); end Test_Overflow; $ gnatmake test_overflow.adb gcc -c test_overflow.adb gnatbind -x test_overflow.ali gnatlink test_overflow.ali $ ./test_overflow raised CONSTRAINT_ERROR : test_overflow.adb:5 overflow check failed Version-Release number of selected component (if applicable): gcc-4.8.0-0.7.fc19.x86_64
Seems this is related to profiledbootstrap, when using bootstrap instead of profiledbootstrap, all of stage1-gcc/gnat1, prev-gcc/gnat1 and gcc/gnat1 work correctly, with profiledbootstrap {stage1,prev}-gcc/gnat1 work correctly and gcc/gnat1 doesn't. The problem is somewhere in the Ada FE already, will try to bisect it and also will do a profiledbootstrap of vanilla trunk to see if it is reproduceable there.
This appears to be fixed upstream, hopefully we can get this into rawhide soon then.
Should be fixed in gcc-4.8.0-0.10.fc19.
plplot built fine now. Thanks!