> The compare-and-branch distance was calculated incorrectly. This occurred > because a -mflat sibcall returned an instruction count of 2 instead of 3. > Fix sparc.md to match the output_sibcall() code in sparc.c. > > * config/sparc/sparc.md: Set the number of instructions correctly > for -mflat sibcalls, to match output_sibcall().
OK for all active branches, but the ChangeLog entry should be something like: * config/sparc/sparc.md (length): Return the correct value for -mflat sibcalls to match output_sibcall. Note that we *never* use a pair of parentheses after function names. -- Eric Botcazou