http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51308

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-11-26
                 CC|                            |kargl at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from kargl at gcc dot gnu.org 2011-11-26 19:21:29 UTC ---
The problem comes about because of gen_special_c_interop_ptr() in
symbol.c has the following lines:

  /* Set up the symbol's important fields.  Save attr required so we can
     initialize the ptr to NULL.  */
  tmp_sym->attr.save = SAVE_EXPLICIT;

I think that we should be setting 

tmp_sym->attr.flavor = FL_PARAMETER;

or something equivalent rather than the save attribute.

Reply via email to