[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #9 from charlet at adacore dot com 2007-12-08 17:22 --- Subject: Re: Bug box, Program_Error at sinput.adb:404, derived fixed-point type good catch, I forgot to send the message to gcc-patches with the content and the ack indication. The patch was acked by Robert by mail (see GB19-012) on November 19. OK. Please be sure to follow the standard procedures in the future (send patch to gcc-patches and wait for review and OK before committing), otherwise this creates confusion and makes also my job harder at identifying which patches to merge in which tree (things are complex enough already :-). Arno -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #10 from charlet at gcc dot gnu dot org 2007-12-08 17:52 --- removing myself from cc: since I'm subscribed to gcc-bugs -- charlet at gcc dot gnu dot org changed: What|Removed |Added CC|charlet at adacore dot com | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #7 from charlet at gcc dot gnu dot org 2007-12-07 21:42 --- Sam, Could you point me to the message on gcc-patches submitting this patch and to the approval message ? For some reason I cannot find it. Arno -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #8 from sam at gcc dot gnu dot org 2007-12-07 21:55 --- Arnaud, good catch, I forgot to send the message to gcc-patches with the content and the ack indication. The patch was acked by Robert by mail (see GB19-012) on November 19. -- sam at gcc dot gnu dot org changed: What|Removed |Added CC||charlet at adacore dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
-- sam at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #6 from anhvofrcaus at gmail dot com 2007-12-05 16:16 --- It is confirmed that this problem has been fixed under gcc-20071130. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #5 from anhvofrcaus at gmail dot com 2007-11-30 18:58 --- Oops! I did not realize that. By the way, I will verify it with gcc-20071130. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #4 from sam at gcc dot gnu dot org 2007-11-30 17:25 --- Well, given that you tried the test with a version from November 23 and given that I fixed it on November 28, it is quite normal that you see the bug :) -- sam at gcc dot gnu dot org changed: What|Removed |Added CC|sam at rfc1149 dot net |sam at gcc dot gnu dot org, ||anhvofrcaus at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #3 from anhvofrcaus at gmail dot com 2007-11-30 17:21 --- The problem still exists as shown below. bash-2.05b$ gcc -c test_deltas.adb +===GNAT BUG DETECTED==+ | 4.3.0 20071123 (experimental) (i686-pc-linux-gnu) Program_Error sinput.adb:403 explicit raise| | Error detected at test_deltas.adb:1:1| | Please submit a bug report; see http://gcc.gnu.org/bugs.html.| | Use a subject line meaningful to you and us to track the bug.| | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. list may be incomplete compilation abandoned -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #1 from sam at gcc dot gnu dot org 2007-11-28 20:48 --- Subject: Bug 22559 Author: sam Date: Wed Nov 28 20:48:10 2007 New Revision: 130498 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130498 Log: 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. Added: trunk/gcc/testsuite/gnat.dg/specs/delta_small.ads Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/sem_ch13.adb trunk/gcc/ada/sem_ch3.adb trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
-- sam at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2007-11-28 20:52:40 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559
[Bug ada/22559] Bug box, Program_Error at sinput.adb:404, derived fixed-point type
--- Comment #2 from sam at gcc dot gnu dot org 2007-11-28 20:52 --- Fixed in SVN trunk -- sam at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22559