c/3003: Incorrect coding in file gcc/cpphash.c

Andreas.Krakowczyk@fujitsu-siemens.com Andreas.Krakowczyk@fujitsu-siemens.com
Wed May 30 08:16:00 GMT 2001


>Number:         3003
>Category:       c
>Synopsis:       Incorrect coding in file gcc/cpphash.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed May 30 08:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Krakowczyk
>Release:        gcc-20010528
>Organization:
>Environment:
mips-sni-sysv4
>Description:
File gcc/cpphash.c, line 164, code might be not portable:
'a value of type "char *" cannot be assigned to an entity of type "cpp_hashnode *"'

entries[index] = obstack_alloc (pfile->hash_ob, sizeof(cpp_hashnode));
>How-To-Repeat:
during build of gnu compiler
>Fix:

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



More information about the Gcc-bugs mailing list