re PR target/59092 (__builtin_trap calls abort for aarch64-linux-gnu)

2013-12-06  Andrew Pinski  <apinski@cavium.com>

	PR target/59092
	* config/aarch64/aarch64.md (trap): New pattern.

From-SVN: r205763
This commit is contained in:
Andrew Pinski 2013-12-06 21:08:33 +00:00 committed by Andrew Pinski
parent 5f07cbdb0d
commit cd93c60e35
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-12-06 Andrew Pinski <apinski@cavium.com>
PR target/59092
* config/aarch64/aarch64.md (trap): New pattern.
2013-12-06 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/59388

View File

@ -290,6 +290,12 @@
[(set_attr "type" "no_insn")]
)
(define_insn "trap"
[(trap_if (const_int 1) (const_int 8))]
""
"brk #1000"
[(set_attr "type" "trap")])
(define_expand "prologue"
[(clobber (const_int 0))]
""