This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30432] gfortran.dg/c_by_val_1.f fails on ia64-*-*, problem with %VAL
- From: "sje at cup dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2007 22:37:06 -0000
- Subject: [Bug fortran/30432] gfortran.dg/c_by_val_1.f fails on ia64-*-*, problem with %VAL
- References: <bug-30432-3107@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from sje at cup dot hp dot com 2007-01-12 22:37 -------
Here is a little more information: In the broken case (my small test case with
the initial integer argument), when I call ia64_function_arg (via the
FUNCTION_ARG macro) the named argument has a value of zero. This results in
the floating point argument being put in an integer register. In the working
case (no initial integer argument), named is one and the floating point
argument gets put in a floating point register. I am not sure what triggers
the different value for the named parameter though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30432