This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r146658 - in /branches/st/cli-be/gcc/config/cil...
- From: gsvelto at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 23 Apr 2009 22:28:50 -0000
- Subject: r146658 - in /branches/st/cli-be/gcc/config/cil...
Author: gsvelto
Date: Thu Apr 23 22:28:49 2009
New Revision: 146658
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146658
Log:
The dummy return variables created for pre-C99 non-void return functions with
void return statements are now flagged with the 'init' directive so that they
are properly initialized by the CLI runtime. This fixes a problem with version
2.4 of Mono which bails out with an assertion upon encountering an uninitialized
variable.
Modified:
branches/st/cli-be/gcc/config/cil32/cil-types.h
branches/st/cli-be/gcc/config/cil32/cil32.c
branches/st/cli-be/gcc/config/cil32/emit-cil.c
branches/st/cli-be/gcc/config/cil32/gimple-to-cil.c