Mercurial > hg > CbC > CbC_gcc
comparison gcc/genattrtab.c @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
3321 printf ("which_alternative %s= %d", | 3321 printf ("which_alternative %s= %d", |
3322 XINT (exp, 1) ? "!" : "=", bit); | 3322 XINT (exp, 1) ? "!" : "=", bit); |
3323 } | 3323 } |
3324 else | 3324 else |
3325 { | 3325 { |
3326 printf ("%s((1 << which_alternative) & 0x%x)", | 3326 printf ("%s((1 << which_alternative) & %#x)", |
3327 XINT (exp, 1) ? "!" : "", set); | 3327 XINT (exp, 1) ? "!" : "", set); |
3328 } | 3328 } |
3329 } | 3329 } |
3330 break; | 3330 break; |
3331 | 3331 |
3892 int num = atoi (s); | 3892 int num = atoi (s); |
3893 | 3893 |
3894 printf ("%d", num); | 3894 printf ("%d", num); |
3895 | 3895 |
3896 if (num > 9 || num < 0) | 3896 if (num > 9 || num < 0) |
3897 printf (" /* 0x%x */", num); | 3897 printf (" /* %#x */", num); |
3898 } | 3898 } |
3899 else | 3899 else |
3900 { | 3900 { |
3901 write_upcase (attr->name); | 3901 write_upcase (attr->name); |
3902 printf ("_"); | 3902 printf ("_"); |
4535 printf ("#include \"insn-attr.h\"\n"); | 4535 printf ("#include \"insn-attr.h\"\n"); |
4536 printf ("#include \"tm_p.h\"\n"); | 4536 printf ("#include \"tm_p.h\"\n"); |
4537 printf ("#include \"insn-config.h\"\n"); | 4537 printf ("#include \"insn-config.h\"\n"); |
4538 printf ("#include \"recog.h\"\n"); | 4538 printf ("#include \"recog.h\"\n"); |
4539 printf ("#include \"regs.h\"\n"); | 4539 printf ("#include \"regs.h\"\n"); |
4540 printf ("#include \"real.h\"\n"); | |
4541 printf ("#include \"output.h\"\n"); | 4540 printf ("#include \"output.h\"\n"); |
4542 printf ("#include \"toplev.h\"\n"); | 4541 printf ("#include \"toplev.h\"\n"); |
4543 printf ("#include \"flags.h\"\n"); | 4542 printf ("#include \"flags.h\"\n"); |
4544 printf ("#include \"function.h\"\n"); | 4543 printf ("#include \"function.h\"\n"); |
4545 printf ("\n"); | 4544 printf ("\n"); |