This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11884] New: Bad address passed to function with > 8 arguments
- From: "sdowning at fame dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2003 19:27:00 -0000
- Subject: [Bug c/11884] New: Bad address passed to function with > 8 arguments
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11884
Summary: Bad address passed to function with > 8 arguments
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sdowning at fame dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa64-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11
The problem occurs on HP-UX 11i, with the 64-bit gcc build.
The symptom occurs when optimization (-O) is turned on. A wrong
address is being passed to the gets_prt function when arg9 is a
non-int type. The symptom is demonstrated by the fact that the
printf's of the addresses in many_args and gets_ptr are not the same.