Backported from mainline
2017-05-24 Sheldon Lobo <smlobo@sheldon.us.oracle.com>
* config/sparc/sparc.md (length): Return the correct value for -mflat
sibcalls to match output_sibcall.
From-SVN: r248527
+2017-05-26 Sheldon Lobo <smlobo@sheldon.us.oracle.com>
+
+ Backported from mainline
+ 2017-05-24 Sheldon Lobo <smlobo@sheldon.us.oracle.com>
+
+ * config/sparc/sparc.md (length): Return the correct value for -mflat
+ sibcalls to match output_sibcall.
+
2017-05-19 Uros Bizjak <ubizjak@gmail.com>
Backport from mainline
(const_int 2)
(const_int 1))
(eq_attr "type" "sibcall")
- (if_then_else (eq_attr "leaf_function" "true")
+ (if_then_else (ior (eq_attr "leaf_function" "true")
+ (eq_attr "flat" "true"))
(if_then_else (eq_attr "empty_delay_slot" "true")
(const_int 3)
(const_int 2))