public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100544] New: ICE: in default_conversion, at c/c-typeck.c:2242
@ 2021-05-11 20:48 cnsun at uwaterloo dot ca
  2021-05-12  9:36 ` [Bug c/100544] ICE: in default_conversion with destructor attribute at the top level marxin at gcc dot gnu.org
  2024-03-23 22:34 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: cnsun at uwaterloo dot ca @ 2021-05-11 20:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100544
           Summary: ICE: in default_conversion, at c/c-typeck.c:2242
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cnsun at uwaterloo dot ca
  Target Milestone: ---

This might be a duplicate of PR 90658

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /tmp/tmp.FUbEknNORK-gcc-builder/gcc/configure
--enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch
--prefix=/scratch/software/gcc-trunk --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20210511 (experimental) [master revision
:7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC)

$ cat mutant.c
void A();
void fn4() __attribute__((destructor(A)));

$ gcc-trunk  mutant.c
mutant.c:2:1: internal compiler error: in default_conversion, at
c/c-typeck.c:2242
    2 | void fn4() __attribute__((destructor(A)));
      | ^~~~
0x6415e4 default_conversion(tree_node*)
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/c/c-typeck.c:2242
0x9c5a4a get_priority
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/c-family/c-attribs.c:1824
0x9c7af1 handle_destructor_attribute
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/c-family/c-attribs.c:1905
0x8c9f06 decl_attributes(tree_node**, tree_node*, int, tree_node*)
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/attribs.c:723
0x8e63ae start_decl(c_declarator*, c_declspecs*, bool, tree_node*, unsigned
int*)
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/c/c-decl.c:5198
0x94314d c_parser_declaration_or_fndef
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/c/c-parser.c:2302
0x94b9d3 c_parser_external_declaration
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/c/c-parser.c:1777
0x94c439 c_parser_translation_unit
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/c/c-parser.c:1650
0x94c439 c_parse_file()
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/c/c-parser.c:21984
0x9ac765 c_common_parse_file()
        /tmp/tmp.FUbEknNORK-gcc-builder/gcc/gcc/c-family/c-opts.c:1218
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

* [Bug c/100544] ICE: in default_conversion with destructor attribute at the top level
  2021-05-11 20:48 [Bug c/100544] New: ICE: in default_conversion, at c/c-typeck.c:2242 cnsun at uwaterloo dot ca
@ 2021-05-12  9:36 ` marxin at gcc dot gnu.org
  2024-03-23 22:34 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-12  9:36 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-05-12
     Ever confirmed|0                           |1
                 CC|                            |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

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

* [Bug c/100544] ICE: in default_conversion with destructor attribute at the top level
  2021-05-11 20:48 [Bug c/100544] New: ICE: in default_conversion, at c/c-typeck.c:2242 cnsun at uwaterloo dot ca
  2021-05-12  9:36 ` [Bug c/100544] ICE: in default_conversion with destructor attribute at the top level marxin at gcc dot gnu.org
@ 2024-03-23 22:34 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-23 22:34 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |13.0
         Resolution|---                         |DUPLICATE

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It is a dup.

*** This bug has been marked as a duplicate of bug 90658 ***

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

end of thread, other threads:[~2024-03-23 22:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 20:48 [Bug c/100544] New: ICE: in default_conversion, at c/c-typeck.c:2242 cnsun at uwaterloo dot ca
2021-05-12  9:36 ` [Bug c/100544] ICE: in default_conversion with destructor attribute at the top level marxin at gcc dot gnu.org
2024-03-23 22:34 ` 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).