The compiler is held under the GNU Public Licence v3.
The ISO and PIM libraries are under the GPL v3.1 with GCC runtime extensions. Copies of the licences can be found on the GNU web site.