* [Bug ada/24880] [4.0/4.1 regression] (Ada) Conversion of user-defined integer type with Size fixed causes crashes
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
@ 2005-11-15 20:22 ` laurent at guerby dot net
2006-03-08 15:16 ` [Bug ada/24880] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: laurent at guerby dot net @ 2005-11-15 20:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from laurent at guerby dot net 2005-11-15 20:22 -------
Confirmed on x86_64-linux and x86-linux. On x86 svn 4.0.3 and 4.1 gnat1 grows
memory above 1GB and I had to kill the processes. 3.3.5 does not have the
issue. On x86_64 gnat1 segfault immediately.
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|i486-pc-linux-gnu |
GCC host triplet|i486-pc-linux-gnu |
GCC target triplet|i486-pc-linux-gnu |
Last reconfirmed|0000-00-00 00:00:00 |2005-11-15 20:22:08
date| |
Summary|(Ada) Conversion of user- |[4.0/4.1 regression] (Ada)
|defined integer type with |Conversion of user-defined
|Size fixed causes crashes |integer type with Size fixed
| |causes crashes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.0/4.1/4.2 regression] (Ada) Conversion of user-defined integer type with Size fixed causes crashes
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
2005-11-15 20:22 ` [Bug ada/24880] [4.0/4.1 regression] " laurent at guerby dot net
@ 2006-03-08 15:16 ` pinskia at gcc dot gnu dot org
2006-03-11 3:22 ` mmitchel at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-08 15:16 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
Last reconfirmed|2005-11-15 20:22:08 |2006-03-08 15:16:10
date| |
Target Milestone|--- |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.0/4.1/4.2 regression] (Ada) Conversion of user-defined integer type with Size fixed causes crashes
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
2005-11-15 20:22 ` [Bug ada/24880] [4.0/4.1 regression] " laurent at guerby dot net
2006-03-08 15:16 ` [Bug ada/24880] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
@ 2006-03-11 3:22 ` mmitchel at gcc dot gnu dot org
2007-02-03 15:51 ` [Bug ada/24880] [4.0/4.1/4.2/4.3 regression] " gdr at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11 3:22 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.3 |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.0/4.1/4.2/4.3 regression] Conversion of user-defined integer type with Size fixed causes crashes
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-03-11 3:22 ` mmitchel at gcc dot gnu dot org
@ 2007-02-03 15:51 ` gdr at gcc dot gnu dot org
2007-02-03 17:26 ` jsm28 at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 15:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from gdr at gcc dot gnu dot org 2007-02-03 15:51 -------
Won't fix in GCC-4.0.4. Adjusting milestone.
--
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.4 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.0/4.1/4.2/4.3 regression] Conversion of user-defined integer type with Size fixed causes crashes
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-02-03 15:51 ` [Bug ada/24880] [4.0/4.1/4.2/4.3 regression] " gdr at gcc dot gnu dot org
@ 2007-02-03 17:26 ` jsm28 at gcc dot gnu dot org
2007-02-14 9:36 ` mmitchel at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2007-02-03 17:26 UTC (permalink / raw)
To: gcc-bugs
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.0/4.1/4.2/4.3 regression] Conversion of user-defined integer type with Size fixed causes crashes
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-02-03 17:26 ` jsm28 at gcc dot gnu dot org
@ 2007-02-14 9:36 ` mmitchel at gcc dot gnu dot org
2008-04-12 15:40 ` [Bug ada/24880] [4.1/4.2/4.3/4.4 " sam at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14 9:36 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.2 |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.1/4.2/4.3/4.4 regression] Conversion of user-defined integer type with Size fixed causes crashes
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
` (5 preceding siblings ...)
2007-02-14 9:36 ` mmitchel at gcc dot gnu dot org
@ 2008-04-12 15:40 ` sam at gcc dot gnu dot org
2008-04-12 16:07 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-12 15:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from sam at gcc dot gnu dot org 2008-04-12 15:40 -------
Confirmed on 4.4.0:
+===========================GNAT BUG DETECTED==============================+
| 4.4.0 20080412 (experimental) (i686-pc-linux-gnu) Storage_Error stack
overflow (or erroneous memory access)|
| Error detected at system.ads:155:5 |
There is an infinite loop between utils.c:convert and
convert.c:convert_to_integer.
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gcc dot gnu dot org
Last reconfirmed|2006-03-08 15:16:10 |2008-04-12 15:40:08
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.1/4.2/4.3/4.4 regression] Conversion of user-defined integer type with Size fixed causes crashes
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-04-12 15:40 ` [Bug ada/24880] [4.1/4.2/4.3/4.4 " sam at gcc dot gnu dot org
@ 2008-04-12 16:07 ` ebotcazou at gcc dot gnu dot org
2008-04-12 16:25 ` sam at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-04-12 16:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2008-04-12 16:06 -------
Known problem, investigating.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2008-04-12 15:40:08 |2008-04-12 16:06:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.1/4.2/4.3/4.4 regression] Conversion of user-defined integer type with Size fixed causes crashes
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
` (7 preceding siblings ...)
2008-04-12 16:07 ` ebotcazou at gcc dot gnu dot org
@ 2008-04-12 16:25 ` sam at gcc dot gnu dot org
2008-05-13 8:47 ` [Bug ada/24880] [4.1/4.2/4.3/4.4 regression] infinite loop on conversion of integer type with size clause ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-12 16:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from sam at gcc dot gnu dot org 2008-04-12 16:25 -------
*** Bug 29320 has been marked as a duplicate of this bug. ***
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus dot heichel at
| |comsoft dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.1/4.2/4.3/4.4 regression] infinite loop on conversion of integer type with size clause
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
` (8 preceding siblings ...)
2008-04-12 16:25 ` sam at gcc dot gnu dot org
@ 2008-05-13 8:47 ` ebotcazou at gcc dot gnu dot org
2008-05-13 8:48 ` ebotcazou at gcc dot gnu dot org
2008-05-13 8:53 ` [Bug ada/24880] [4.1/4.2 " ebotcazou at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-05-13 8:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ebotcazou at gcc dot gnu dot org 2008-05-13 08:47 -------
Subject: Bug 24880
Author: ebotcazou
Date: Tue May 13 08:46:18 2008
New Revision: 135257
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135257
Log:
PR ada/24880
PR ada/26635
* utils.c (convert) <INTEGER_TYPE>: When converting an additive
expression to an integral type with lower precision, use NOP_EXPR
directly in a couple of special cases.
Added:
trunk/gcc/testsuite/gnat.dg/conv_integer.adb
trunk/gcc/testsuite/gnat.dg/discr7.adb
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/utils.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.1/4.2/4.3/4.4 regression] infinite loop on conversion of integer type with size clause
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
` (9 preceding siblings ...)
2008-05-13 8:47 ` [Bug ada/24880] [4.1/4.2/4.3/4.4 regression] infinite loop on conversion of integer type with size clause ebotcazou at gcc dot gnu dot org
@ 2008-05-13 8:48 ` ebotcazou at gcc dot gnu dot org
2008-05-13 8:53 ` [Bug ada/24880] [4.1/4.2 " ebotcazou at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-05-13 8:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from ebotcazou at gcc dot gnu dot org 2008-05-13 08:47 -------
Subject: Bug 24880
Author: ebotcazou
Date: Tue May 13 08:46:49 2008
New Revision: 135258
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135258
Log:
PR ada/24880
PR ada/26635
* utils.c (convert) <INTEGER_TYPE>: When converting an additive
expression to an integral type with lower precision, use NOP_EXPR
directly in a couple of special cases.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gnat.dg/conv_integer.adb
branches/gcc-4_3-branch/gcc/testsuite/gnat.dg/discr7.adb
Modified:
branches/gcc-4_3-branch/gcc/ada/ChangeLog
branches/gcc-4_3-branch/gcc/ada/utils.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug ada/24880] [4.1/4.2 regression] infinite loop on conversion of integer type with size clause
2005-11-15 19:55 [Bug ada/24880] New: (Ada) Conversion of user-defined integer type with Size fixed causes crashes gcc-bugzilla at gcc dot gnu dot org
` (10 preceding siblings ...)
2008-05-13 8:48 ` ebotcazou at gcc dot gnu dot org
@ 2008-05-13 8:53 ` ebotcazou at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-05-13 8:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from ebotcazou at gcc dot gnu dot org 2008-05-13 08:52 -------
Fixed in the upcoming 4.3.1 release.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2008-
| |05/msg00731.html
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|[4.1/4.2/4.3/4.4 regression]|[4.1/4.2 regression]
|infinite loop on conversion |infinite loop on conversion
|of integer type with size |of integer type with size
|clause |clause
Target Milestone|4.1.3 |4.3.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880
^ permalink raw reply [flat|nested] 13+ messages in thread