public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95690] New: [11 Regression] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092
@ 2020-06-15 18:46 gscfq@t-online.de
  2020-06-15 19:05 ` [Bug fortran/95690] " marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2020-06-15 18:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95690
           Summary: [11 Regression] ICE in
                    set_mem_attributes_minus_bitpos, at emit-rtl.c:2092
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20200531 and 20200607 :


$ cat z1.f90
module m
contains
   subroutine s
      print *, (erfc)
   end
   function erfc()
   end
end


$ gfortran-11-20200531 -c z1.f90
z1.f90:4:0:

    4 |       print *, (erfc)
      |
Error: initializer for floating value is not a floating constant


$ gfortran-11-20200614 -c z1.f90
during RTL pass: expand
z1.f90:4:0:

    4 |       print *, (erfc)
      |
internal compiler error: in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092
0x89d5d0 set_mem_attributes_minus_bitpos(rtx_def*, tree_node*, int,
poly_int<1u, long>)
        ../../gcc/emit-rtl.c:2090
0xe6d8c4 build_constant_desc
        ../../gcc/varasm.c:3402
0xe6d8c4 add_constant_to_table
        ../../gcc/varasm.c:3454
0xe6aa2c output_constant_def(tree_node*, int)
        ../../gcc/varasm.c:3478
0x8d0034 expand_expr_constant
        ../../gcc/expr.c:8079
0x8d0034 expand_expr_addr_expr_1
        ../../gcc/expr.c:8132
0x8c5cbd expand_expr_addr_expr
        ../../gcc/expr.c:8299
0x8c5cbd expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/expr.c:11474
0x7bdd80 expand_normal
        ../../gcc/expr.h:288
0x7bdd80 precompute_register_parameters
        ../../gcc/calls.c:982
0x7bdd80 expand_call(tree_node*, rtx_def*, int)
        ../../gcc/calls.c:4337
0x8c662e expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        ../../gcc/expr.c:11246
0x7cba7a expand_expr
        ../../gcc/expr.h:282
0x7cba7a expand_call_stmt
        ../../gcc/cfgexpand.c:2703
0x7cba7a expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3682
0x7cba7a expand_gimple_stmt
        ../../gcc/cfgexpand.c:3847
0x7d0527 expand_gimple_basic_block
        ../../gcc/cfgexpand.c:5888
0x7d2b9e execute
        ../../gcc/cfgexpand.c:6572

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

end of thread, other threads:[~2020-06-23 13:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-15 18:46 [Bug fortran/95690] New: [11 Regression] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092 gscfq@t-online.de
2020-06-15 19:05 ` [Bug fortran/95690] " marxin at gcc dot gnu.org
2020-06-15 19:13 ` dominiq at lps dot ens.fr
2020-06-16  6:41 ` rguenth at gcc dot gnu.org
2020-06-16  7:30 ` rguenth at gcc dot gnu.org
2020-06-16 11:57 ` cvs-commit at gcc dot gnu.org
2020-06-16 11:57 ` rguenth at gcc dot gnu.org
2020-06-23 13:31 ` cvs-commit 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).