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 c/11449] [3.4 Regression] ICE in invert_truthvalue called on AND operation


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11449


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-07 03:47:23
               date|                            |
            Summary|gcc mainline aborts,        |[3.4 Regression] ICE in
                   |invert_truthvalue called on |invert_truthvalue called on
                   |AND operation               |AND operation


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-07 03:47 -------
Even with an initalized variable, gcc still ICE.
int func()
{
    int m = 0;
    return (!(m & (1<<31)));
}

I can confirm this on the mainline (20030706 and 20030705) and the tree-ssa branch 
(20030706 (merged 20030525)) so it looks like it has been there since at least 
20030525.
This is definitly a P1.
Good catch.

That abort has been there since the begin of fold-const.c so something else has 
changed.


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