c/10602: [3.4] ICE in c-typeck.c, sometimes in tree-inline.c (tree check failure)

steven@gcc.gnu.org steven@gcc.gnu.org
Fri May 2 12:19:00 GMT 2003


Synopsis: [3.4] ICE in c-typeck.c, sometimes in tree-inline.c (tree check failure)

State-Changed-From-To: open->analyzed
State-Changed-By: steven
State-Changed-When: Fri May  2 12:19:46 2003
State-Changed-Why:
    Confirmed, devphil says it's been there for some time:
    : Test is the same (fail) at both endpoints  (2002-10-02-trunk,
    : 2003-05-01-trunk), so there's nothing for me to do.
    
    
    Line-numbered input is:
    ========================================
         1  tree g95_type_for_mode (enum machine_mode);
         2  
         3  tree
         4  g95_type_for_mode (enum machine_mode mode)
         5  {
         6    return 0;
         7  }
         8  
    
    ========================================
    
    
    Diagnostic output follows, from the last compiler tested:
    input:1: error: parse error before "g95_type_for_mode"
    input:1: warning: `enum machine_mode' declared inside parameter list
    input:1: warning: its scope is only this definition or declaration, which is probably not what you want
    input:1: warning: parameter has incomplete type
    input:1: warning: data definition has no type or storage class
    input:4: error: parse error before "g95_type_for_mode"
    input:4: warning: `enum machine_mode' declared inside parameter list
    input:5: error: parameter `mode' has incomplete type
    input:5: internal compiler error: tree check: expected class 't', have 'x' (error_mark) in type_lists_compatible_p, at c-typeck.c:719
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    
    Compiler output follows, from the last compiler tested:
            .file   "input"

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10602



More information about the Gcc-bugs mailing list