Hm. Seems vague… unless you’re using the term punk as meaning general tough asshole for hire. And when you’re talking about punk in the 70s, it was a much more vague and amorphous thing as opposed to a more highly organized subculture in the 1980s. Sarah Schulman argued that with regards to NYC the real critical wave of gentrification came in the late 80s and early 90s, driven by the mass wave of deaths in the gay community that intersected with the arts scene that emerged in the same era as punk did.
There are plenty of documented cases of punks holding the line on gentrification, such as was the case with punks in Berlin on both sides of the wall, and then after reunification. There was a ton of overlap in Europe with anarchist groups who were key to squats in the 70s and 80s across Europe…
This is on East Berlin and the last chapter is about how East Berlin punks were holding out in squats into the 90s:
and this is about West Berlin and documents the struggles over squats primarily along the wall:
This talks about the overlap more generally:
And of course, there was pretty wide hostility to punks in the 1980s that included police riots in major cities (LA being the prime example).