public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/96546] New: [10/11] internal compiler error: in default_conversion
@ 2020-08-10  3:17 anbu1024.me at gmail dot com
  2020-08-10  4:02 ` [Bug c/96546] ICE " marxin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: anbu1024.me at gmail dot com @ 2020-08-10  3:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96546
           Summary: [10/11] internal compiler error: in default_conversion
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anbu1024.me at gmail dot com
  Target Milestone: ---

$ cat test.c 

void foo () {} 

__attribute__ ( ( constructor ( foo ) ) ) void bar () { return 0 ; }

-------------------------------------------------------------------------------

$ gcc-snapshot11 --version
gcc (GCC) 11.0.0 20200802 (experimental)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-------------------------------------------------------------------------------

$ gcc-snapshot11 test.c 
test.c:4:1: internal compiler error: in default_conversion, at
c/c-typeck.c:2185
    4 | __attribute__ ( ( constructor ( foo ) ) ) void bar () { return 0 ; }
      | ^~~~~~~~~~~~~
0x5fcc39 default_conversion(tree_node*)
        ../../gcc-11-20200802/gcc/c/c-typeck.c:2185
0x8d7896 get_priority
        ../../gcc-11-20200802/gcc/c-family/c-attribs.c:1571
0x8d7ace handle_constructor_attribute
        ../../gcc-11-20200802/gcc/c-family/c-attribs.c:1622
0x7e61e7 decl_attributes(tree_node**, tree_node*, int, tree_node*)
        ../../gcc-11-20200802/gcc/attribs.c:714
0x802a35 start_function(c_declspecs*, c_declarator*, tree_node*)
        ../../gcc-11-20200802/gcc/c/c-decl.c:9184
0x85d226 c_parser_declaration_or_fndef
        ../../gcc-11-20200802/gcc/c/c-parser.c:2434
0x866893 c_parser_external_declaration
        ../../gcc-11-20200802/gcc/c/c-parser.c:1773
0x867389 c_parser_translation_unit
        ../../gcc-11-20200802/gcc/c/c-parser.c:1646
0x867389 c_parse_file()
        ../../gcc-11-20200802/gcc/c/c-parser.c:21812
0x8c020d c_common_parse_file()
        ../../gcc-11-20200802/gcc/c-family/c-opts.c:1188
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.

-------------------------------------------------------------------------------

$ gcc-snapshot10 --version
gcc (GCC) 10.2.1 20200725
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-------------------------------------------------------------------------------

$ gcc-snapshot10 test.c 
test.c:4:1: internal compiler error: in default_conversion, at
c/c-typeck.c:2182
    4 | __attribute__ ( ( constructor ( foo ) ) ) void bar () { return 0 ; }
      | ^~~~~~~~~~~~~
0x59e720 default_conversion(tree_node*)
        ../../gcc-10-20200725/gcc/c/c-typeck.c:2182
0x6a61ac get_priority
        ../../gcc-10-20200725/gcc/c-family/c-attribs.c:1571
0x6a7d1f handle_constructor_attribute
        ../../gcc-10-20200725/gcc/c-family/c-attribs.c:1622
0x5e26e5 decl_attributes(tree_node**, tree_node*, int, tree_node*)
        ../../gcc-10-20200725/gcc/attribs.c:714
0x5f94e0 start_function(c_declspecs*, c_declarator*, tree_node*)
        ../../gcc-10-20200725/gcc/c/c-decl.c:9153
0x641be2 c_parser_declaration_or_fndef
        ../../gcc-10-20200725/gcc/c/c-parser.c:2406
0x649723 c_parser_external_declaration
        ../../gcc-10-20200725/gcc/c/c-parser.c:1745
0x64a221 c_parser_translation_unit
        ../../gcc-10-20200725/gcc/c/c-parser.c:1618
0x64a221 c_parse_file()
        ../../gcc-10-20200725/gcc/c/c-parser.c:21745
0x69440b c_common_parse_file()
        ../../gcc-10-20200725/gcc/c-family/c-opts.c:1190
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] 7+ messages in thread

* [Bug c/96546] ICE in default_conversion
  2020-08-10  3:17 [Bug c/96546] New: [10/11] internal compiler error: in default_conversion anbu1024.me at gmail dot com
@ 2020-08-10  4:02 ` marxin at gcc dot gnu.org
  2021-09-20  3:02 ` [Bug c/96546] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-08-10  4:02 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-08-10
     Ever confirmed|0                           |1
            Summary|[10/11] internal compiler   |ICE in default_conversion
                   |error: in                   |
                   |default_conversion          |
                 CC|                            |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
All releases I have ICE (4.8.0+).

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

* [Bug c/96546] [9/10/11/12 Regression] ICE in default_conversion
  2020-08-10  3:17 [Bug c/96546] New: [10/11] internal compiler error: in default_conversion anbu1024.me at gmail dot com
  2020-08-10  4:02 ` [Bug c/96546] ICE " marxin at gcc dot gnu.org
