summaryrefslogtreecommitdiff
path: root/test/torture-s/const-addr-expr-1.c.s
blob: 7b8c5b1b7c03c52604edfd498df7de0e8c4c47bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
	.text
	.file	"/b/build/slave/linux/build/src/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/const-addr-expr-1.c"
	.section	.text.main,"ax",@progbits
	.hidden	main
	.globl	main
	.type	main,@function
main:                                   # @main
	.param  	i32, i32
	.result 	i32
# BB#0:                                 # %entry
	block
	block
	i32.const	$push9=, 0
	i32.load	$push0=, Upgd_minor_ID($pop9)
	i32.load	$push1=, 0($pop0)
	i32.const	$push2=, 2
	i32.ne  	$push3=, $pop1, $pop2
	br_if   	0, $pop3        # 0: down to label1
# BB#1:                                 # %if.end
	i32.const	$push10=, 0
	i32.load	$push4=, Upgd_minor_ID1($pop10)
	i32.load	$push5=, 0($pop4)
	i32.const	$push6=, 1
	i32.ne  	$push7=, $pop5, $pop6
	br_if   	1, $pop7        # 1: down to label0
# BB#2:                                 # %if.end3
	i32.const	$push8=, 0
	return  	$pop8
.LBB0_3:                                # %if.then
	end_block                       # label1:
	call    	abort@FUNCTION
	unreachable
.LBB0_4:                                # %if.then2
	end_block                       # label0:
	call    	abort@FUNCTION
	unreachable
	.endfunc
.Lfunc_end0:
	.size	main, .Lfunc_end0-main

	.type	.L.str,@object          # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"1"
	.size	.L.str, 2

	.type	.L.str.1,@object        # @.str.1
.L.str.1:
	.asciz	"2"
	.size	.L.str.1, 2

	.hidden	Upgrade_items           # @Upgrade_items
	.type	Upgrade_items,@object
	.section	.data.Upgrade_items,"aw",@progbits
	.globl	Upgrade_items
	.p2align	4
Upgrade_items:
	.int32	1                       # 0x1
	.int32	.L.str
	.int32	2                       # 0x2
	.int32	.L.str.1
	.skip	8
	.size	Upgrade_items, 24

	.hidden	Upgd_minor_ID           # @Upgd_minor_ID
	.type	Upgd_minor_ID,@object
	.section	.data.Upgd_minor_ID,"aw",@progbits
	.globl	Upgd_minor_ID
	.p2align	2
Upgd_minor_ID:
	.int32	Upgrade_items+8
	.size	Upgd_minor_ID, 4

	.hidden	Upgd_minor_ID1          # @Upgd_minor_ID1
	.type	Upgd_minor_ID1,@object
	.section	.data.Upgd_minor_ID1,"aw",@progbits
	.globl	Upgd_minor_ID1
	.p2align	2
Upgd_minor_ID1:
	.int32	Upgrade_items
	.size	Upgd_minor_ID1, 4


	.ident	"clang version 3.9.0 "