------- Additional Comments From mckinlay at redhat dot com  2005-09-15 00:08 
-------
The problem is that fold_constant_for_init() saves the current_class state when
 resolving other dependent constants, but not the current package
(ctxp->package). If a constant in another package is referenced, then when
resolving/folding the value of that constant, the wrong package context is used.

I'm testing a patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mckinlay at redhat dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-15 00:08:33
               date|                            |


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

Reply via email to