This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2003 05:49:31 -0000
- Subject: [Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault
- References: <20031223020924.13472.p.van-hoof@qub.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-23 05:49 -------
pentanic changes how global const int are handled, really const and replace the variable with a
constant which changes the code. I do not know where the problem is. I do know that the
mainline does not seg fault.
Confirmed. I am wondering if GCC loses track that q is constant.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |optimization
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2003-12-23 05:49:29
date| |
Summary|optimizer generates code to |[3.3 Regression] optimizer
|store data in const int, |generates code to store data
|resulting in a segfault |in const int, resulting in a
| |segfault
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13472