https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87519
Bug ID: 87519 Summary: -Wsign-conversion erroneosly triggered when converting to auto-deduced interger type Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fefer.ivan at gmail dot com Target Milestone: --- Created attachment 44785 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44785&action=edit Minimal source code that triggers the bug Version and system: gcc version 7.3.0 (Ubuntu 7.3.0-21ubuntu1~16.04) Command line: gcc -v -save-temps -Werror -Wsign-conversion --std=c++17 bug.cpp Full source code and