re PR fortran/60543 (Function with side effect removed by the optimizer.)
[official-gcc.git] / boehm-gc / add_gc_prefix.c
blob59515c7866e2506c80d829ae57968f063bb5e578
1 # include <stdio.h>
2 # include "version.h"
4 int main(argc, argv, envp)
5 int argc;
6 char ** argv;
7 char ** envp;
9 int i;
11 for (i = 1; i < argc; i++) {
12 if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
13 printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]);
14 } else {
15 printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR,
16 GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]);
19 return(0);