------- Comment #8 from pault at gcc dot gnu dot org  2008-02-05 12:57 -------
I just noticed that this is due to incorrect or non-existent type/kind checking
in the constructor 'mytype'.  With -fdefault-integer-8, yy has KIND=8, whereas
the corresponding component has KIND=4, as given by the declaration. The
runtime segfault is an obvious outcome.

Is the correct thing to throw an error or to quietly do the conversion?

Paul


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34143

Reply via email to