From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3E718385BF92; Wed, 1 Apr 2020 10:30:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E718385BF92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585737008; bh=+RqTm91Ob5+2yAGdGCtnlsys6u0MdeXhB3uE7R7PG+Q=; h=From:To:Subject:Date:From; b=aI6aOGD4qfwjvCiMKu91fVC23tuLF93TzONQmVdGeYTkryldZyXrCN7xgm9Axk/B+ dOPctQ4YvxF9y6/nEnYK2BM/5H7HmFPyuuLTY7ZFgsTVm9BSabdDwyhQjVdfEl451u ez/zBfA4qlkOX72bhXzE/DnmfuBSL3JYyYDbh4EM= From: "gatk555 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94437] New: Internal compiler error in avr-g++ Date: Wed, 01 Apr 2020 10:30:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gatk555 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2020 10:30:08 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94437 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=3D48158&action=3Dedit 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=