Extremely shitty planning. Your 4 devs working 20 hour days for months? Hire more devs! Can't find devs to work shitty hours? Pay more!
But I wasn't referring to that situation. For a given project, there's an optimal team size. Adding people to that team can often reduce the productivity of the team as a whole. There's a limit at which you just can't get the project done any sooner. In that case you need to set a realistic schedule given these limitations.