Re-enable fnspec checking once fortran frontend is fixed.
authorJan Hubicka <jh@suse.cz>
Tue, 27 Oct 2020 09:23:46 +0000 (10:23 +0100)
committerJan Hubicka <jh@suse.cz>
Tue, 27 Oct 2020 09:23:46 +0000 (10:23 +0100)
* tree-ssa-alias.c (attr_fnspec::verify): Re-enabl checking.

gcc/tree-ssa-alias.c

index bc0f32a774ad249c4cbdda23e815648203218550..fe84baf461bfd12d2806ec33249290375a2988fd 100644 (file)
@@ -3781,10 +3781,7 @@ attr_fnspec::verify ()
   else if ((len - return_desc_size) % arg_desc_size)
     err = true;
   else if ((str[0] < '1' || str[0] > '4')
-          && str[0] != '.' && str[0] != 'm'
-          /* FIXME: Fortran trans-decl.c contains multiple wrong fnspec
-             strings.  The following characters have no meaning.  */
-          && str[0] != 'R' && str[0] != 'W')
+          && str[0] != '.' && str[0] != 'm')
     err = true;
 
   switch (str[1])