Obviously, since you reject IP, presumably you would be okay to copy and paste code out of some GNU program into your own program, without attribution, and then, if you feel like it, release that program under the least restrictive terms possible (as close to the public domain as you could practically get away with).
So discussions revolving about doing so less directly through training a model just add distracting details that don't matter.
If everyone did that (due to there not being any rules against that), then fewer people would write programs under free licenses. Many such developers are volunteers, whose only payment is that the work product is theirs to license how they want.
Having that taken away from us is discouraging.
We haven't done anything to deserve such a "fuck you".