Steven Schveighoffer <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |
         Resolution|---                         |INVALID

--- Comment #1 from Steven Schveighoffer <> ---
This is because in the first case, S has a hidden context pointer to the stack
frame of main().

If you mark it as a static struct, you will not have this problem.

Note that the ultimate reason it fails is because any items that have
indirections cannot be implicitly converted to immutable.


Reply via email to