This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12257] gdb ignore line "bar: if(foo)goto bar;"
- From: "pinskia at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 07 Feb 2012 21:46:08 +0000
- Subject: [Bug gdb/12257] gdb ignore line "bar: if(foo)goto bar;"
- Auto-submitted: auto-generated
- References: <bug-12257-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12257
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu.org
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-07 21:46:08 UTC ---
This is what GCC produces:
Here is what GCC produces:
.loc 1 7 0
leaq -4(%rbp), %rax
movq %rax, %rsi
movl $.LC1, %edi
movl $0, %eax
call __isoc99_scanf
jmp .L2
.L5:
.loc 1 8 0
nop
.L2:
.loc 1 8 0 is_stmt 0 discriminator 1
movl -4(%rbp), %eax
testl %eax, %eax
jne .L5
This looks fine to me.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.