The LTO -mxcoff-roptr check against data sections is overly strict and it ignores the fact that data sections is on by default on AIX, causing valid LTO compilation to fail when -fdata-sections is not explicitly specified.
This patch revises the check so that an error is reported only if data sections is explicitly turned off for LTO.
Coding standards suggest that braces be used consistently for each part of an if/else chain.