Re: Change an assignment to an assert in varpool

2014-07-11 Thread Jan Hubicka
> I noticed that we set node->definition = true in > varpool_assemble_decl. The surrounding code suggests that we should > only ever get there if definition is already true, so I changed it > to an assert. The question is interesting for some modifications I'm > making for ptx (which requires decla

Change an assignment to an assert in varpool

2014-07-11 Thread Bernd Schmidt
I noticed that we set node->definition = true in varpool_assemble_decl. The surrounding code suggests that we should only ever get there if definition is already true, so I changed it to an assert. The question is interesting for some modifications I'm making for ptx (which requires declaration