------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-02 
23:33 -------
Confirmed, reduced testcase:
void CheckFile ()
{
     char tagname[10]; char * a = tagname;
      int validate()
      {
        return (a == tagname+4);
      }
      if(a == tagname)
        validate();
}

t.c: In function ‘CheckFile’:
t.c:11: error: Invalid operand to binary operator
FRAME.1D.1246.aD.1249;

t.c:11: internal compiler error: verify_stmts failed.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
          Component|tree-optimization           |middle-end
     Ever Confirmed|                            |1
  GCC build triplet|apple-ppa-darwin            |
   GCC host triplet|apple-ppc-darwin            |
 GCC target triplet|apple-ppa-darwin            |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-02 23:33:47
               date|                            |
            Summary|gcc crashes with -O1 on a   |[4.0/4.1 Regression] Invalid
                   |call to nested function     |operand to binary operator
                   |                            |with nested function
   Target Milestone|---                         |4.0.1


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

Reply via email to