Sharpshooter 3rd option
Before you make an attack with a ranged weapon that you are proficient with, you can choose to take a -5 penalty to the attack roll. If the attack hits, you add +10 to the attack’s damage
Curving Shot [...] you can use a bonus action to reroll the attack roll against a different target within 60 feet of the original target.
If I declare I'm using Sharpshooter and takes -5 penalty to my attack roll and miss, does the reroll from Curving Shot also get the -5 penalty (and benefit from the +10 damage)?
From the wording of Curving Shot, "the attack roll" seems to suggest the attack roll that misses, which has penalty. Therefore the reroll should be taken with penalty (and bonus) if it hits. Is this right?