Bug creation and email sending has been disabled, file new bugs at gcc.gnu.org/bugzilla
View | Details | Raw Unified | Return to bug 3
Collapse All | Expand All

(-)a/gcc/d/d-lang.cc (-9 / +9 lines)
Lines 769-776 d_parse_file (void) Link Here
769
{
769
{
770
  if (global.params.verbose)
770
  if (global.params.verbose)
771
    {
771
    {
772
      fprintf (stdmsg, "binary    %s\n", global.params.argv0);
772
      printf ("binary    %s\n", global.params.argv0);
773
      fprintf (stdmsg, "version   %s\n", global.version);
773
      printf ("version   %s\n", global.version);
774
    }
774
    }
775
775
776
  if (global.params.useUnitTests)
776
  if (global.params.useUnitTests)
Lines 894-900 d_parse_file (void) Link Here
894
    {
894
    {
895
      m = modules[i];
895
      m = modules[i];
896
      if (global.params.verbose)
896
      if (global.params.verbose)
897
	fprintf (stdmsg, "parse     %s\n", m->toChars());
897
	printf ("parse     %s\n", m->toChars());
898
      if (!Module::rootModule)
898
      if (!Module::rootModule)
899
	Module::rootModule = m;
899
	Module::rootModule = m;
900
      m->importedFrom = m;
900
      m->importedFrom = m;
Lines 931-937 d_parse_file (void) Link Here
931
	  if (fonly_arg && m != output_module)
931
	  if (fonly_arg && m != output_module)
932
	    continue;
932
	    continue;
933
	  if (global.params.verbose)
933
	  if (global.params.verbose)
934
	    fprintf (stdmsg, "import    %s\n", m->toChars());
934
	    printf ("import    %s\n", m->toChars());
935
	  m->genhdrfile();
935
	  m->genhdrfile();
936
	}
936
	}
937
    }
937
    }
Lines 944-950 d_parse_file (void) Link Here
944
    {
944
    {
945
      m = modules[i];
945
      m = modules[i];
946
      if (global.params.verbose)
946
      if (global.params.verbose)
947
	fprintf (stdmsg, "importall %s\n", m->toChars());
947
	printf ("importall %s\n", m->toChars());
948
      m->importAll (0);
948
      m->importAll (0);
949
    }
949
    }
950
950
Lines 956-962 d_parse_file (void) Link Here
956
    {
956
    {
957
      m = modules[i];
957
      m = modules[i];
958
      if (global.params.verbose)
958
      if (global.params.verbose)
959
	fprintf (stdmsg, "semantic  %s\n", m->toChars());
959
	printf ("semantic  %s\n", m->toChars());
960
      m->semantic();
960
      m->semantic();
961
    }
961
    }
962
962
Lines 971-977 d_parse_file (void) Link Here
971
    {
971
    {
972
      m = modules[i];
972
      m = modules[i];
973
      if (global.params.verbose)
973
      if (global.params.verbose)
974
	fprintf (stdmsg, "semantic2 %s\n", m->toChars());
974
	printf ("semantic2 %s\n", m->toChars());
975
      m->semantic2();
975
      m->semantic2();
976
    }
976
    }
977
977
Lines 983-989 d_parse_file (void) Link Here
983
    {
983
    {
984
      m = modules[i];
984
      m = modules[i];
985
      if (global.params.verbose)
985
      if (global.params.verbose)
986
	fprintf (stdmsg, "semantic3 %s\n", m->toChars());
986
	printf ("semantic3 %s\n", m->toChars());
987
      m->semantic3();
987
      m->semantic3();
988
    }
988
    }
989
989
Lines 1075-1081 d_parse_file (void) Link Here
1075
      if (fonly_arg && m != output_module)
1075
      if (fonly_arg && m != output_module)
1076
	continue;
1076
	continue;
1077
      if (global.params.verbose)
1077
      if (global.params.verbose)
1078
	fprintf (stdmsg, "code      %s\n", m->toChars());
1078
	printf ("code      %s\n", m->toChars());
1079
      if (!flag_syntax_only)
1079
      if (!flag_syntax_only)
1080
	{
1080
	{
1081
	  Obj::init ();
1081
	  Obj::init ();
(-)a/gcc/d/d-objfile.cc (-1 / +1 lines)
Lines 56-62 FuncDeclaration::toObjFile (int) Link Here
56
    }
56
    }
