Hello!
> A test is added. Is it ok?
>
> gcc/testsuite/ChangeLog
>
> 2012-07-08 Dehao Chen <[email protected]>
>
> * gcc.dg/debug_info_inline.c: New test.
This test fails on alphaev68-unknown-linux-gnu [1] and other non-x86
targets [2] too:
FAIL: gcc.dg/debug_info_inline.c scan-assembler loc 1 19 0\\n.*\\n.LBB
The relevant output on alpha is:
--cut here--
.globl bar
.ent bar
bar:
.frame $30,0,$26,0
$LFB1:
.file 1
"/home/uros/gcc-svn/trunk/gcc/testsuite/gcc.dg/debug_info_inline.c"
.loc 1 17 0
.cfi_startproc
ldah $29,0($27) !gpdisp!1
lda $29,0($29) !gpdisp!1
$bar..ng:
.prologue 1
$LBB4:
$LBB5:
.loc 1 10 0
ldq $2,g($29) !literal
.loc 1 8 0
ldq $1,a($29) !literal
.loc 1 10 0
ldl $0,0($2)
.loc 1 8 0
ldl $1,0($1)
$LVL0:
.loc 1 10 0
lda $2,-9($31)
cmplt $0,$2,$0
.loc 1 19 0
cmpeq $1,0,$1
cmoveq $0,0,$1
mov $1,$0
$LBE5:
$LBE4:
.loc 1 22 0
ret $31,($26),1
.cfi_endproc
$LFE1:
.end bar
--cut here--
[1] http://gcc.gnu.org/ml/gcc-testresults/2012-07/msg00881.html
[2] http://gcc.gnu.org/ml/gcc-testresults/2012-07/msg00882.html
Uros.