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

             Bug #: 52331
           Summary: 20011127-1.c: valgrind problem on invalid asm
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dcb...@hotmail.com


I just tried to compile the file
gcc/testsuite/gcc.target/cris/20011127-1.c under valgrind on trunk
dated 20120219 on an AMD x86_64 box.

Valgrind said

==4274== Invalid read of size 2
==4274==    at 0x8E4F91: copy_rtx(rtx_def*) (rtl.c:243)
==4274==    by 0x6B024E: adjust_address_1(rtx_def*, machine_mode, long, int,
int) (emit-rtl.c:2054)
==4274==    by 0xBCA083: ix86_print_operand(_IO_FILE*, rtx_def*, int)
(i386.c:14096)
==4274==    by 0x6F4DF0: _Z15output_asm_insnPKcPP7rtx_def.part.16
(final.c:3531)
No special flags required.

Reply via email to