public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/102416] New: [12 Regression] ICE in gimplify_expr, at gimplify.c:15570
@ 2021-09-20 19:05 gscfq@t-online.de
  2021-09-20 19:43 ` [Bug c/102416] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gscfq@t-online.de @ 2021-09-20 19:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102416
           Summary: [12 Regression] ICE in gimplify_expr, at
                    gimplify.c:15570
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20210523 and 20210530 :


$ cat z1.c
void *f ()
{
  #pragma omp task affinity(f()[2])
  ;
}


$ cat z2.c
void f ()
{
  struct S *x;
  #pragma omp task affinity(*x)
  ;
}


$ gcc-12-20210919 -c z1.c -fopenmp
z1.c: In function 'f':
z1.c:3:32: warning: dereferencing 'void *' pointer
    3 |   #pragma omp task affinity(f()[2])
      |                                ^
z1.c:3:28: warning: dereferencing 'void *' pointer
    3 |   #pragma omp task affinity(f()[2])
      |                            ^
z1.c:3:28: internal compiler error: in gimplify_expr, at gimplify.c:15570
0x960cc4 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:15570
0x9581e4 gimplify_omp_affinity
        ../../gcc/gimplify.c:8105
0x9581e4 gimplify_scan_omp_clauses
        ../../gcc/gimplify.c:9924
0x95dbeb gimplify_omp_task
        ../../gcc/gimplify.c:11814
0x95dbeb gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:15062
0x960cf8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:7006
0x961251 gimplify_bind_expr
        ../../gcc/gimplify.c:1426
0x95ecca gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gimplify.c:14769
0x960cf8 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gimplify.c:7006
0x961d6b gimplify_body(tree_node*, bool)
        ../../gcc/gimplify.c:15814
0x9621bf gimplify_function_tree(tree_node*)
        ../../gcc/gimplify.c:15968
0x7eaf97 cgraph_node::analyze()
        ../../gcc/cgraphunit.c:670
0x7ed8e7 analyze_functions
        ../../gcc/cgraphunit.c:1234
0x7ee2ad symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2508

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

* [Bug c/102416] [12 Regression] ICE in gimplify_expr, at gimplify.c:15570
  2021-09-20 19:05 [Bug c/102416] New: [12 Regression] ICE in gimplify_expr, at gimplify.c:15570 gscfq@t-online.de
@ 2021-09-20 19:43 ` pinskia at gcc dot gnu.org
  2021-09-27 13:06 ` [Bug c/102416] ICE in gimplify_expr, at gimplify.c:15570 since r12-1108-g9a5de4d5af1c10a8 marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20 19:43 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

* [Bug c/102416] ICE in gimplify_expr, at gimplify.c:15570 since r12-1108-g9a5de4d5af1c10a8
  2021-09-20 19:05 [Bug c/102416] New: [12 Regression] ICE in gimplify_expr, at gimplify.c:15570 gscfq@t-online.de
  2021-09-20 19:43 ` [Bug c/102416] " pinskia at gcc dot gnu.org
@ 2021-09-27 13:06 ` marxin at gcc dot gnu.org
  2022-05-06  8:31 ` jakub at gcc dot gnu.org
  2023-05-08 12:22 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-27 13:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-09-27
            Summary|[12 Regression] ICE in      |ICE in gimplify_expr, at
                   |gimplify_expr, at           |gimplify.c:15570 since
                   |gimplify.c:15570            |r12-1108-g9a5de4d5af1c10a8
     Ever confirmed|0                           |1
      Known to fail|                            |12.0

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r12-1108-g9a5de4d5af1c10a8. Not a regression as 'affinity' was
rejected before that revision.

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

* [Bug c/102416] ICE in gimplify_expr, at gimplify.c:15570 since r12-1108-g9a5de4d5af1c10a8
  2021-09-20 19:05 [Bug c/102416] New: [12 Regression] ICE in gimplify_expr, at gimplify.c:15570 gscfq@t-online.de
  2021-09-20 19:43 ` [Bug c/102416] " pinskia at gcc dot gnu.org
  2021-09-27 13:06 ` [Bug c/102416] ICE in gimplify_expr, at gimplify.c:15570 since r12-1108-g9a5de4d5af1c10a8 marxin at gcc dot gnu.org
@ 2022-05-06  8:31 ` jakub at gcc dot gnu.org
  2023-05-08 12:22 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-05-06  8:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.0                        |12.2

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 12.1 is being released, retargeting bugs to GCC 12.2.

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

* [Bug c/102416] ICE in gimplify_expr, at gimplify.c:15570 since r12-1108-g9a5de4d5af1c10a8
  2021-09-20 19:05 [Bug c/102416] New: [12 Regression] ICE in gimplify_expr, at gimplify.c:15570 gscfq@t-online.de
                   ` (2 preceding siblings ...)
  2022-05-06  8:31 ` jakub at gcc dot gnu.org
@ 2023-05-08 12:22 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-05-08 12:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.3                        |12.4

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 12.3 is being released, retargeting bugs to GCC 12.4.

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

end of thread, other threads:[~2023-05-08 12:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20 19:05 [Bug c/102416] New: [12 Regression] ICE in gimplify_expr, at gimplify.c:15570 gscfq@t-online.de
2021-09-20 19:43 ` [Bug c/102416] " pinskia at gcc dot gnu.org
2021-09-27 13:06 ` [Bug c/102416] ICE in gimplify_expr, at gimplify.c:15570 since r12-1108-g9a5de4d5af1c10a8 marxin at gcc dot gnu.org
2022-05-06  8:31 ` jakub at gcc dot gnu.org
2023-05-08 12:22 ` rguenth 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).