Group of Seven finance chiefs on Saturday pledged to combat the issue of inequality as part of an effort to ensure inclusive growth but made no reference to "protectionism" in an apparent division over U.S. President Donald Trump's stance on trade.

In a communique issued after their two-day meeting in Bari, southern Italy, the G-7 called cyberattacks "a growing threat" for the world economy and vowed to take measures in the wake of a global cyberattack Friday that infected tens of thousands of computers in nearly 100 countries.

While noting "global recovery is gaining momentum," the communique said the world economy is facing "high and rising inequalities, notably within many countries and affecting in particular middle and lower income earners."