57
57
58
  if (global.params.verbose)
58
  if (global.params.verbose)
59
    fprintf (stdmsg, "function  %s\n", this->toPrettyChars());
59
    printf ("function  %s\n", this->toPrettyChars());
60
60
61
  IRState *irs = current_irs->startFunction (this);
61
  IRState *irs = current_irs->startFunction (this);
62
62
(-)a/gcc/d/dfrontend/attrib.c (-2 / +2 lines)
Lines 1010-1016 void PragmaDeclaration::semantic(Scope *sc) Link Here
1010
                char *name = (char *)mem.malloc(se->len + 1);
1010
                char *name = (char *)mem.malloc(se->len + 1);
1011
                memcpy(name, se->string, se->len);
1011
                memcpy(name, se->string, se->len);
1012
                name[se->len] = 0;
1012
                name[se->len] = 0;
1013
                fprintf(stdmsg, "library   %s\n", name);
1013
                printf("library   %s\n", name);
1014
                mem.free(name);
1014
                mem.free(name);
1015
            }
1015
            }
1016
        }
1016
        }
Lines 1041-1047 void PragmaDeclaration::semantic(Scope *sc) Link Here
1041
        {
1041
        {
1042
            /* Print unrecognized pragmas
1042
            /* Print unrecognized pragmas
1043
             */
1043
             */
1044
            fprintf(stdmsg, "pragma    %s", ident->toChars());
1044
            printf("pragma    %s", ident->toChars());
1045
            if (args)
1045
            if (args)
1046
            {
1046
            {
1047
                for (size_t i = 0; i < args->dim; i++)
1047
                for (size_t i = 0; i < args->dim; i++)
(-)a/gcc/d/dfrontend/expression.c (-1 / +1 lines)
Lines 6547-6553 Expression *FileExp::semantic(Scope *sc) Link Here
6547
    }
6552
    }
6548
6553
6549
    if (global.params.verbose)
6554
    if (global.params.verbose)
6550
        fprintf(stdmsg, "file      %s\t(%s)\n", (char *)se->string, name);
6555
        printf("file      %s\t(%s)\n", (char *)se->string, name);
6551
6556
6552
    {   File f(name);
6557
    {   File f(name);
6553
        if (f.read())
6558
        if (f.read())
(-)a/gcc/d/dfrontend/json.c (-1 / +1 lines)
Lines 83-89 void json_generate(OutBuffer *buf, Modules *modules) Link Here
83
    for (size_t i = 0; i < modules->dim; i++)
83
    for (size_t i = 0; i < modules->dim; i++)
84
    {   Module *m = (*modules)[i];
84
    {   Module *m = (*modules)[i];
85
        if (global.params.verbose)
85
        if (global.params.verbose)
86
            fprintf(stdmsg, "json gen %s\n", m->toChars());
86
            printf("json gen %s\n", m->toChars());
87
        m->toJson(&json);
87
        m->toJson(&json);
88
    }
88
    }
89
    json.arrayEnd();
89
    json.arrayEnd();
(-)a/gcc/d/dfrontend/module.c (-3 / +3 lines)
Lines 258-272 Module *Module::load(Loc loc, Identifiers *packages, Identifier *ident) Link Here
258
258
259
    if (global.params.verbose)
259
    if (global.params.verbose)
260
    {
260
    {
261
        fprintf(stdmsg, "import    ");
261
        printf("import    ");
262
        if (packages)
262
        if (packages)
263
        {
263
        {
264
            for (size_t i = 0; i < packages->dim; i++)
264
            for (size_t i = 0; i < packages->dim; i++)
265
            {   Identifier *pid = (*packages)[i];
265
            {   Identifier *pid = (*packages)[i];
266
                fprintf(stdmsg, "%s.", pid->toChars());
266
                printf("%s.", pid->toChars());
267
            }
267
            }
268
        }
268
        }
269
        fprintf(stdmsg, "%s\t(%s)\n", ident->toChars(), m->srcfile->toChars());
269
        printf("%s\t(%s)\n", ident->toChars(), m->srcfile->toChars());
270
    }
270
    }
271
271
272
    if (!m->read(loc))
272
    if (!m->read(loc))

Return to bug 3