https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69636

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-02-04
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Placing statement "private" explicit in source, reducing a bit,
> then compiling without "-fmodule-private" :

Even simpler

character(1,char_t) function test1()
  test1 = 'A'
end function test1

function_kinds_3_red.f90:1:12:

 character(1,char_t) function test1()
            1
Error: Parameter 'char_t' at (1) has not been declared or is a variable, which
does not reduce to a constant expression
f951: internal compiler error: Segmentation fault: 11

"-fmodule-private" triggers errors for used names not marked as PUBLIC, some
errors in turn may have a recovery problem, hence trigger an ICE.

Reply via email to