This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
2004-06-05 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> Andrew Vaught <andyv@firstinter.net>
* check.c (gfc_check_minloc_maxloc): Take argument list insted of individual arguments, reorder if necessary. * intrinsic.h (gfc_check_minloc_maxloc): ... adapt prototype. * intrinsic.c (add_functions): Special treatment for MINLOC, MAXLOC, pass check function as (void *). (check_specific): Catch special case MINLOC, MAXLOC.
You can't typecast a function pointer to (void *), it will break on targets that use function descriptors (eg. ia64). You'll need to figure out another way of doing this. Maybe add a new variant of add_sym_3, (similar to gfc_add_sym_3s).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |