Why would you calculate the climb gradient for the second segment in the event an engine failure at V1 if there were no obstacles? The whole point of the exercise is to see if the aircraft can clear the obstacle, if not will another flap setting - and speed - improve the situation.
Even tiddly aircraft are certified to the same set of rules.