[Bug ada/28835] Incorrect numeric result in multiplication of user-defined type with universal integer

2006-08-25 Thread S dot Sangwine at IEEE dot org
--- Comment #3 from S dot Sangwine at IEEE dot org 2006-08-25 08:39 --- 120 is outside the range of Three, but not outside the range of Three'Base, which in my case is an 8-bit signed type with range -128 .. 127. So the correct explanation of the problem is that the multiplication

[Bug ada/28835] Incorrect numeric result in multiplication of user-defined type with universal integer

2006-08-24 Thread S dot Sangwine at IEEE dot org
--- Comment #1 from S dot Sangwine at IEEE dot org 2006-08-24 11:39 --- Created an attachment (id=12126) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12126&action=view) Stand-alone Ada main program that demonstrates the error. -- http://gcc.gnu.org/bugzilla/show_bug

[Bug ada/28835] New: Incorrect numeric result in multiplication of user-defined type with universal integer

2006-08-24 Thread S dot Sangwine at IEEE dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: S dot Sangwine at IEEE dot org GCC build triplet: gcc version 4.2.0 20060429 (experimental) GCC host triplet: powerpc-apple