@ 2021-09-20  3:02 ` pinskia at gcc dot gnu.org
  2022-01-21 13:27 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20  3:02 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.8.0
           Keywords|                            |ice-on-invalid-code
   Target Milestone|---                         |9.5
            Summary|ICE in default_conversion   |[9/10/11/12 Regression] ICE
                   |                            |in default_conversion
      Known to work|                            |4.5.3, 4.6.4, 4.7.1, 4.7.4

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC 4.7.x did not ICE

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

* [Bug c/96546] [9/10/11/12 Regression] ICE in default_conversion
  2020-08-10  3:17 [Bug c/96546] New: [10/11] internal compiler error: in default_conversion anbu1024.me at gmail dot com
  2020-08-10  4:02 ` [Bug c/96546] ICE " marxin at gcc dot gnu.org
  2021-09-20  3:02 ` [Bug c/96546] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org
@ 2022-01-21 13:27 ` rguenth at gcc dot gnu.org
  2022-05-27  9:43 ` [Bug c/96546] [10/11/12/13 " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-21 13:27 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

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

* [Bug c/96546] [10/11/12/13 Regression] ICE in default_conversion
  2020-08-10  3:17 [Bug c/96546] New: [10/11] internal compiler error: in default_conversion anbu1024.me at gmail dot com
                   ` (2 preceding siblings ...)
  2022-01-21 13:27 ` rguenth at gcc dot gnu.org
@ 2022-05-27  9:43 ` rguenth at gcc dot gnu.org
  2022-06-28 10:41 ` jakub at gcc dot gnu.org
  2023-07-07  6:09 ` [Bug c/96546] [10/11/12/13/14 " pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  9:43 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.5                         |10.4

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed

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

* [Bug c/96546] [10/11/12/13 Regression] ICE in default_conversion
  2020-08-10  3:17 [Bug c/96546] New: [10/11] internal compiler error: in default_conversion anbu1024.me at gmail dot com
                   ` (3 preceding siblings ...)
  2022-05-27  9:43 ` [Bug c/96546] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:41 ` jakub at gcc dot gnu.org
  2023-07-07  6:09 ` [Bug c/96546] [10/11/12/13/14 " pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:41 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

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

* [Bug c/96546] [10/11/12/13/14 Regression] ICE in default_conversion
  2020-08-10  3:17 [Bug c/96546] New: [10/11] internal compiler error: in default_conversion anbu1024.me at gmail dot com
                   ` (4 preceding siblings ...)
  2022-06-28 10:41 ` jakub at gcc dot gnu.org
@ 2023-07-07  6:09 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-07  6:09 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed for GCC 13 and is a dup of bug 90658.

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

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

end of thread, other threads:[~2023-07-07  6:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10  3:17 [Bug c/96546] New: [10/11] internal compiler error: in default_conversion anbu1024.me at gmail dot com
2020-08-10  4:02 ` [Bug c/96546] ICE " marxin at gcc dot gnu.org
2021-09-20  3:02 ` [Bug c/96546] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org
2022-01-21 13:27 ` rguenth at gcc dot gnu.org
2022-05-27  9:43 ` [Bug c/96546] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:41 ` jakub at gcc dot gnu.org
2023-07-07  6:09 ` [Bug c/96546] [10/11/12/13/14 " 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).