This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/13472] [3.3 Regression] optimizer generates code to store data in const int, resulting in a segfault


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]