3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-17 03:16:18 +00:00

Merge pull request #5172 from YosysHQ/nak/reduce_warning_spam

This commit is contained in:
N. Engelhardt 2025-06-08 06:50:56 +00:00 committed by GitHub
commit 0b19f628e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 1 deletions

View file

@ -2409,7 +2409,14 @@ void RTLIL::Module::check()
// assertion check below to make sure that there are no
// cases where a cell has a blackbox attribute since
// that is deprecated
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
log_assert(!it.second->get_blackbox_attribute());
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
}