Assert failure codegen.cpp

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

Assert failure codegen.cpp

Postby RaveYard » Sat Mar 13, 2021 8:07 am

This ZScript causes assert failure for codegen.cpp
Happens for Post/Pre Increment/Decrement
Code: Select allExpand view
class TestClass
{
   uint8 t;

   void Test()
   {
      int a = --t;
   }
}
RaveYard
 
Joined: 12 Apr 2013

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests