RMS does not have a word in this. What makes you think so?
You can use Code::Blocks to write open-source software as well as closed-source software. Free or commercial, whatever. This is how it is licensed, and this is how you can use it. The creators of Code::Blocks decided to release it for free, and nobody else can take away this right from you. It is nobody's business but yours.
Certainly, "free" never really means you can do everything you want, that's quite obvious. For example, if you use a free IDE to write software to pirate audio CDs or to run a denial of service attack on SCO, then you can't just say "hey, but this is
freedom". This is obviously where freedom ends.
Similarly, if you use some software's (free or not) logo or name to promote your own product in an unfair manner, you are breaking the law. Since copyright law is quite complicated, even more so as it is different in different countries, this particular case is explicitely stated in most licenses to leave no doubt about it.
However, for every "normal" use, Code::Blocks is just "free", you can use it for whatever you want, and certainly nobody will object if you put "built with Code::Blocks" or something in your credits