------- Comment #3 from rguenth at gcc dot gnu dot org  2008-01-13 13:50 -------
The bug is in common_pointer_type (), where we merge the function type
qualifiers (TYPE_READONLY is used for 'const' functions):

  else if (TYPE_P (exp) && TYPE_READONLY (exp) && ! TREE_THIS_VOLATILE (exp))
    flags |= ECF_CONST;

volatile is used as 'noreturn'.


-- 


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

Reply via email to