Commit c82aa69a by Jim Wilson

(sparc_type_code): Return reasonable result for COMPLEX_TYPE.

From-SVN: r2388
parent 03da3e3b
...@@ -3020,6 +3020,11 @@ sparc_type_code (type) ...@@ -3020,6 +3020,11 @@ sparc_type_code (type)
abort (); abort ();
case COMPLEX_TYPE: /* GNU Fortran COMPLEX type. */ case COMPLEX_TYPE: /* GNU Fortran COMPLEX type. */
/* ??? We need to dinguish between double and float complex types,
but I don't know how yet because I can't reach this code from
existing front-ends. */
return (qualifiers | 7); /* Who knows? */
case CHAR_TYPE: /* GNU Pascal CHAR type. Not used in C. */ case CHAR_TYPE: /* GNU Pascal CHAR type. Not used in C. */
case BOOLEAN_TYPE: /* GNU Fortran BOOLEAN type. */ case BOOLEAN_TYPE: /* GNU Fortran BOOLEAN type. */
case FILE_TYPE: /* GNU Pascal FILE type. */ case FILE_TYPE: /* GNU Pascal FILE type. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment