------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-05 23:50 ------- (In reply to comment #3) > Is there a test case for this bug? (The usual things: preprocessed source, > command-line, etc.?) >From <http://gcc.gnu.org/ml/gcc/2005-05/msg01635.html>:
You can reproduce it using:
static int i;
int main(void)
{
i += 3;
i *= 5;
return 0;
}
and readelf and looking for the DW_TAG_variable tag.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21828
