public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/108596] New: error: EDGE_CROSSING missing across section boundary
@ 2023-01-30 11:31 dcb314 at hotmail dot com
  2023-01-30 12:06 ` [Bug rtl-optimization/108596] " rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: dcb314 at hotmail dot com @ 2023-01-30 11:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108596
           Summary: error: EDGE_CROSSING missing across section boundary
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For this C code, derived from yesterday's linux-6.2-rc6:

enum { false, true };
__attribute__((__cold__)) _printk();
_static_cpu_has() {
  asm goto("" : : : : t_yes, t_no);
t_yes:
  return true;
t_no:
  return false;
}
acpi_sleep_prepare() {
  _Bool __trans_tmp_1 = _static_cpu_has();
  if (!__trans_tmp_1)
    acpi_set_waking_vector();
  _printk();
}

does this:

$ /home/dcb36/gcc/results/bin/gcc -c -w -std=gnu11   -O2 bug878.c 
bug878.c: In function ‘acpi_sleep_prepare’:
bug878.c:15:1: error: EDGE_CROSSING missing across section boundary
   15 | }
      | ^
during RTL pass: bbpart
bug878.c:15:1: internal compiler error: verify_flow_info failed
0x8818f1 verify_flow_info()
        ../../trunk.d1/gcc/cfghooks.cc:285

$ /home/dcb36/gcc/results/bin/gcc -c -w -std=gnu11   -O1 bug878.c 
$

The bug first seems to occur sometime before g:9b111debbfb79a0a,
dated 20221229.

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

end of thread, other threads:[~2023-05-04  7:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 11:31 [Bug c/108596] New: error: EDGE_CROSSING missing across section boundary dcb314 at hotmail dot com
2023-01-30 12:06 ` [Bug rtl-optimization/108596] " rguenth at gcc dot gnu.org
2023-01-30 12:16 ` [Bug rtl-optimization/108596] [10/11/12/13 Regression] " jakub at gcc dot gnu.org
2023-01-30 12:24 ` jakub at gcc dot gnu.org
2023-01-30 17:08 ` jakub at gcc dot gnu.org
2023-01-31  8:47 ` cvs-commit at gcc dot gnu.org
2023-01-31  8:48 ` [Bug rtl-optimization/108596] [10/11/12 " jakub at gcc dot gnu.org
2023-02-02  9:04 ` dcb314 at hotmail dot com
2023-02-10 17:46 ` cvs-commit at gcc dot gnu.org
2023-02-10 18:01 ` [Bug rtl-optimization/108596] [10/11 " jakub at gcc dot gnu.org
2023-05-02 20:14 ` cvs-commit at gcc dot gnu.org
2023-05-03 10:36 ` [Bug rtl-optimization/108596] [10 " jakub at gcc dot gnu.org
2023-05-03 15:20 ` cvs-commit at gcc dot gnu.org
2023-05-04  7:24 ` jakub 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).