4 changed files with 8 additions and 9 deletions
@ -1,11 +1,9 @@ |
|||
; Test warning for expansion of branches. |
|||
; FIXME: Warnings currently have the line number of the last |
|||
; line, which is not really good. |
|||
|
|||
; { dg-do assemble { target cris-*-* } } |
|||
; { dg-options "-N" } |
|||
|
|||
.text |
|||
start: |
|||
ba external_symbol ; { dg-warning "32-bit conditional branch generated" "" { target cris-*-* } { 11 } } |
|||
ba external_symbol ; { dg-warning "32-bit conditional branch generated" } |
|||
nop |
|||
|
|||
@ -1,13 +1,11 @@ |
|||
; Test warning for expansion of branches. |
|||
; FIXME: Warnings currently have the line number of the last |
|||
; line, which is not really good. |
|||
|
|||
; { dg-do assemble { target cris-*-* } } |
|||
; { dg-options "-N" } |
|||
|
|||
.text |
|||
start: |
|||
ba long_forward ; { dg-warning "32-bit conditional branch generated" "" { target cris-*-* } { 13 } } |
|||
ba long_forward ; { dg-warning "32-bit conditional branch generated" } |
|||
.space 32768,0 |
|||
long_forward: |
|||
nop |
|||
|
|||
Loading…
Reference in new issue