target/8262: x86_64 incompatible types in assignment when copying objects of type va_list

jkain@nvidia.com jkain@nvidia.com
Thu Oct 17 12:06:00 GMT 2002


>Number:         8262
>Category:       target
>Synopsis:       x86_64 incompatible types in assignment when copying objects of type va_list
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 17 12:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     jkain@nvidia.com
>Release:        gcc version 3.2
>Organization:
>Environment:
AMD K8
SuSE Linux 8.1 Beta
Linux Kernel 2.4.19
>Description:
When gcc 3.2 is used to compile the attached program it incorrectly gives the error:

varargs.c: In function `my_printf':
varargs.c:14: incompatible types in assignment
>How-To-Repeat:
gcc -o varargs varargs.c
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-bzip2; name="varargs.tar.bz2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="varargs.tar.bz2"

QlpoOTFBWSZTWf/lSjsAJkL/xfy0/1td////f+/fev////oABAABAQAACGAXHvKAad9LcltAO7s7
dq652Uc2tqzLFe3g294It691RxYPXCDpkAqqaHWuu3vb0F7YvHrjhIlNRoZGEJlT9I009TKZkZTN
Bqaeo9R6NDU09TQABo0HqYm1NBKaECEqfpPKnmij9U9TNT1BkANBoAD1DQAAAAAA4AGgaAaGgAAG
mIaNNAAAAGhkAAGEKSJGiZGpsjSR6m1DQeoGgDTT1DQaAAAZHqBoNDQESiAKFP1NQ3knpTbVNk9U
00DygwgAAaA0A0AyAAEiITQCmCNJkApvVT9GSn5RGymmRoAAAAAB6gPUz/vqTH6+79He8Xqh5V9y
TFFmQKPFFoBy+RfTCy5OVDeTgUfM5OS68E4pyklxEhZoSQxEMxZA1IUESXtdPs5sn8v+4JrYM908
t9QQN7Hrk7LdYVpz+dzYAIHnidmKMgkIqUhQlJifRM92TUmxlYsUQUtXrfWzVUQUFtjgQeCM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