Mercurial > hg > CbC > CbC_gcc
comparison gcc/dbgcnt.c @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | b7f97abdc517 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
20 See dbgcnt.def for usage information. */ | 20 See dbgcnt.def for usage information. */ |
21 | 21 |
22 #include "config.h" | 22 #include "config.h" |
23 #include "system.h" | 23 #include "system.h" |
24 #include "coretypes.h" | 24 #include "coretypes.h" |
25 #include "toplev.h" | 25 #include "diagnostic-core.h" |
26 #include "tm.h" | 26 #include "tm.h" |
27 #include "rtl.h" | 27 #include "rtl.h" |
28 #include "output.h" | 28 #include "output.h" |
29 | 29 |
30 #include "dbgcnt.h" | 30 #include "dbgcnt.h" |
130 | 130 |
131 if (next == NULL || *next != 0) | 131 if (next == NULL || *next != 0) |
132 { | 132 { |
133 char *buffer = XALLOCAVEC (char, arg - start + 2); | 133 char *buffer = XALLOCAVEC (char, arg - start + 2); |
134 sprintf (buffer, "%*c", (int)(1 + (arg - start)), '^'); | 134 sprintf (buffer, "%*c", (int)(1 + (arg - start)), '^'); |
135 error ("Can not find a valid counter:value pair:"); | 135 error ("cannot find a valid counter:value pair:"); |
136 error ("-fdbg-cnt=%s", start); | 136 error ("-fdbg-cnt=%s", start); |
137 error (" %s", buffer); | 137 error (" %s", buffer); |
138 } | 138 } |
139 } | 139 } |
140 | 140 |