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 tree-optimization/16443] [3.5 Regression] ICE during linux kernel compilation


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-13 02:22 -------
Here's a reduced testcase that crashes mainline (with checking enabled)
on i686-pc-linux-gnu. Just compile with -Os:

==================================
void foo(char *p)
{
    __asm__ ("" ::: "memory");
}

void bar()
{
    static char *p;
    foo(p);
}
==================================

The error message is:

PR16443.c: In function `bar':
PR16443.c:7: error: Expected an SSA_NAME object
p<D1122>

#   p<D1122> = V_MAY_DEF <p<D1122>>;
__asm__("":::"memory");

PR16443.c:7: internal compiler error: tree check: expected ssa_name, have
var_decl in verify_def, at tree-ssa.c:126
Please submit a full bug report, [etc.]


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |monitored
      Known to fail|                            |3.5.0
      Known to work|                            |3.3.4 3.4.1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-13 02:22:06
               date|                            |


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


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