Opened 20 months ago

#263 new defect

Missing Code Generation on Control Structure Initializers

Reported by: ajbeach Owned by:
Priority: major Component: cfa-cc
Version: 1.0 Keywords:


Cforall adds initializers to some control structures that C did not have (if and while). These are ignored always during code generation. While this is fair while generating C code, as everything has been moved out of them, but if we do a dump "ascodegen" then we can still have code in there and it does not appear there.

This lead me astray for a while when I was doing some debugging. If it happens there probably be one of those assertions that makes sure we are not generating C code.

Change History (0)

Note: See TracTickets for help on using tickets.