public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/43222]  New: two DEBUG i => 0 generated after loop copy header
@ 2010-03-01 23:03 pinskia at gcc dot gnu dot org
  2010-03-01 23:06 ` [Bug debug/43222] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-01 23:03 UTC (permalink / raw)
  To: gcc-bugs

I Noticed this while looking into the testcase of 42897, sometimes we generate
a second DEBUG i => 0 when doing a loop copy header.  The second debug
statement does not even have a line number associated with it either (but that
might be because it was from the phi).

Simple testcase:
int gif_read_lzw(int input_code_size)
{
  int i, incode;
  static short fresh = 0,  code_size, set_code_size, clear_code, table[4096],
*sp;
  set_code_size = input_code_size;
  clear_code = 1 << input_code_size;
  for (i = 0; i < clear_code; i ++)
    table[i] = i;
}


-- 
           Summary: two DEBUG i => 0 generated after loop copy header
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-06-11 11:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-01 23:03 [Bug debug/43222] New: two DEBUG i => 0 generated after loop copy header pinskia at gcc dot gnu dot org
2010-03-01 23:06 ` [Bug debug/43222] " pinskia at gcc dot gnu dot org
2010-03-01 23:14 ` pinskia at gcc dot gnu dot org
2010-03-01 23:20 ` pinskia at gcc dot gnu dot org
2010-03-02  7:55 ` jakub at gcc dot gnu dot org
2010-03-02 11:13 ` jakub at gcc dot gnu dot org
2010-06-02  6:28 ` aoliva at gcc dot gnu dot org
2010-06-11 11:45 ` aoliva at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).