public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gatk555 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/94437] Internal compiler error in avr-g++
Date: Wed, 01 Apr 2020 19:00:12 +0000	[thread overview]
Message-ID: <bug-94437-4-Y7gqcBcjg3@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-94437-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94437

Giles Atkinson <gatk555 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |9.3.0

--- Comment #6 from Giles Atkinson <gatk555 at gmail dot com> ---
Also confirmed in 9.3.0.  I only just saw Comment #5, as I was busy building
the newer compiler!

ga@oldell:~/gcc/avr/bin$ ./avr-g++ -c
~/Arduino/sketches/libraries/BUG/src/BUG.cpp
/home/ga/Arduino/sketches/libraries/BUG/src/BUG.cpp: In function ‘int
fetch_byte(FVM::code_P)’:
/home/ga/Arduino/sketches/libraries/BUG/src/BUG.cpp:16:31: internal compiler
error: in type_hash_canon, at tree.c:7072
   16 |   if (ip < (FVM::code_P) FVM::CODE_P_MAX)
      |                               ^~~~~~~~~~
0x58bbe3 type_hash_canon(unsigned int, tree_node*)
        ../../gcc-9.3.0/gcc/tree.c:7071
0x6f53da build_type_attribute_qual_variant(tree_node*, tree_node*, int)
        ../../gcc-9.3.0/gcc/attribs.c:1157
0x6f53da build_type_attribute_qual_variant(tree_node*, tree_node*, int)
        ../../gcc-9.3.0/gcc/attribs.c:1122
0x6e308f cp_build_binary_op(op_location_t const&, tree_code, tree_node*,
tree_node*, int)
        ../../gcc-9.3.0/gcc/cp/typeck.c:5233
0x5ac4b6 build_new_op_1
        ../../gcc-9.3.0/gcc/cp/call.c:6244
0x5acc5f build_new_op(op_location_t const&, tree_code, int, tree_node*,
tree_node*, tree_node*, tree_node**, int)
        ../../gcc-9.3.0/gcc/cp/call.c:6288
0x6db536 build_x_binary_op(op_location_t const&, tree_code, tree_node*,
tree_code, tree_node*, tree_code, tree_node**, int)
        ../../gcc-9.3.0/gcc/cp/typeck.c:4189
0x64e52c cp_parser_binary_expression
        ../../gcc-9.3.0/gcc/cp/parser.c:9624
0x64f129 cp_parser_assignment_expression
        ../../gcc-9.3.0/gcc/cp/parser.c:9759
0x64f492 cp_parser_expression
        ../../gcc-9.3.0/gcc/cp/parser.c:9926
0x673104 cp_parser_condition
        ../../gcc-9.3.0/gcc/cp/parser.c:12153
0x65d47f cp_parser_selection_statement
        ../../gcc-9.3.0/gcc/cp/parser.c:11808
0x65d47f cp_parser_statement
        ../../gcc-9.3.0/gcc/cp/parser.c:11186
0x65e410 cp_parser_statement_seq_opt
        ../../gcc-9.3.0/gcc/cp/parser.c:11667
0x65e4bf cp_parser_compound_statement
        ../../gcc-9.3.0/gcc/cp/parser.c:11621
0x67299a cp_parser_function_body
        ../../gcc-9.3.0/gcc/cp/parser.c:22703
0x67299a cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc-9.3.0/gcc/cp/parser.c:22754
0x675186 cp_parser_function_definition_after_declarator
        ../../gcc-9.3.0/gcc/cp/parser.c:27883
0x675e78 cp_parser_function_definition_from_specifiers_and_declarator
        ../../gcc-9.3.0/gcc/cp/parser.c:27799
0x675e78 cp_parser_init_declarator
        ../../gcc-9.3.0/gcc/cp/parser.c:20328
Please submit a full bug report,


ga@oldell:~/gcc/avr/bin$ ./avr-g++ -v
Using built-in specs.
Reading specs from /home/ga/gcc/avr/lib/gcc/avr/9.3.0/device-specs/specs-avr2
COLLECT_GCC=./avr-g++
COLLECT_LTO_WRAPPER=/home/ga/gcc/avr/libexec/gcc/avr/9.3.0/lto-wrapper
Target: avr
Configured with: ../gcc-9.3.0/configure --target=avr --prefix=/home/ga/gcc/avr
--host=x86_64-pc-linux-gnu
Thread model: single
gcc version 9.3.0 (GCC)

  parent reply	other threads:[~2020-04-01 19:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-01 10:30 [Bug c++/94437] New: " 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 [this message]
2020-04-02  7:23 ` gatk555 at gmail dot com
2021-10-01  9:58 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-94437-4-Y7gqcBcjg3@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).