public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98330] New: [11 Regression] ICE in compute_parm_map, at ipa-modref.c:2900
@ 2020-12-16 18:34 gscfq@t-online.de
  2020-12-17 11:14 ` [Bug c++/98330] " marxin at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: gscfq@t-online.de @ 2020-12-16 18:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98330
           Summary: [11 Regression] ICE in compute_parm_map, at
                    ipa-modref.c:2900
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20201018 and 20201108, at -O1+ :


$ cat z1.cc
float a = __builtin_pow[1] (3.0, 2);


$ cat z2.cc
float f (float x)
{
  return __builtin_pow[1] (x, 2);
}


$ g++-11-20201213 -c z1.cc -O2
z1.cc:1:26: warning: pointer to a function used in arithmetic [-Wpointer-arith]
    1 | float a = __builtin_pow[1] (3.0, 2);
      |                          ^
during IPA pass: modref
z1.cc:1:36: internal compiler error: Segmentation fault
    1 | float a = __builtin_pow[1] (3.0, 2);
      |                                    ^
0xc8f5ff crash_signal
        ../../gcc/toplev.c:327
0x8c75f2 symtab_node::ultimate_alias_target(availability*, symtab_node*)
        ../../gcc/cgraph.h:3182
0x8c75f2 cgraph_node::ultimate_alias_target(availability*, symtab_node*)
        ../../gcc/cgraph.h:3203
0x8c75f2 cgraph_node::function_or_virtual_thunk_symbol(availability*,
symtab_node*)
        ../../gcc/cgraph.c:3868
0xaa629a compute_parm_map
        ../../gcc/ipa-modref.c:2900
0xaa6961 compute_parm_map
        ../../gcc/ipa-modref.c:2891
0xaa6961 propagate_unknown_call
        ../../gcc/ipa-modref.c:3271
0xaa8757 modref_propagate_in_scc
        ../../gcc/ipa-modref.c:3425
0xaa8f7c execute
        ../../gcc/ipa-modref.c:3833

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

end of thread, other threads:[~2021-01-19 14:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 18:34 [Bug c++/98330] New: [11 Regression] ICE in compute_parm_map, at ipa-modref.c:2900 gscfq@t-online.de
2020-12-17 11:14 ` [Bug c++/98330] " marxin at gcc dot gnu.org
2021-01-04 15:33 ` rguenth at gcc dot gnu.org
2021-01-06 11:47 ` [Bug c++/98330] [9/10/11 Regression] ICE in compute_parm_map, at ipa-modref.c:2900 since r9-2640-g3d78e00879b42574 marxin at gcc dot gnu.org
2021-01-19 13:18 ` rguenth at gcc dot gnu.org
2021-01-19 13:29   ` Jan Hubicka
2021-01-19 13:20 ` [Bug c++/98330] [11 " rguenth at gcc dot gnu.org
2021-01-19 13:25 ` marxin at gcc dot gnu.org
2021-01-19 13:28 ` rguenth at gcc dot gnu.org
2021-01-19 13:29 ` hubicka at ucw dot cz
2021-01-19 14:13 ` rguenth at gcc dot gnu.org
2021-01-19 14:50 ` cvs-commit at gcc dot gnu.org
2021-01-19 14:51 ` 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).