public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/115876] New: runtime errors during bootstrap with -O3 -march=znver3 -fno-var-tracking-assignments
Date: Thu, 11 Jul 2024 17:54:46 +0000	[thread overview]
Message-ID: <bug-115876-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 115876
           Summary: runtime errors during bootstrap with -O3 -march=znver3
                    -fno-var-tracking-assignments
           Product: gcc
           Version: 15.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 a bootstrap with this configure script:

../trunk/configure \
    --disable-multilib \
    --disable-werror \
    --with-build-config=bootstrap-asan \
    --with-build-config=bootstrap-ubsan \
    --enable-checking=yes \
    --enable-languages=c,c++,fortran

sed 's;-O2;-O3 -march=znver3 -fno-var-tracking-assignments;' < Makefile >
Makefile.tmp
diff Makefile Makefile.tmp
mv Makefile.tmp Makefile

I get:

$ grep error: mk.out
../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value
-1
../../trunk/gcc/ext-dce.cc:417:33: runtime error: left shift of negative value
-1
../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value
-1
../../trunk/gcc/ext-dce.cc:417:33: runtime error: left shift of negative value
-1
../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value
-1
../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value
-1
../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value
-1
../../trunk/gcc/ext-dce.cc:404:23: runtime error: left shift of negative value
-1
../../trunk/gcc/ext-dce.cc:417:33: runtime error: left shift of negative value
-1
../../trunk/gcc/ext-dce.cc:600:15: runtime error: shift exponent 64 is too
large for 64-bit type 'long unsigned int'

             reply	other threads:[~2024-07-11 17:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-11 17:54 dcb314 at hotmail dot com [this message]
2024-07-11 18:09 ` [Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values pinskia at gcc dot gnu.org
2024-07-11 18:32 ` sjames at gcc dot gnu.org
2024-07-12 19:13 ` cvs-commit at gcc dot gnu.org
2024-07-12 19:40 ` dcb314 at hotmail dot com
2024-07-14 10:00 ` schwab@linux-m68k.org
2024-07-14 10:15 ` schwab@linux-m68k.org
2024-07-14 10:18 ` schwab@linux-m68k.org
2024-07-14 10:44 ` schwab@linux-m68k.org
2024-07-15 21:33 ` [Bug rtl-optimization/115876] [15 regression] " law at gcc dot gnu.org
2024-07-15 23:05 ` cvs-commit at gcc dot gnu.org
2024-07-17 14:45 ` pinskia at gcc dot gnu.org
2024-07-22 11:39 ` jamborm at gcc dot gnu.org
2024-07-24  9:24 ` dcb314 at hotmail dot com
2024-07-31 12:40 ` rguenth at gcc dot gnu.org
2024-08-04 10:19 ` dcb314 at hotmail dot com
2024-08-12 13:46 ` jamborm at gcc dot gnu.org
2024-08-12 13:52 ` law at gcc dot gnu.org
2024-08-17 23:37 ` law at gcc dot gnu.org
2024-08-18  4:42 ` law at gcc dot gnu.org
2024-08-18 22:56 ` cvs-commit at gcc dot gnu.org
2024-08-18 22:57 ` law at gcc dot gnu.org
2024-08-19 17:49 ` jamborm at gcc dot gnu.org
2024-08-19 19:52 ` law at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-115876-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).