|
56 | 56 |
|
57 | 57 | static bool process_input(char *argv0, bool *need_cuda_constructor); |
58 | 58 |
|
| 59 | +/** Product name in debug output |
| 60 | + */ |
| 61 | +#ifdef FLANG_VENDOR |
| 62 | +#define DNAME FLANG_VENDOR "F90" |
| 63 | +#else |
| 64 | +#define DNAME "F90" |
| 65 | +#endif |
| 66 | + |
59 | 67 | #if DEBUG & sun |
60 | 68 | #ifndef _ERRNO_H |
61 | 69 | extern int errno; |
@@ -113,7 +121,11 @@ static int dodebug = 0; |
113 | 121 | #define DEBUGQQ 0 |
114 | 122 | #endif |
115 | 123 |
|
| 124 | +#if defined(FLANG_VENDOR) && defined(DNAME) |
| 125 | +static char *dbg_feature = DNAME; |
| 126 | +#else |
116 | 127 | static char *dbg_feature = "flang"; |
| 128 | +#endif |
117 | 129 |
|
118 | 130 | static int ipa_import_mode = 0; |
119 | 131 |
|
@@ -201,7 +213,7 @@ process_input(char *argv0, bool *need_cuda_constructor) |
201 | 213 | gbl.func_count++; |
202 | 214 |
|
203 | 215 | if (gbl.multiversion <= 1) { |
204 | | - TR("F90 ILM INPUT begins\n") |
| 216 | + TR(DNAME " ILM INPUT begins\n") |
205 | 217 | if (!IS_PARFILE) |
206 | 218 | { |
207 | 219 | upper(0); |
@@ -269,7 +281,7 @@ process_input(char *argv0, bool *need_cuda_constructor) |
269 | 281 | AssignAddresses(); /* exp_rte.c */ |
270 | 282 | } |
271 | 283 | } |
272 | | - TR("F90 EXPANDER begins\n"); |
| 284 | + TR(DNAME " EXPANDER begins\n"); |
273 | 285 |
|
274 | 286 | expand(); /* expand ILM's into ILI */ |
275 | 287 | DUMP("expand"); |
@@ -297,14 +309,14 @@ process_input(char *argv0, bool *need_cuda_constructor) |
297 | 309 | rm_smove(); |
298 | 310 | DUMP("rmsmove"); |
299 | 311 |
|
300 | | - TR("F90 SCHEDULER begins\n"); |
| 312 | + TR(DNAME " SCHEDULER begins\n"); |
301 | 313 | DUMP("before-schedule"); |
302 | 314 | schedule(); |
303 | 315 | xtimes[5] += getcpu(); |
304 | 316 | DUMP("schedule"); |
305 | 317 | } /* CUDAG(GBL_CURRFUNC) & CUDA_HOST */ |
306 | 318 | } |
307 | | - TR("F90 ASSEMBLER begins\n"); |
| 319 | + TR(DNAME " ASSEMBLER begins\n"); |
308 | 320 | assemble(); |
309 | 321 | xtimes[6] += getcpu(); |
310 | 322 | upper_save_syminfo(); |
@@ -928,7 +940,7 @@ process_stb_file() |
928 | 940 |
|
929 | 941 | gbl.func_count++; |
930 | 942 |
|
931 | | - TR("F90 STBFILE INPUT begins\n") |
| 943 | + TR(DNAME " STBFILE INPUT begins\n") |
932 | 944 | upper(1); /* should we generate upper_stbfil()? */ |
933 | 945 |
|
934 | 946 | if (gbl.eof_flag) |
|
0 commit comments