public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/63956] New: [5 Regression][UBSAN] ICE segfault in cxx_eval_call_expression ../../gcc/cp/constexpr.c
@ 2014-11-19 11:19 burnus at gcc dot gnu.org
  2014-11-19 11:27 ` [Bug sanitizer/63956] " mpolacek at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: burnus at gcc dot gnu.org @ 2014-11-19 11:19 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63956
           Summary: [5 Regression][UBSAN] ICE segfault in
                    cxx_eval_call_expression ../../gcc/cp/constexpr.c
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org,
                    mpolacek at gcc dot gnu.org

Created attachment 34035
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34035&action=edit
Test case (scan16.ii)

That's a new regression. It was working when I reduce PR63813 (i.e. on
2014-11-11) as that ICE came later. It now ICEs with todays GCC (r217759).

g++ -S -std=c++11 -fsanitize=undefined scan16.ii

scan16.ii:51:28:   in constexpr expansion of
‘std::validator.std::unique_ptr<std::Validator>::unique_ptr()’
scan16.ii:51:28: internal compiler error: Segmentation fault
   unique_ptr < Validator > validator;
                            ^
0xcba72f crash_signal
        ../../gcc/toplev.c:359
0x81ea9a cxx_eval_call_expression
        ../../gcc/cp/constexpr.c:1147
0x820b1c cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:2864
>From gcc-bugs-return-467373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Nov 19 11:22:53 2014
Return-Path: <gcc-bugs-return-467373-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28247 invoked by alias); 19 Nov 2014 11:22:53 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28225 invoked by uid 48); 19 Nov 2014 11:22:50 -0000
From: "pab at pabigot dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63954] msp430 multiplication unsafe for use in interrupts
Date: Wed, 19 Nov 2014 11:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pab at pabigot dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-63954-4-JV7cYqhiOl@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63954-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63954-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg01845.txt.bz2
Content-length: 500

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc954

Peter A. Bigot <pab at pabigot dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Peter A. Bigot <pab at pabigot dot com> ---
Sorry, bogus: the necessary dint/conditional eint are present in the macro
wrappers.


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

end of thread, other threads:[~2014-12-01 15:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 11:19 [Bug sanitizer/63956] New: [5 Regression][UBSAN] ICE segfault in cxx_eval_call_expression ../../gcc/cp/constexpr.c burnus at gcc dot gnu.org
2014-11-19 11:27 ` [Bug sanitizer/63956] " mpolacek at gcc dot gnu.org
2014-11-19 11:34 ` mpolacek at gcc dot gnu.org
2014-11-19 12:15 ` jakub at gcc dot gnu.org
2014-11-19 22:09 ` jason at gcc dot gnu.org
2014-11-19 22:12 ` jakub at gcc dot gnu.org
2014-11-19 22:37 ` mpolacek at gcc dot gnu.org
2014-11-19 22:42 ` jakub at gcc dot gnu.org
2014-11-19 22:54 ` mpolacek at gcc dot gnu.org
2014-11-20  7:18 ` jakub at gcc dot gnu.org
2014-11-20 16:13 ` mpolacek at gcc dot gnu.org
2014-11-20 16:15 ` jakub at gcc dot gnu.org
2014-11-20 16:22 ` mpolacek at gcc dot gnu.org
2014-12-01 15:30 ` mpolacek at gcc dot gnu.org
2014-12-01 15:31 ` mpolacek 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).