]> git.ipfire.org Git - thirdparty/gcc.git/commit
fortran: Add default to switch in gfc_trans_transfer [PR117843]
authorAndrew Pinski <quic_apinski@quicinc.com>
Fri, 29 Nov 2024 09:00:11 +0000 (01:00 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Fri, 29 Nov 2024 09:17:34 +0000 (01:17 -0800)
commit48b72743b0e29871171593fe34856da62d954750
tree48bfe1fbcd8a5d1e4e134a2b04f59c885a5419bc
parent70f7c603da67adff13e41831ab8ec4e2f6fadc2c
fortran: Add default to switch in gfc_trans_transfer [PR117843]

This fixes a bootstrap failure due to a warning on enum values not being
handled. In this case, it is just checking two values and the rest should
are not handled so adding a default case fixes the issue.

Pushed as obvious.

PR fortran/117843
gcc/fortran/ChangeLog:

* trans-io.cc (gfc_trans_transfer): Add default case.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/fortran/trans-io.cc