Re: [CIL users] [ cil-Bugs-3532983 ] Handling of array initialization is incorrect

2012-06-12 Thread Gabriel Kerneis
On Tue, Jun 12, 2012 at 12:50:47PM +0200, Marco Trudel wrote: > Meaning that locals always get fully initialized but globals not > anymore. Was this intended? Yes because global variables are initialized by default to zero according to C99, contrary to local variables. So this code: > int foo_g

Re: [CIL users] [ cil-Bugs-3532983 ] Handling of array initialization is incorrect

2012-06-12 Thread Marco Trudel
With that fix locals always get fully initialized and globals not (anymore): int foo_glob[5] = {1}; void foo() { int foo_loc[5] = {1}; } Used to become: int foo_glob[5] = {1, 0, 0, 0, 0}; void foo() { int foo_loc[5]; foo_loc[0] = 1; foo_loc[1] = 0; foo_loc

[CIL users] [ cil-Bugs-3532983 ] Handling of array initialization is incorrect

2012-06-12 Thread SourceForge . net
Bugs item #3532983, was opened at 2012-06-07 14:07 Message generated for change (Comment added) made by kerneis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=742140&aid=3532983&group_id=138953 Please note that this message will contain a full copy of the comment t

Re: [CIL users] [ cil-Bugs-3532983 ] Handling of array initialization is incorrect

2012-06-11 Thread Gabriel Kerneis
Dear all, On Mon, Jun 11, 2012 at 10:24:26PM -0700, SourceForge.net wrote: > Bugs item #3532983, was opened at 2012-06-07 14:07 > Message generated for change (Comment added) made by kerneis I decided to add the list as the default email address to receive updates from the sourceforge bugtracker.

[CIL users] [ cil-Bugs-3532983 ] Handling of array initialization is incorrect

2012-06-11 Thread SourceForge . net
Bugs item #3532983, was opened at 2012-06-07 14:07 Message generated for change (Comment added) made by kerneis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=742140&aid=3532983&group_id=138953 Please note that this message will contain a full copy of the comment t