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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Summary|ICE at -O1 with PGO on      |[13/14/15/16 Regression]
                   |x86_64_linux-gnu:           |ICE at -O1 with PGO on
                   |Segmentation fault          |x86_64_linux-gnu:
                   |                            |Segmentation fault
   Last reconfirmed|                            |2026-01-21
     Ever confirmed|0                           |1
   Target Milestone|---                         |13.5
           Keywords|                            |ice-on-valid-code

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Since r7-6606-g0b90c54148e937.

This is obvious an use of dump_file without checking it is nullptr:
  if (skip_count > e->count ())
    {
      fprintf (dump_file, "  Capping count; expect profile inconsistency\n");
      skip_count = e->count ();
    }

Reply via email to