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++/108278] New: runtime error with -O1 -Wall
Date: Tue, 03 Jan 2023 18:52:43 +0000	[thread overview]
Message-ID: <bug-108278-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 108278
           Summary: runtime error with -O1 -Wall
           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: ---

Created attachment 54182
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54182&action=edit
gzipped C++ source code

The attached C++ code does this:

$ ../results/bin/g++ -c -O1 -Wall bug872.cc 
../../trunk.d1/gcc/poly-int.h:753:21: runtime error: signed integer overflow:
4611686018427387903 * 8 cannot be represented in type 'long int'
$ 

The bug first seems to occur sometime between git hash d423e8dc59045d8f,
from a couple of days ago and fee53a3194c0d8b7, from today, a distance
of 14 commits.

I have a reduction running.

             reply	other threads:[~2023-01-03 18:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-03 18:52 dcb314 at hotmail dot com [this message]
2023-01-03 22:17 ` [Bug c++/108278] " dcb314 at hotmail dot com
2023-01-04  0:54 ` [Bug middle-end/108278] [13 Regression] " pinskia at gcc dot gnu.org
2023-01-04  1:03 ` pinskia at gcc dot gnu.org
2023-01-04  8:34 ` dcb314 at hotmail dot com
2023-01-04  9:08 ` dcb314 at hotmail dot com
2023-01-04  9:12 ` dcb314 at hotmail dot com
2023-01-04  9:21 ` dcb314 at hotmail dot com
2023-01-04  9:38 ` dcb314 at hotmail dot com
2023-01-04  9:39 ` fw at gcc dot gnu.org
2023-01-04 11:08 ` jakub at gcc dot gnu.org
2023-01-04 11:09 ` jakub at gcc dot gnu.org
2023-01-04 16:11 ` jakub at gcc dot gnu.org
2023-01-04 16:14 ` dcb314 at hotmail dot com
2023-01-04 16:16 ` dcb314 at hotmail dot com
2023-01-05  8:46 ` dcb314 at hotmail dot com
2023-01-09 17:24 ` rguenth at gcc dot gnu.org
2023-01-09 17:26 ` dcb314 at hotmail dot com
2023-01-09 18:03 ` jakub at gcc dot gnu.org
2023-04-26  6:57 ` [Bug middle-end/108278] [13/14 " rguenth at gcc dot gnu.org
2023-07-27  9:25 ` rguenth at gcc dot gnu.org
2024-03-22 14:01 ` 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-108278-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).