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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-11-03
                 CC|                            |ebotcazou at gcc dot gnu.org
            Summary|No warning when specifying  |Missing error on
                   |a Default_Component_Value   |Default_Value and
                   |on derived type, resulting  |Default_Component_Value
                   |in unexpected behavior      |aspects specified for
                   |                            |derived type
     Ever confirmed|0                           |1
           Severity|major                       |normal

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
I think this should be flagged as an error as per RM 22.2/3.  Likewise for
Default _Value as per RM 56.3/3, i.e. the rules are actually consistent.

Reply via email to