public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/94437] New: Internal compiler error in avr-g++
@ 2020-04-01 10:30 gatk555 at gmail dot com
  2020-04-01 10:31 ` [Bug c++/94437] " gatk555 at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gatk555 at gmail dot com @ 2020-04-01 10:30 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-10-01  9:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 10:30 [Bug c++/94437] New: Internal compiler error in avr-g++ gatk555 at gmail dot com
2020-04-01 10:31 ` [Bug c++/94437] " gatk555 at gmail dot com
2020-04-01 10:32 ` gatk555 at gmail dot com
2020-04-01 10:35 ` gatk555 at gmail dot com
2020-04-01 10:45 ` [Bug target/94437] " pinskia at gcc dot gnu.org
2020-04-01 12:41 ` marxin at gcc dot gnu.org
2020-04-01 13:01 ` rguenth at gcc dot gnu.org
2020-04-01 19:00 ` gatk555 at gmail dot com
2020-04-02  7:23 ` gatk555 at gmail dot com
2021-10-01  9:58 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).