Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 04-Apr-2024 | - | ||||
config/ | H | 08-May-2022 | - | 568,291 | 414,185 | |
cp/ | H | 08-May-2022 | - | 140,180 | 97,690 | |
doc/ | H | 30-Oct-2023 | - | 65,338 | 54,582 | |
f/ | H | 08-May-2022 | - | 164,386 | 123,691 | |
fixinc/ | H | 08-May-2022 | - | 27,930 | 17,021 | |
ginclude/ | H | 08-May-2022 | - | 828 | 463 | |
intl/ | H | 08-May-2022 | - | 8,966 | 6,065 | |
java/ | H | 08-May-2022 | - | 95,686 | 72,907 | |
objc/ | H | 08-May-2022 | - | 9,484 | 6,745 | |
po/ | H | 08-May-2022 | - | 244,715 | 191,353 | |
testsuite/ | H | 08-May-2022 | - | 251,513 | 172,820 | |
treelang/ | H | 08-May-2022 | - | 5,157 | 3,679 | |
ABOUT-GCC-NLS | H A D | 08-May-2022 | 2 KiB | 43 | 35 | |
ABOUT-NLS | H A D | 08-May-2022 | 18.4 KiB | 325 | 283 | |
COPYING | H A D | 08-May-2022 | 17.6 KiB | 341 | 281 | |
COPYING.LIB | H A D | 08-May-2022 | 25.8 KiB | |||
ChangeLog | H A D | 08-May-2022 | 680.8 KiB | 20,158 | 14,872 | |
ChangeLog.0 | H A D | 08-May-2022 | 461.8 KiB | 13,012 | 9,263 | |
ChangeLog.1 | H A D | 08-May-2022 | 577.7 KiB | 15,904 | 11,671 | |
ChangeLog.2 | H A D | 08-May-2022 | 522.8 KiB | 14,470 | 10,826 | |
ChangeLog.3 | H A D | 08-May-2022 | 604.4 KiB | 16,861 | 12,872 | |
ChangeLog.4 | H A D | 08-May-2022 | 545.1 KiB | 15,262 | 11,651 | |
ChangeLog.5 | H A D | 08-May-2022 | 512.9 KiB | 14,447 | 10,728 | |
ChangeLog.6 | H A D | 08-May-2022 | 694.1 KiB | 19,209 | 14,940 | |
ChangeLog.7 | H A D | 08-May-2022 | 772.4 KiB | 21,544 | 16,697 | |
ChangeLog.lib | H A D | 08-May-2022 | 129.4 KiB | |||
FSFChangeLog | H A D | 08-May-2022 | 104.8 KiB | 2,706 | 1,956 | |
FSFChangeLog.10 | H A D | 08-May-2022 | 381.3 KiB | 10,111 | 7,321 | |
FSFChangeLog.11 | H A D | 08-May-2022 | 550 KiB | 14,494 | 10,559 | |
LANGUAGES | H A D | 08-May-2022 | 4 KiB | 98 | 72 | |
Makefile.in | H A D | 08-May-2022 | 151.7 KiB | 3,769 | 2,667 | |
ONEWS | H A D | 08-May-2022 | 36.6 KiB | 987 | 707 | |
README-fixinc | H A D | 08-May-2022 | 750 | 15 | 12 | |
README.Portability | H A D | 08-May-2022 | 10.9 KiB | 392 | 263 | |
SERVICE | H A D | 08-May-2022 | 265 | 7 | 5 | |
acconfig.h | H A D | 08-May-2022 | 1.3 KiB | 45 | 17 | |
aclocal.m4 | H A D | 08-May-2022 | 49 KiB | 1,457 | 1,361 | |
alias.c | H A D | 08-May-2022 | 85.2 KiB | 3,005 | 1,887 | |
attribs.c | H A D | 08-May-2022 | 11.7 KiB | 412 | 284 | |
basic-block.h | H A D | 08-May-2022 | 30.5 KiB | 835 | 436 | |
bb-reorder.c | H A D | 08-May-2022 | 8 KiB | 323 | 154 | |
bitmap.c | H A D | 08-May-2022 | 18.9 KiB | 848 | 637 | |
bitmap.h | H A D | 08-May-2022 | 11.7 KiB | 357 | 253 | |
builtin-attrs.def | H A D | 08-May-2022 | 8.3 KiB | 214 | 180 | |
builtin-types.def | H A D | 08-May-2022 | 9.1 KiB | 206 | 174 | |
builtins.c | H A D | 08-May-2022 | 129.9 KiB | 4,438 | 3,089 | |
builtins.def | H A D | 08-May-2022 | 24.1 KiB | 796 | 736 | |
c-aux-info.c | H A D | 08-May-2022 | 21.4 KiB | 605 | 324 | |
c-bounded.c | H A D | 08-May-2022 | 16.7 KiB | 513 | 391 | |
c-common.c | H A D | 08-May-2022 | 201.6 KiB | 6,830 | 4,597 | |
c-common.def | H A D | 08-May-2022 | 4.9 KiB | 126 | 97 | |
c-common.h | H A D | 08-May-2022 | 44.2 KiB | 1,259 | 515 | |
c-config-lang.in | H A D | 08-May-2022 | 1.2 KiB | 27 | 20 | |
c-convert.c | H A D | 08-May-2022 | 4 KiB | 115 | 53 | |
c-decl.c | H A D | 08-May-2022 | 222 KiB | 7,080 | 4,548 | |
c-dump.c | H A D | 08-May-2022 | 4.7 KiB | 197 | 142 | |
c-errors.c | H A D | 08-May-2022 | 1.4 KiB | 44 | 18 | |
c-format.c | H A D | 08-May-2022 | 85.3 KiB | 2,503 | 1,918 | |
c-lang.c | H A D | 08-May-2022 | 6.2 KiB | 221 | 158 | |
c-lex.c | H A D | 08-May-2022 | 28.4 KiB | 1,085 | 812 | |
c-objc-common.c | H A D | 08-May-2022 | 10.6 KiB | 431 | 271 | |
c-opts.c | H A D | 30-Oct-2023 | 51.5 KiB | 1,827 | 1,376 | |
c-parse.in | H A D | 08-May-2022 | 108.3 KiB | 3,929 | 3,513 | |
c-pragma.c | H A D | 08-May-2022 | 13.2 KiB | 515 | 391 | |
c-pragma.h | H A D | 08-May-2022 | 2.1 KiB | 70 | 30 | |
c-pretty-print.c | H A D | 08-May-2022 | 35.9 KiB | 1,494 | 1,299 | |
c-pretty-print.h | H A D | 08-May-2022 | 6.8 KiB | 166 | 111 | |
c-semantics.c | H A D | 08-May-2022 | 21.3 KiB | 881 | 581 | |
c-tree.h | H A D | 08-May-2022 | 13.9 KiB | 327 | 189 | |
c-typeck.c | H A D | 02-Feb-2023 | 217 KiB | 7,268 | 5,147 | |
caller-save.c | H A D | 08-May-2022 | 26.7 KiB | 881 | 567 | |
calls.c | H A D | 08-May-2022 | 151 KiB | 4,739 | 2,916 | |
cfg.c | H A D | 08-May-2022 | 19.3 KiB | 847 | 599 | |
cfganal.c | H A D | 08-May-2022 | 30.7 KiB | 1,185 | 731 | |
cfgbuild.c | H A D | 08-May-2022 | 24.1 KiB | 864 | 538 | |
cfgcleanup.c | H A D | 08-May-2022 | 52.2 KiB | 1,854 | 1,216 | |
cfglayout.c | H A D | 08-May-2022 | 25.7 KiB | 1,028 | 744 | |
cfglayout.h | H A D | 08-May-2022 | 1.5 KiB | 42 | 16 | |
cfgloop.c | H A D | 08-May-2022 | 28.5 KiB | 1,203 | 852 | |
cfgrtl.c | H A D | 08-May-2022 | 63.6 KiB | 2,409 | 1,655 | |
collect2.c | H A D | 08-May-2022 | 94.2 KiB | 3,653 | 2,706 | |
collect2.h | H A D | 08-May-2022 | 1.8 KiB | 53 | 23 | |
combine.c | H A D | 08-May-2022 | 436 KiB | 13,251 | 8,519 | |
conditions.h | H A D | 08-May-2022 | 4.5 KiB | 119 | 22 | |
config.gcc | H A D | 08-May-2022 | 87.6 KiB | 3,136 | 3,098 | |
config.guess | H A D | 08-May-2022 | 159 | 5 | 2 | |
config.in | H A D | 08-May-2022 | 18.2 KiB | 641 | 440 | |
configure | H A D | 08-May-2022 | 259.1 KiB | 9,283 | 7,532 | |
configure.frag | H A D | 08-May-2022 | 1.7 KiB | 78 | 61 | |
configure.in | H A D | 08-May-2022 | 89.7 KiB | 2,972 | 2,748 | |
conflict.c | H A D | 08-May-2022 | 14.6 KiB | 527 | 267 | |
convert.c | H A D | 08-May-2022 | 16.1 KiB | 524 | 329 | |
convert.h | H A D | 08-May-2022 | 1 KiB | 26 | 5 | |
cppdefault.c | H A D | 08-May-2022 | 2.9 KiB | 90 | 53 | |
cppdefault.h | H A D | 08-May-2022 | 2.5 KiB | 75 | 28 | |
cpperror.c | H A D | 08-May-2022 | 5.2 KiB | 193 | 127 | |
cppexp.c | H A D | 08-May-2022 | 41.6 KiB | 1,645 | 1,275 | |
cppfiles.c | H A D | 08-May-2022 | 32.6 KiB | 1,183 | 790 | |
cpphash.c | H A D | 08-May-2022 | 3.8 KiB | 130 | 75 | |
cpphash.h | H A D | 08-May-2022 | 19.6 KiB | 635 | 350 | |
cppinit.c | H A D | 08-May-2022 | 43.5 KiB | 1,493 | 1,039 | |
cpplex.c | H A D | 08-May-2022 | 57.5 KiB | 2,187 | 1,627 | |
cpplib.c | H A D | 08-May-2022 | 55.1 KiB | 2,008 | 1,445 | |
cpplib.h | H A D | 08-May-2022 | 26.6 KiB | 738 | 386 | |
cppmacro.c | H A D | 08-May-2022 | 49.7 KiB | 1,792 | 1,257 | |
cppmain.c | H A D | 08-May-2022 | 12.3 KiB | 433 | 316 | |
cppspec.c | H A D | 08-May-2022 | 5.5 KiB | 225 | 145 | |
cpptrad.c | H A D | 08-May-2022 | 32 KiB | 1,219 | 869 | |
crtstuff.c | H A D | 08-May-2022 | 19.1 KiB | 548 | 289 | |
cse.c | H A D | 08-May-2022 | 249 KiB | 8,179 | 5,039 | |
cselib.c | H A D | 08-May-2022 | 35.9 KiB | 1,444 | 996 | |
cselib.h | H A D | 08-May-2022 | 2.4 KiB | 72 | 32 | |
cstamp-h.in | H A D | 08-May-2022 | 10 | 2 | 1 | |
dbxout.c | H A D | 08-May-2022 | 88.3 KiB | 3,012 | 2,019 | |
dbxout.h | H A D | 08-May-2022 | 997 | 25 | 4 | |
dbxstclass.h | H A D | 08-May-2022 | 427 | 18 | 12 | |
debug.c | H A D | 08-May-2022 | 2.4 KiB | 99 | 68 | |
debug.h | H A D | 08-May-2022 | 5.7 KiB | 146 | 55 | |
defaults.h | H A D | 08-May-2022 | 18.5 KiB | 611 | 390 | |
df.c | H A D | 08-May-2022 | 97.2 KiB | 3,986 | 2,832 | |
df.h | H A D | 08-May-2022 | 11.3 KiB | 346 | 219 | |
diagnostic.c | H A D | 08-May-2022 | 39.2 KiB | 1,474 | 1,115 | |
diagnostic.def | H A D | 08-May-2022 | 412 | 10 | 8 | |
diagnostic.h | H A D | 08-May-2022 | 12.5 KiB | 331 | 149 | |
doloop.c | H A D | 08-May-2022 | 27.8 KiB | 900 | 528 | |
dominance.c | H A D | 08-May-2022 | 23 KiB | 813 | 541 | |
doschk.c | H A D | 08-May-2022 | 6.7 KiB | 361 | 314 | |
dummy-conditions.c | H A D | 08-May-2022 | 1.3 KiB | 35 | 6 | |
dwarf.h | H A D | 08-May-2022 | 10 KiB | 320 | 227 | |
dwarf2.h | H A D | 08-May-2022 | 16.4 KiB | 631 | 516 | |
dwarf2asm.c | H A D | 08-May-2022 | 24 KiB | 908 | 701 | |
dwarf2asm.h | H A D | 08-May-2022 | 2.6 KiB | 79 | 43 | |
dwarf2out.c | H A D | 08-May-2022 | 373.5 KiB | 12,932 | 8,931 | |
dwarf2out.h | H A D | 08-May-2022 | 1.2 KiB | 29 | 7 | |
dwarfout.c | H A D | 08-May-2022 | 224.4 KiB | 6,562 | 3,596 | |
emit-rtl.c | H A D | 08-May-2022 | 142.7 KiB | 5,632 | 3,826 | |
errors.c | H A D | 08-May-2022 | 3.6 KiB | 138 | 72 | |
errors.h | H A D | 08-May-2022 | 1.6 KiB | 44 | 12 | |
et-forest.c | H A D | 08-May-2022 | 16.2 KiB | 681 | 487 | |
et-forest.h | H A D | 08-May-2022 | 2.7 KiB | 84 | 28 | |
except.c | H A D | 08-May-2022 | 101.6 KiB | 3,837 | 2,646 | |
except.h | H A D | 08-May-2022 | 6.8 KiB | 184 | 80 | |
explow.c | H A D | 08-May-2022 | 48.1 KiB | 1,751 | 1,143 | |
expmed.c | H A D | 08-May-2022 | 149.7 KiB | 4,809 | 3,298 | |
expr.c | H A D | 08-May-2022 | 349.9 KiB | 11,381 | 7,867 | |
expr.h | H A D | 08-May-2022 | 30.8 KiB | 802 | 344 | |
final.c | H A D | 08-May-2022 | 111.1 KiB | 4,171 | 2,881 | |
fix-header.c | H A D | 08-May-2022 | 35.5 KiB | 1,326 | 995 | |
fixproto | H A D | 08-May-2022 | 10.3 KiB | 326 | 208 | |
flags.h | H A D | 08-May-2022 | 22.7 KiB | 729 | 191 | |
floatlib.c | H A D | 08-May-2022 | 16.9 KiB | 945 | 637 | |
flow.c | H A D | 08-May-2022 | 128.1 KiB | 4,404 | 2,827 | |
fold-const.c | H A D | 08-May-2022 | 234.6 KiB | 7,372 | 5,127 | |
fp-test.c | H A D | 08-May-2022 | 5.4 KiB | 253 | 187 | |
function.c | H A D | 08-May-2022 | 241.7 KiB | 8,045 | 5,137 | |
function.h | H A D | 08-May-2022 | 24.2 KiB | 629 | 231 | |
future.options | H A D | 08-May-2022 | 1.1 KiB | 41 | 35 | |
gbl-ctors.h | H A D | 08-May-2022 | 3.5 KiB | 91 | 19 | |
gcc.c | H A D | 08-May-2022 | 201.7 KiB | 7,370 | 5,112 | |
gcc.h | H A D | 08-May-2022 | 3.2 KiB | 89 | 40 | |
gcc.hlp | H A D | 08-May-2022 | 13.9 KiB | 404 | 280 | |
gccbug.in | H A D | 08-May-2022 | 15.2 KiB | 552 | 460 | |
gccspec.c | H A D | 08-May-2022 | 2.8 KiB | 110 | 62 | |
gcov-io.h | H A D | 08-May-2022 | 7.1 KiB | 306 | 192 | |
gcov.c | H A D | 08-May-2022 | 43.9 KiB | 1,635 | 1,128 | |
gcse.c | H A D | 08-May-2022 | 210.2 KiB | 7,506 | 4,612 | |
gdbinit.in | H A D | 08-May-2022 | 2.2 KiB | 112 | 88 | |
gen-protos.c | H A D | 08-May-2022 | 4.5 KiB | 196 | 140 | |
genattr.c | H A D | 08-May-2022 | 17.3 KiB | 482 | 375 | |
genattrtab.c | H A D | 08-May-2022 | 169 KiB | 6,269 | 4,469 | |
genattrtab.h | H A D | 08-May-2022 | 1.7 KiB | 44 | 19 | |
genautomata.c | H A D | 08-May-2022 | 312.2 KiB | 9,743 | 7,574 | |
gencheck.c | H A D | 08-May-2022 | 1.7 KiB | 73 | 41 | |
gencodes.c | H A D | 08-May-2022 | 2.8 KiB | 117 | 66 | |
genconditions.c | H A D | 08-May-2022 | 6.4 KiB | 241 | 158 | |
genconfig.c | H A D | 08-May-2022 | 9.5 KiB | 378 | 246 | |
genconstants.c | H A D | 08-May-2022 | 2.4 KiB | 90 | 42 | |
genemit.c | H A D | 08-May-2022 | 24.2 KiB | 900 | 672 | |
genextract.c | H A D | 08-May-2022 | 13.1 KiB | 539 | 368 | |
genflags.c | H A D | 08-May-2022 | 7.2 KiB | 305 | 202 | |
gengenrtl.c | H A D | 08-May-2022 | 8.4 KiB | 368 | 237 | |
gengtype-lex.l | H A D | 08-May-2022 | 7.5 KiB | 329 | 258 | |
gengtype-yacc.y | H A D | 08-May-2022 | 6.6 KiB | 301 | 257 | |
gengtype.c | H A D | 08-May-2022 | 66.7 KiB | 2,626 | 2,158 | |
gengtype.h | H A D | 08-May-2022 | 5.2 KiB | 182 | 114 | |
genmultilib | H A D | 08-May-2022 | 12.5 KiB | 377 | 184 | |
genopinit.c | H A D | 08-May-2022 | 12.6 KiB | 369 | 264 | |
genoutput.c | H A D | 08-May-2022 | 25.6 KiB | 1,041 | 721 | |
genpeep.c | H A D | 08-May-2022 | 11.5 KiB | 461 | 331 | |
genpreds.c | H A D | 08-May-2022 | 1.8 KiB | 69 | 36 | |
genrecog.c | H A D | 08-May-2022 | 75.1 KiB | 2,898 | 2,084 | |
gensupport.c | H A D | 08-May-2022 | 26.5 KiB | 1,162 | 855 | |
gensupport.h | H A D | 08-May-2022 | 2.4 KiB | 70 | 26 | |
ggc-common.c | H A D | 08-May-2022 | 9.9 KiB | 365 | 242 | |
ggc-none.c | H A D | 08-May-2022 | 1.3 KiB | 50 | 22 | |
ggc-page.c | H A D | 08-May-2022 | 49.5 KiB | 1,812 | 1,104 | |
ggc-simple.c | H A D | 08-May-2022 | 10.6 KiB | 504 | 330 | |
ggc.h | H A D | 08-May-2022 | 6.7 KiB | 184 | 78 | |
glimits.h | H A D | 08-May-2022 | 2.7 KiB | 104 | 71 | |
global.c | H A D | 08-May-2022 | 59.8 KiB | 1,978 | 1,235 | |
gmon.c | H A D | 08-May-2022 | 8.4 KiB | 327 | 218 | |
graph.c | H A D | 08-May-2022 | 10.4 KiB | 466 | 365 | |
graph.h | H A D | 08-May-2022 | 1 KiB | 29 | 6 | |
gstab.h | H A D | 08-May-2022 | 215 | 15 | 10 | |
gsyms.h | H A D | 08-May-2022 | 1.2 KiB | 87 | 78 | |
gsyslimits.h | H A D | 08-May-2022 | 330 | 9 | 3 | |
gthr-aix.h | H A D | 08-May-2022 | 1.4 KiB | 39 | 8 | |
gthr-dce.h | H A D | 08-May-2022 | 10.9 KiB | 497 | 348 | |
gthr-posix.h | H A D | 08-May-2022 | 12.3 KiB | 522 | 368 | |
gthr-rtems.h | H A D | 08-May-2022 | 3.7 KiB | 136 | 76 | |
gthr-single.h | H A D | 08-May-2022 | 5.2 KiB | 240 | 137 | |
gthr-solaris.h | H A D | 08-May-2022 | 10.2 KiB | 479 | 336 | |
gthr-vxworks.h | H A D | 08-May-2022 | 6.7 KiB | 311 | 182 | |
gthr-win32.h | H A D | 08-May-2022 | 14.3 KiB | 605 | 394 | |
gthr.h | H A D | 08-May-2022 | 3.5 KiB | 106 | 19 | |
haifa-sched.c | H A D | 08-May-2022 | 74 KiB | 2,526 | 1,557 | |
hard-reg-set.h | H A D | 08-May-2022 | 17.2 KiB | 497 | 285 | |
hashtable.c | H A D | 08-May-2022 | 8.2 KiB | 329 | 226 | |
hashtable.h | H A D | 08-May-2022 | 3 KiB | 92 | 37 | |
hooks.c | H A D | 08-May-2022 | 2.9 KiB | 132 | 88 | |
hooks.h | H A D | 08-May-2022 | 1.7 KiB | 46 | 19 | |
hwint.h | H A D | 08-May-2022 | 5.3 KiB | 167 | 129 | |
ifcvt.c | H A D | 08-May-2022 | 88 KiB | 3,247 | 2,188 | |
input.h | H A D | 08-May-2022 | 1.6 KiB | 50 | 14 | |
insn-addr.h | H A D | 08-May-2022 | 1.7 KiB | 51 | 26 | |
integrate.c | H A D | 08-May-2022 | 101.6 KiB | 3,222 | 2,068 | |
integrate.h | H A D | 08-May-2022 | 8 KiB | 195 | 72 | |
intl.c | H A D | 08-May-2022 | 1.3 KiB | 47 | 17 | |
intl.h | H A D | 08-May-2022 | 1.5 KiB | 62 | 35 | |
jump.c | H A D | 08-May-2022 | 62.5 KiB | 2,477 | 1,685 | |
langhooks-def.h | H A D | 08-May-2022 | 10.8 KiB | 277 | 213 | |
langhooks.c | H A D | 08-May-2022 | 11.9 KiB | 484 | 282 | |
langhooks.h | H A D | 08-May-2022 | 14.7 KiB | 377 | 113 | |
lcm.c | H A D | 08-May-2022 | 40.5 KiB | 1,351 | 862 | |
libfuncs.h | H A D | 08-May-2022 | 7.9 KiB | 275 | 203 | |
libgcc-std.ver | H A D | 08-May-2022 | 3 KiB | 207 | 195 | |
libgcc2.c | H A D | 08-May-2022 | 41.4 KiB | 1,996 | 1,452 | |
libgcc2.h | H A D | 08-May-2022 | 9.9 KiB | 315 | 216 | |
limitx.h | H A D | 08-May-2022 | 455 | 13 | 5 | |
limity.h | H A D | 08-May-2022 | 270 | 11 | 5 | |
line-map.c | H A D | 08-May-2022 | 6.1 KiB | 236 | 145 | |
line-map.h | H A D | 08-May-2022 | 4.7 KiB | 120 | 38 | |
lists.c | H A D | 08-May-2022 | 3.6 KiB | 149 | 90 | |
local-alloc.c | H A D | 08-May-2022 | 76 KiB | 2,485 | 1,429 | |
location.h | H A D | 08-May-2022 | 1.3 KiB | 39 | 9 | |
longlong.h | H A D | 08-May-2022 | 45 KiB | 1,329 | 1,170 | |
loop.c | H A D | 08-May-2022 | 326.4 KiB | 11,033 | 7,146 | |
loop.h | H A D | 08-May-2022 | 16.2 KiB | 431 | 198 | |
machmode.def | H A D | 08-May-2022 | 8.8 KiB | 177 | 140 | |
machmode.h | H A D | 08-May-2022 | 6 KiB | 178 | 73 | |
main.c | H A D | 08-May-2022 | 1.1 KiB | 37 | 11 | |
mbchar.c | H A D | 08-May-2022 | 9.3 KiB | 335 | 219 | |
mbchar.h | H A D | 08-May-2022 | 1.5 KiB | 42 | 14 | |
mips-tdump.c | H A D | 08-May-2022 | 40.9 KiB | 1,550 | 1,174 | |
mips-tfile.c | H A D | 08-May-2022 | 155.9 KiB | 5,624 | 3,749 | |
mkconfig.sh | H A D | 08-May-2022 | 3 KiB | 110 | 77 | |
mkdeps.c | H A D | 08-May-2022 | 6.2 KiB | 292 | 206 | |
mkdeps.h | H A D | 08-May-2022 | 2.6 KiB | 63 | 12 | |
mkheaders.in | H A D | 08-May-2022 | 3.1 KiB | 102 | 59 | |
mkinstalldirs | H A D | 08-May-2022 | 732 | 41 | 23 | |
mklibgcc.in | H A D | 08-May-2022 | 16.1 KiB | 532 | 413 | |
mkmap-flat.awk | H A D | 08-May-2022 | 1.7 KiB | 79 | 38 | |
mkmap-symver.awk | H A D | 08-May-2022 | 2.5 KiB | 124 | 79 | |
move-if-change | H A D | 08-May-2022 | 229 | 18 | 14 | |
optabs.c | H A D | 08-May-2022 | 159.3 KiB | 5,576 | 3,897 | |
optabs.h | H A D | 08-May-2022 | 10.4 KiB | 341 | 168 | |
output.h | H A D | 08-May-2022 | 21.2 KiB | 541 | 207 | |
params.c | H A D | 08-May-2022 | 2.2 KiB | 82 | 36 | |
params.def | H A D | 08-May-2022 | 10 KiB | 246 | 216 | |
params.h | H A D | 08-May-2022 | 3.5 KiB | 112 | 49 | |
predict.c | H A D | 08-May-2022 | 36.8 KiB | 1,283 | 887 | |
predict.def | H A D | 08-May-2022 | 4.6 KiB | 116 | 83 | |
predict.h | H A D | 08-May-2022 | 1.5 KiB | 50 | 21 | |
prefix.c | H A D | 08-May-2022 | 8.7 KiB | 359 | 220 | |
prefix.h | H A D | 08-May-2022 | 1.2 KiB | 32 | 5 | |
pretty-print.h | H A D | 08-May-2022 | 4.6 KiB | 101 | 68 | |
print-rtl.c | H A D | 08-May-2022 | 18.5 KiB | 797 | 617 | |
print-tree.c | H A D | 08-May-2022 | 21.8 KiB | 771 | 619 | |
profile.c | H A D | 08-May-2022 | 39.4 KiB | 1,427 | 952 | |
profile.h | H A D | 08-May-2022 | 1.6 KiB | 55 | 12 | |
protector.c | H A D | 08-May-2022 | 68.4 KiB | 2,752 | 1,940 | |
protector.h | H A D | 08-May-2022 | 1.8 KiB | 54 | 11 | |
protoize.c | H A D | 08-May-2022 | 141.2 KiB | 4,671 | 2,851 | |
ra-build.c | H A D | 08-May-2022 | 104 KiB | 3,275 | 2,246 | |
ra-colorize.c | H A D | 08-May-2022 | 83.8 KiB | 2,743 | 2,034 | |
ra-debug.c | H A D | 08-May-2022 | 30.6 KiB | 1,121 | 948 | |
ra-rewrite.c | H A D | 08-May-2022 | 62 KiB | 1,988 | 1,464 | |
ra.c | H A D | 08-May-2022 | 26.5 KiB | 900 | 593 | |
ra.h | H A D | 08-May-2022 | 22.9 KiB | 625 | 254 | |
read-rtl.c | H A D | 08-May-2022 | 18.4 KiB | 763 | 560 | |
real.c | H A D | 08-May-2022 | 92.2 KiB | 4,417 | 3,382 | |
real.h | H A D | 08-May-2022 | 11.5 KiB | 352 | 187 | |
recog.c | H A D | 08-May-2022 | 92.2 KiB | 3,512 | 2,389 | |
recog.h | H A D | 08-May-2022 | 9.5 KiB | 255 | 135 | |
reg-stack.c | H A D | 08-May-2022 | 83.3 KiB | 2,925 | 1,818 | |
regclass.c | H A D | 08-May-2022 | 79 KiB | 2,756 | 1,759 | |
regmove.c | H A D | 08-May-2022 | 72.4 KiB | 2,507 | 1,669 | |
regrename.c | H A D | 08-May-2022 | 53.1 KiB | 1,931 | 1,436 | |
regs.h | H A D | 08-May-2022 | 8.4 KiB | 229 | 69 | |
reload.c | H A D | 08-May-2022 | 230.2 KiB | 7,095 | 4,686 | |
reload.h | H A D | 08-May-2022 | 14.4 KiB | 388 | 134 | |
reload1.c | H A D | 08-May-2022 | 306.8 KiB | 9,643 | 6,155 | |
reorg.c | H A D | 08-May-2022 | 122 KiB | 3,852 | 2,366 | |
resource.c | H A D | 08-May-2022 | 38.7 KiB | 1,310 | 841 | |
resource.h | H A D | 08-May-2022 | 2 KiB | 52 | 25 | |
rtl-error.c | H A D | 08-May-2022 | 4 KiB | 146 | 102 | |
rtl.c | H A D | 08-May-2022 | 16.5 KiB | 627 | 386 | |
rtl.def | H A D | 08-May-2022 | 51 KiB | 1,169 | 940 | |
rtl.h | H A D | 08-May-2022 | 87.9 KiB | 2,309 | 1,348 | |
rtlanal.c | H A D | 08-May-2022 | 86.2 KiB | 3,625 | 2,546 | |
sbitmap.c | H A D | 08-May-2022 | 16.4 KiB | 781 | 576 | |
sbitmap.h | H A D | 08-May-2022 | 6.8 KiB | 181 | 130 | |
scan-decls.c | H A D | 08-May-2022 | 6 KiB | 247 | 171 | |
scan-types.sh | H A D | 08-May-2022 | 5 KiB | 143 | 70 | |
scan.c | H A D | 08-May-2022 | 4.4 KiB | 258 | 222 | |
scan.h | H A D | 08-May-2022 | 2.7 KiB | 83 | 53 | |
sched-deps.c | H A D | 08-May-2022 | 48.8 KiB | 1,617 | 1,117 | |
sched-ebb.c | H A D | 08-May-2022 | 9.6 KiB | 367 | 224 | |
sched-int.h | H A D | 08-May-2022 | 12.7 KiB | 324 | 132 | |
sched-rgn.c | H A D | 08-May-2022 | 87.8 KiB | 3,126 | 1,959 | |
sched-vis.c | H A D | 08-May-2022 | 22.7 KiB | 964 | 814 | |
sdbout.c | H A D | 08-May-2022 | 49.5 KiB | 1,758 | 1,192 | |
sdbout.h | H A D | 08-May-2022 | 903 | 23 | 2 | |
sibcall.c | H A D | 08-May-2022 | 22.1 KiB | 771 | 463 | |
simplify-rtx.c | H A D | 08-May-2022 | 82.3 KiB | 2,910 | 2,109 | |
sort-protos | H A D | 08-May-2022 | 293 | 10 | 3 | |
ssa-ccp.c | H A D | 08-May-2022 | 35.3 KiB | 1,220 | 754 | |
ssa-dce.c | H A D | 08-May-2022 | 21.3 KiB | 734 | 444 | |
ssa.c | H A D | 08-May-2022 | 63 KiB | 2,335 | 1,443 | |
ssa.h | H A D | 08-May-2022 | 2.5 KiB | 73 | 20 | |
stab.def | H A D | 08-May-2022 | 8.9 KiB | 235 | 186 | |
stack.h | H A D | 08-May-2022 | 1.4 KiB | 43 | 9 | |
stmt.c | H A D | 08-May-2022 | 188.6 KiB | 6,358 | 3,961 | |
stor-layout.c | H A D | 08-May-2022 | 67.9 KiB | 2,143 | 1,378 | |
stringpool.c | H A D | 08-May-2022 | 4.6 KiB | 173 | 93 | |
sys-protos.h | H A D | 08-May-2022 | 75.2 KiB | 1,354 | 1,353 | |
sys-types.h | H A D | 08-May-2022 | 4.2 KiB | 241 | 217 | |
system.h | H A D | 08-May-2022 | 17.6 KiB | 645 | 420 | |
target-def.h | H A D | 08-May-2022 | 9.5 KiB | 295 | 218 | |
target.h | H A D | 08-May-2022 | 13.9 KiB | 319 | 85 | |
timevar.c | H A D | 08-May-2022 | 14.1 KiB | 544 | 324 | |
timevar.def | H A D | 08-May-2022 | 4.1 KiB | 95 | 81 | |
timevar.h | H A D | 08-May-2022 | 3.2 KiB | 95 | 28 | |
tlink.c | H A D | 08-May-2022 | 16.7 KiB | 742 | 558 | |
toplev.c | H A D | 08-May-2022 | 160 KiB | 5,548 | 3,564 | |
toplev.h | H A D | 08-May-2022 | 5.2 KiB | 137 | 83 | |
tracer.c | H A D | 08-May-2022 | 10.1 KiB | 379 | 272 | |
tree-dump.c | H A D | 08-May-2022 | 19.1 KiB | 791 | 569 | |
tree-dump.h | H A D | 08-May-2022 | 2.8 KiB | 96 | 43 | |
tree-inline.c | H A D | 08-May-2022 | 59.9 KiB | 1,913 | 1,196 | |
tree-inline.h | H A D | 08-May-2022 | 1.5 KiB | 43 | 11 | |
tree.c | H A D | 08-May-2022 | 128.6 KiB | 4,931 | 3,286 | |
tree.def | H A D | 08-May-2022 | 39.7 KiB | 858 | 714 | |
tree.h | H A D | 08-May-2022 | 124.6 KiB | 3,197 | 1,457 | |
tsystem.h | H A D | 08-May-2022 | 2.9 KiB | 107 | 39 | |
typeclass.h | H A D | 08-May-2022 | 467 | 15 | 12 | |
unroll.c | H A D | 08-May-2022 | 134.9 KiB | 4,103 | 2,371 | |
unwind-c.c | H A D | 08-May-2022 | 5.6 KiB | 187 | 120 | |
unwind-dw2-fde-darwin.c | H A D | 08-May-2022 | 7.2 KiB | 242 | 156 | |
unwind-dw2-fde-glibc.c | H A D | 08-May-2022 | 8.2 KiB | 300 | 220 | |
unwind-dw2-fde-openbsd.c | H A D | 08-May-2022 | 429 | 13 | 6 | |
unwind-dw2-fde.c | H A D | 08-May-2022 | 26.3 KiB | 1,032 | 725 | |
unwind-dw2-fde.h | H A D | 08-May-2022 | 5.2 KiB | 177 | 96 | |
unwind-dw2.c | H A D | 08-May-2022 | 32.2 KiB | 1,311 | 1,000 | |
unwind-libunwind.c | H A D | 08-May-2022 | 4.6 KiB | 188 | 106 | |
unwind-pe.h | H A D | 08-May-2022 | 6.8 KiB | 278 | 193 | |
unwind-sjlj.c | H A D | 08-May-2022 | 6.8 KiB | 297 | 200 | |
unwind.h | H A D | 08-May-2022 | 8.6 KiB | 228 | 95 | |
unwind.inc | H A D | 08-May-2022 | 8.8 KiB | 305 | 231 | |
varasm.c | H A D | 08-May-2022 | 145.7 KiB | 5,504 | 3,881 | |
varray.c | H A D | 08-May-2022 | 3.9 KiB | 140 | 96 | |
varray.h | H A D | 08-May-2022 | 12.1 KiB | 322 | 220 | |
version.c | H A D | 08-May-2022 | 816 | 19 | 4 | |
version.h | H A D | 08-May-2022 | 145 | 6 | 5 | |
vmsdbg.h | H A D | 08-May-2022 | 6.5 KiB | 256 | 175 | |
vmsdbgout.c | H A D | 08-May-2022 | 52.1 KiB | 1,772 | 1,270 | |
xcoffout.c | H A D | 08-May-2022 | 13.2 KiB | 495 | 307 | |
xcoffout.h | H A D | 08-May-2022 | 6.8 KiB | 208 | 104 |
README-fixinc
1This README file is copied into the directory for GCC-only header files 2when fixincludes is run by the makefile for GCC. 3 4Many of the files in this directory were automatically edited from the 5standard system header files by the fixincludes process. They are 6system-specific, and will not work on any other kind of system. They 7are also not part of GCC. The reason we have to do this is because 8GCC requires ANSI C headers and many vendors supply ANSI-incompatible 9headers. 10 11Because this is an automated process, sometimes headers get "fixed" 12that do not, strictly speaking, need a fix. As long as nothing is broken 13by the process, it is just an unfortunate collateral inconvenience. 14We would like to rectify it, if it is not "too inconvenient". 15
README.Portability
1Copyright (C) 2000 Free Software Foundation, Inc. 2 3This file is intended to contain a few notes about writing C code 4within GCC so that it compiles without error on the full range of 5compilers GCC needs to be able to compile on. 6 7The problem is that many ISO-standard constructs are not accepted by 8either old or buggy compilers, and we keep getting bitten by them. 9This knowledge until know has been sparsely spread around, so I 10thought I'd collect it in one useful place. Please add and correct 11any problems as you come across them. 12 13I'm going to start from a base of the ISO C89 standard, since that is 14probably what most people code to naturally. Obviously using 15constructs introduced after that is not a good idea. 16 17The first section of this file deals strictly with portability issues, 18the second with common coding pitfalls. 19 20 21 Portability Issues 22 ================== 23 24Unary + 25------- 26 27K+R C compilers and preprocessors have no notion of unary '+'. Thus 28the following code snippet contains 2 portability problems. 29 30int x = +2; /* int x = 2; */ 31#if +1 /* #if 1 */ 32#endif 33 34 35Pointers to void 36---------------- 37 38K+R C compilers did not have a void pointer, and used char * as the 39pointer to anything. The macro PTR is defined as either void * or 40char * depending on whether you have a standards compliant compiler or 41a K+R one. Thus 42 43 free ((void *) h->value.expansion); 44 45should be written 46 47 free ((PTR) h->value.expansion); 48 49Further, an initial investigation indicates that pointers to functions 50returning void are okay. Thus the example given by "Calling functions 51through pointers to functions" below appears not to cause a problem. 52 53 54String literals 55--------------- 56 57Some SGI compilers choke on the parentheses in:- 58 59const char string[] = ("A string"); 60 61This is unfortunate since this is what the GNU gettext macro N_ 62produces. You need to find a different way to code it. 63 64K+R C did not allow concatenation of string literals like 65 66 "This is a " "single string literal". 67 68Moreover, some compilers like MSVC++ have fairly low limits on the 69maximum length of a string literal; 509 is the lowest we've come 70across. You may need to break up a long printf statement into many 71smaller ones. 72 73 74Empty macro arguments 75--------------------- 76 77ISO C (6.8.3 in the 1990 standard) specifies the following: 78 79If (before argument substitution) any argument consists of no 80preprocessing tokens, the behavior is undefined. 81 82This was relaxed by ISO C99, but some older compilers emit an error, 83so code like 84 85#define foo(x, y) x y 86foo (bar, ) 87 88needs to be coded in some other way. 89 90 91signed keyword 92-------------- 93 94The signed keyword did not exist in K+R compilers; it was introduced 95in ISO C89, so you cannot use it. In both K+R and standard C, 96unqualified char and bitfields may be signed or unsigned. There is no 97way to portably declare signed chars or signed bitfields. 98 99All other arithmetic types are signed unless you use the 'unsigned' 100qualifier. For instance, it is safe to write 101 102 short paramc; 103 104instead of 105 106 signed short paramc; 107 108If you have an algorithm that depends on signed char or signed 109bitfields, you must find another way to write it before it can be 110integrated into GCC. 111 112 113Function prototypes 114------------------- 115 116You need to provide a function prototype for every function before you 117use it, and functions must be defined K+R style. The function 118prototype should use the PARAMS macro, which takes a single argument. 119Therefore the parameter list must be enclosed in parentheses. For 120example, 121 122int myfunc PARAMS ((double, int *)); 123 124int 125myfunc (var1, var2) 126 double var1; 127 int *var2; 128{ 129 ... 130} 131 132This implies that if the function takes no arguments, it should be 133declared and defined as follows: 134 135int myfunc PARAMS ((void)); 136 137int 138myfunc () 139{ 140 ... 141} 142 143You also need to use PARAMS when referring to function protypes in 144other circumstances, for example see "Calling functions through 145pointers to functions" below. 146 147Variable-argument functions are best described by example:- 148 149void cpp_ice PARAMS ((cpp_reader *, const char *msgid, ...)); 150 151void 152cpp_ice VPARAMS ((cpp_reader *pfile, const char *msgid, ...)) 153{ 154 VA_OPEN (ap, msgid); 155 VA_FIXEDARG (ap, cpp_reader *, pfile); 156 VA_FIXEDARG (ap, const char *, msgid); 157 158 ... 159 VA_CLOSE (ap); 160} 161 162See ansidecl.h for the definitions of the above macros and more. 163 164One aspect of using K+R style function declarations, is you cannot 165have arguments whose types are char, short, or float, since without 166prototypes (ie, K+R rules), these types are promoted to int, int, and 167double respectively. 168 169Calling functions through pointers to functions 170----------------------------------------------- 171 172K+R C compilers require parentheses around the dereferenced function 173pointer expression in the call, whereas ISO C relaxes the syntax. For 174example 175 176typedef void (* cl_directive_handler) PARAMS ((cpp_reader *, const char *)); 177 *p->handler (pfile, p->arg); 178 179needs to become 180 181 (*p->handler) (pfile, p->arg); 182 183 184Macros 185------ 186 187The rules under K+R C and ISO C for achieving stringification and 188token pasting are quite different. Therefore some macros have been 189defined which will get it right depending upon the compiler. 190 191 CONCAT2(a,b) CONCAT3(a,b,c) and CONCAT4(a,b,c,d) 192 193will paste the tokens passed as arguments. You must not leave any 194space around the commas. Also, 195 196 STRINGX(x) 197 198will stringify an argument; to get the same result on K+R and ISO 199compilers x should not have spaces around it. 200 201 202Passing structures by value 203--------------------------- 204 205Avoid passing structures by value, either to or from functions. It 206seems some K+R compilers handle this differently or not at all. 207 208 209Enums 210----- 211 212In K+R C, you have to cast enum types to use them as integers, and 213some compilers in particular give lots of warnings for using an enum 214as an array index. 215 216 217Bitfields 218--------- 219 220See also "signed keyword" above. In K+R C only unsigned int bitfields 221were defined (i.e. unsigned char, unsigned short, unsigned long. 222Using plain int/short/long was not allowed). 223 224 225free and realloc 226---------------- 227 228Some implementations crash upon attempts to free or realloc the null 229pointer. Thus if mem might be null, you need to write 230 231 if (mem) 232 free (mem); 233 234 235Reserved Keywords 236----------------- 237 238K+R C has "entry" as a reserved keyword, so you should not use it for 239your variable names. 240 241 242Type promotions 243--------------- 244 245K+R used unsigned-preserving rules for arithmetic expresssions, while 246ISO uses value-preserving. This means an unsigned char compared to an 247int is done as an unsigned comparison in K+R (since unsigned char 248promotes to unsigned) while it is signed in ISO (since all of the 249values in unsigned char fit in an int, it promotes to int). 250 251Trigraphs 252--------- 253 254You weren't going to use them anyway, but trigraphs were not defined 255in K+R C, and some otherwise ISO C compliant compilers do not accept 256them. 257 258 259Suffixes on Integer Constants 260----------------------------- 261 262K+R C did not accept a 'u' suffix on integer constants. If you want 263to declare a constant to be be unsigned, you must use an explicit 264cast. 265 266You should never use a 'l' suffix on integer constants ('L' is fine), 267since it can easily be confused with the number '1'. 268 269 270 Common Coding Pitfalls 271 ====================== 272 273errno 274----- 275 276errno might be declared as a macro. 277 278 279Implicit int 280------------ 281 282In C, the 'int' keyword can often be omitted from type declarations. 283For instance, you can write 284 285 unsigned variable; 286 287as shorthand for 288 289 unsigned int variable; 290 291There are several places where this can cause trouble. First, suppose 292'variable' is a long; then you might think 293 294 (unsigned) variable 295 296would convert it to unsigned long. It does not. It converts to 297unsigned int. This mostly causes problems on 64-bit platforms, where 298long and int are not the same size. 299 300Second, if you write a function definition with no return type at 301all: 302 303 operate (a, b) 304 int a, b; 305 { 306 ... 307 } 308 309that function is expected to return int, *not* void. GCC will warn 310about this. K+R C has no problem with 'void' as a return type, so you 311need not worry about that. 312 313Implicit function declarations always have return type int. So if you 314correct the above definition to 315 316 void 317 operate (a, b) 318 int a, b; 319 ... 320 321but operate() is called above its definition, you will get an error 322about a "type mismatch with previous implicit declaration". The cure 323is to prototype all functions at the top of the file, or in an 324appropriate header. 325 326Char vs unsigned char vs int 327---------------------------- 328 329In C, unqualified 'char' may be either signed or unsigned; it is the 330implementation's choice. When you are processing 7-bit ASCII, it does 331not matter. But when your program must handle arbitrary binary data, 332or fully 8-bit character sets, you have a problem. The most obvious 333issue is if you have a look-up table indexed by characters. 334 335For instance, the character '\341' in ISO Latin 1 is SMALL LETTER A 336WITH ACUTE ACCENT. In the proper locale, isalpha('\341') will be 337true. But if you read '\341' from a file and store it in a plain 338char, isalpha(c) may look up character 225, or it may look up 339character -31. And the ctype table has no entry at offset -31, so 340your program will crash. (If you're lucky.) 341 342It is wise to use unsigned char everywhere you possibly can. This 343avoids all these problems. Unfortunately, the routines in <string.h> 344take plain char arguments, so you have to remember to cast them back 345and forth - or avoid the use of strxxx() functions, which is probably 346a good idea anyway. 347 348Another common mistake is to use either char or unsigned char to 349receive the result of getc() or related stdio functions. They may 350return EOF, which is outside the range of values representable by 351char. If you use char, some legal character value may be confused 352with EOF, such as '\377' (SMALL LETTER Y WITH UMLAUT, in Latin-1). 353The correct choice is int. 354 355A more subtle version of the same mistake might look like this: 356 357 unsigned char pushback[NPUSHBACK]; 358 int pbidx; 359 #define unget(c) (assert(pbidx < NPUSHBACK), pushback[pbidx++] = (c)) 360 #define get(c) (pbidx ? pushback[--pbidx] : getchar()) 361 ... 362 unget(EOF); 363 364which will mysteriously turn a pushed-back EOF into a SMALL LETTER Y 365WITH UMLAUT. 366 367 368Other common pitfalls 369--------------------- 370 371o Expecting 'plain' char to be either sign or unsigned extending 372 373o Shifting an item by a negative amount or by greater than or equal to 374 the number of bits in a type (expecting shifts by 32 to be sensible 375 has caused quite a number of bugs at least in the early days). 376 377o Expecting ints shifted right to be sign extended. 378 379o Modifying the same value twice within one sequence point. 380 381o Host vs. target floating point representation, including emitting NaNs 382 and Infinities in a form that the assembler handles. 383 384o qsort being an unstable sort function (unstable in the sense that 385 multiple items that sort the same may be sorted in different orders 386 by different qsort functions). 387 388o Passing incorrect types to fprintf and friends. 389 390o Adding a function declaration for a module declared in another file to 391 a .c file instead of to a .h file. 392