This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
RFC: Renaming 'enum gfc_generic_isym_id'
- From: Daniel Franke <franke dot daniel at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Date: Mon, 28 May 2007 11:57:52 +0200
- Subject: RFC: Renaming 'enum gfc_generic_isym_id'
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=W/aueQaNqKSKsXEsFz4hKrFYpP5ssDQZeaRkcjfJJhp90Bt6hfjSnOhTKtDdZ+3lFk/vAapGJ9xKzgdfWmADeKdog+TAn/5YDMN0hP+ZIHe5/FSmQTQzGqd+zhUSXrbUJzM42tmKSMthb+MHy3gHKA/obguMNWyWSjfLFT82ezg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=MVX/I9n1FmnDGUKhXTItEeEhm7xWKNg2UcaHQrjGoIb5JFQM01JlFjNNi+lBESfUnyRvmHsQw2tNz+pzXHcZvDJXcuCVsirIaWp+2OT6hdc4VRglZ4mWpU/fBRJ/HFWTSfDuR2omx8Nv0kZmOIxy73qohsE4kG3+J5j8pDHBtlw=
Hi all,
in order to fix PR29651 et al., I want to distingiush between intrinsic
subroutines. Currently all subroutines have isym->generic_id == GFC_ISYM_NONE
which is not very helpful in this respect.
To define a unique identifier for any intrinsics, I'd like to propose the
following changes:
(1) rename 'enum gfc_generic_isym_id' to 'enum gfc_isym_id'
(2) add missing intrinsics to 'enum gfc_isym_id'
(3) add an additional 'id' argument to 'add_sym_[012345][s]'
(4) change all callers, add the corresponding 'gfc_isym_id'
(5) rename member 'generic_id' in 'struct gfc_intrinsic_sym' to 'id'
(6) change all callers
As especially (4) takes some time and effort I'd like to know whether there
are any objections to this, maybe an implication I missed?!
Thanks
Daniel