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/14764] New: [lno] ice-on-valid-code, tree check: expected ssa_name, have var_decl in register_definitions_for_stmt, at tree-ssa-dom.c:3172


$ cat bug.i
int fun1 ();
void fun2 ();

void fun ()
{
	int array [2];
	
	while (1) {
		if ((
			{
				__asm__ ("neg\t%0" : "=m" (array [fun1 ()]));
				1;
			}
				))
			fun2 ();
	}
}
$ gcc -O1 -S bug.i
bug.i: In function `fun':
bug.i:5: internal compiler error: tree check: expected ssa_name, have var_decl
in register_definitions_for_stmt, at tree-ssa-dom.c:3172
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$ gcc --version | grep GCC
gcc (GCC) 3.5-tree-ssa-lno 20040328 (merged 20040321)

-- 
           Summary: [lno] ice-on-valid-code, tree check: expected ssa_name,
                    have var_decl in register_definitions_for_stmt, at tree-
                    ssa-dom.c:3172
           Product: gcc
           Version: lno
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: 1319 at bot dot ru
                CC: gcc-bugs at gcc dot gnu dot org


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


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