public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/9399: bootstrap failure in gtype-desc.c (missing casts?) on mips-sgi-irix6.5
@ 2003-02-03 12:58 reichelt
  0 siblings, 0 replies; 2+ messages in thread
From: reichelt @ 2003-02-03 12:58 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, reichelt

Synopsis: bootstrap failure in gtype-desc.c (missing casts?) on mips-sgi-irix6.5

State-Changed-From-To: open->closed
State-Changed-By: reichelt
State-Changed-When: Mon Feb  3 12:58:27 2003
State-Changed-Why:
    Seems to be fixed.
    
    Probably by the following patch:
    http://gcc.gnu.org/ml/gcc-patches/2003-01/msg02523.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9399


^ permalink raw reply	[flat|nested] 2+ messages in thread

* bootstrap/9399: bootstrap failure in gtype-desc.c (missing casts?) on mips-sgi-irix6.5
@ 2003-01-22  9:16 reichelt
  0 siblings, 0 replies; 2+ messages in thread
From: reichelt @ 2003-01-22  9:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         9399
>Category:       bootstrap
>Synopsis:       bootstrap failure in gtype-desc.c (missing casts?) on mips-sgi-irix6.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 22 09:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Reichelt
>Release:        gcc 3.4-20030116
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
When bootstrapping mainline on mips-sgi-irix6.5 with
SGI's native compiler, I get the following error:

===========================================================
cc -c   -g  -DIN_GCC     -DHAVE_CONFIG_H    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include gtype-desc.c -o gtype-desc.o
cc-1164 cc: ERROR File = gtype-desc.c, Line = 1013
  Argument of type "splay_tree_value" is incompatible with parameter of type
          "void *".

        gt_ggc_m_9tree_node ((*x).value);
        ^

cc-1164 cc: ERROR File = gtype-desc.c, Line = 2139
  Argument of type "splay_tree_key" is incompatible with parameter of type
          "const void *".

        gt_pch_n_S ((*x).key);
                    ^

cc-1164 cc: ERROR File = gtype-desc.c, Line = 2140
  Argument of type "splay_tree_value" is incompatible with parameter of type
          "void *".

        gt_pch_n_9tree_node ((*x).value);
        ^

cc-1174 cc: WARNING File = gtype-desc.c, Line = 2388
  The variable "x" was declared but never referenced.

    struct real_value * const x ATTRIBUTE_UNUSED = (struct real_value *)x_p;
                              ^

3 errors detected in the compilation of "gtype-desc.c".
gmake[2]: *** [gtype-desc.o] Error 2
gmake[2]: Leaving directory `/USR/people/reichelt/rrr/build/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/USR/people/reichelt/rrr/build/gcc'
gmake: *** [bootstrap-lean] Error 2
===========================================================

If I add explicit casts to "void*" for the three arguments,
the bootstrap is performed without errors.
I'm not sure, however, if that's a correct fix.

Maybe it's not even gcc's fault, but a bug in SGI's
compiler. But even then: if it prevents bootstrapping,
there should be a workaround.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-03 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-03 12:58 bootstrap/9399: bootstrap failure in gtype-desc.c (missing casts?) on mips-sgi-irix6.5 reichelt
  -- strict thread matches above, loose matches on Subject: below --
2003-01-22  9:16 reichelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).