find attached some code for 3 targets Debug, DebugNoMisra and DebugCrashCompiler. Dependent on compiler settings the compilation compiles without error (Debug), compiles with (correct) error output (DebugNoMisra) and does not compile with a compiler exception (DebugCompilerCrash). The appropriate release versions behave the same.
The compiler exception is as following:
At end of source: : internal error: Uncaught exception Assertion failed raised
at ../../../bril/brilgen.c:639 (during compilation of _main). Please
submit a bug report with this message, the command line used, type
of machine and the output of the compiler when you add -ED -v to the
command line. Please also send us the pre-processed file that is
generated by the -ED option (the file generated is named
1 catastrophic error detected in the compilation of ".\vdsp5-0-10test.c".
cc3089: fatal error: Compilation failed
I would say, this seems to be a compiler bug. Or do I something wrong?
This behaviour was only checked for the ADSP21469 processor but it might be also the same behaviour on other processors.