public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/48558] New: -Warray-bounds fails o detect the out of bound array access
@ 2011-04-11 18:24 hjl.tools at gmail dot com
  2011-04-11 18:40 ` [Bug middle-end/48558] -Warray-bounds fails to " hjl.tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2011-04-11 18:24 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: -Warray-bounds fails o detect the out of bound array
                    access
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


bfd/elf32-i386.c in binutils has

   case BFD_RELOC_386_IRELATIVE:
      TRACE ("BFD_RELOC_386_IRELATIVE");
      return &elf_howto_table[R_386_IRELATIVE];

It should be:

      return &elf_howto_table[R_386_IRELATIVE - R_386_tls_offset];

GCC fails to detect it.


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

end of thread, other threads:[~2011-04-12 10:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-11 18:24 [Bug middle-end/48558] New: -Warray-bounds fails o detect the out of bound array access hjl.tools at gmail dot com
2011-04-11 18:40 ` [Bug middle-end/48558] -Warray-bounds fails to " hjl.tools at gmail dot com
2011-04-11 19:10 ` hjl.tools at gmail dot com
2011-04-12 10:28 ` rguenth at gcc dot gnu.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).