https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94437
Bug ID: 94437 Summary: Internal compiler error in avr-g++ Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gatk555 at gmail dot com Target Milestone: --- Created attachment 48158 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48158&action=edit Source code Attempting to compile the attached C++ file (BUG.cpp) produces a report of an internal error: BUG.cpp: In function 'int fetch_byte(FVM::code_P)': BUG.cpp:16:31: internal compiler error: in type_hash_canon, at tree.c:7158 if (ip < (FVM::code_P) FVM::CODE_P_MAX) ^~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. Attachments: BUG.cpp: source code, not a *.ii as the source is self-contained. output: stdout/err output from compilation and "g++-avr -v" bug: short script of commands to produce "output" This is the compiler binary included with the Arduino IDE version 1.8.12. I believe it is standard as the Arduino website does tell you when they have modified source code of other components. Environment: Debian GNU/Linux version 10. Linux oldell 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux