]> gcc.gnu.org Git - gcc.git/commit
re PR ada/22559 (Bug box, Program_Error at sinput.adb:404, derived fixed-point type)
authorSamuel Tardieu <sam@rfc1149.net>
Wed, 28 Nov 2007 20:48:10 +0000 (20:48 +0000)
committerSamuel Tardieu <sam@gcc.gnu.org>
Wed, 28 Nov 2007 20:48:10 +0000 (20:48 +0000)
commit7bde4677df0023c825bb74173edf1590d89378cb
treec06a4a590ed41cead072d30c539186bc583af1cf
parent5a21849883efce34b55216109644da8ab8b16fcd
re PR ada/22559 (Bug box, Program_Error at sinput.adb:404, derived fixed-point type)

    gcc/ada/
PR ada/22559
* sem_ch3.adb (Build_Derived_Numeric_Type): Do not set RM_Size on
a derived ordinary fixed point type.

* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Recompute
RM_Size when a Small clause is found.

    gcc/testsuite/
PR ada/22559
* gnat.dg/specs/delta_small.ads: New test.

From-SVN: r130498
gcc/ada/ChangeLog
gcc/ada/sem_ch13.adb
gcc/ada/sem_ch3.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/delta_small.ads [new file with mode: 0644]
This page took 0.067139 seconds and 5 git commands to generate.