This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52331] New: 20011127-1.c: valgrind problem on invalid asm
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Feb 2012 20:11:45 +0000
- Subject: [Bug c/52331] New: 20011127-1.c: valgrind problem on invalid asm
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: dcb314@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.