[Bug c++/8045] Missing "unused variable" warning

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 16 02:32:00 GMT 2003


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-16 02:32 -------
The problem is that the front-end is gerenting code like this (see how the copy for d is after d is 
declared:
{
   {
      struct X c
       struct X tmp2
       struct X d
      ({
         (void)(d = tmp2);
      });
   }
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-08-02 17:37:55         |2003-11-16 02:32:29
               date|                            |


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



More information about the Gcc-bugs mailing list