Message ID | 2567679.VrDbuXkVer@polaris |
---|---|
State | New |
Headers | show |
Series | [Ada] Fix PR ada/82813 | expand |
Index: gcc-interface/misc.c =================================================================== --- gcc-interface/misc.c (revision 258411) +++ gcc-interface/misc.c (working copy) @@ -265,6 +265,9 @@ gnat_post_options (const char **pfilenam /* No return type warnings for Ada. */ warn_return_type = 0; + /* No string overflow warnings for Ada. */ + warn_stringop_overflow = 0; + /* No caret by default for Ada. */ if (!global_options_set.x_flag_diagnostics_show_caret) global_dc->show_caret = false;