This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/52330] New: pr50305.c: valgrind problem on invalid asm


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

             Bug #: 52330
           Summary: pr50305.c: valgrind problem on invalid asm
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


I just tried to compile the file
gcc/testsuite/gcc.target/arm/pr50305.c under valgrind on trunk
dated 20120219 on an AMD x86_64 box.

Valgrind said

==4007== Invalid read of size 8
==4007==    at 0x6B0212: adjust_address_1(rtx_def*, machine_mode, long, int,
int) (emit-rtl.c:2043)
==4007==    by 0xBCA083: ix86_print_operand(_IO_FILE*, rtx_def*, int)
(i386.c:14096)
==4007==    by 0x6F4DF0: _Z15output_asm_insnPKcPP7rtx_def.part.16
(final.c:3531)==4007==    by 0x6F66D4: final_scan_insn(rtx_def*, _IO_FILE*,
int, int, int*) (final.c:1941) 

No special flags required.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]