This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/3003: Incorrect coding in file gcc/cpphash.c
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/3003: Incorrect coding in file gcc/cpphash.c
- From: Andreas dot Krakowczyk at fujitsu-siemens dot com
- Date: 30 May 2001 15:08:42 -0000
- Reply-To: Andreas dot Krakowczyk at fujitsu-siemens dot com
>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: