public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: "Martin Liška" <mliska@suse.cz>
Cc: Jason Merrill <jason@redhat.com>,
	 Marek Polacek <polacek@redhat.com>,
	 Jakub Jelinek <jakub@redhat.com>,
	 gcc-patches List <gcc-patches@gcc.gnu.org>,
	 Jonathan Wakely <jwakely@redhat.com>
Subject: Re: [PATCH][RFC] Instrument function exit with __builtin_unreachable in C++.
Date: Tue, 07 Nov 2017 17:28:00 -0000	[thread overview]
Message-ID: <mvmmv3yrox0.fsf@suse.de> (raw)
In-Reply-To: <0d484e7b-782b-7c4c-cdda-723efffe15a5@suse.cz> ("Martin =?utf-8?Q?Li=C5=A1ka=22's?=	message of "Fri, 3 Nov 2017 14:42:52 +0100")

This breaks g++.dg/torture/pr64669.C with -O3 on ia64:

$ gcc/xg++ -Bgcc/ ../../gcc/gcc/testsuite/g++.dg/torture/pr64669.C -nostdinc++ -Iia64-suse-linux/libstdc++-v3/include/ia64-suse-linux -Iia64-suse-linux/libstdc++-v3/include -I../libstdc++-v3/libsupc++ -I../libstdc++-v3/include/backward -I../libstdc++-v3/testsuite/util -O3 -S -o pr64669.s                   
../../gcc/gcc/testsuite/g++.dg/torture/pr64669.C: In member function ‘const char* Lex::advance_one_char(const char*, bool, unsigned int*, bool*)’:
../../gcc/gcc/testsuite/g++.dg/torture/pr64669.C:65:1: error: qsort comparator non-negative on sorted output: 1
 }
 ^
during RTL pass: mach
../../gcc/gcc/testsuite/g++.dg/torture/pr64669.C:65:1: internal compiler error: qsort checking failed
0x40000000001cc80f qsort_chk_error
        ../../gcc/vec.c:222
0x40000000025d20cf qsort_chk(void*, unsigned long, unsigned long, int (*)(void const*, void const*))
        ../../gcc/vec.c:274
0x40000000014f680f vec<_expr*, va_heap, vl_embed>::qsort(int (*)(void const*, void const*))
        ../../gcc/vec.h:973
0x40000000014f680f vec<_expr*, va_heap, vl_ptr>::qsort(int (*)(void const*, void const*))
        ../../gcc/vec.h:1735
0x40000000014f680f fill_vec_av_set
        ../../gcc/sel-sched.c:3725
0x40000000014fc59f fill_ready_list
        ../../gcc/sel-sched.c:4022
0x40000000014fc59f find_best_expr
        ../../gcc/sel-sched.c:4382
0x40000000014fc59f fill_insns
        ../../gcc/sel-sched.c:5539
0x40000000014fc59f schedule_on_fences
        ../../gcc/sel-sched.c:7356
0x40000000014fc59f sel_sched_region_2
        ../../gcc/sel-sched.c:7494
0x4000000001503acf sel_sched_region_1
        ../../gcc/sel-sched.c:7536
0x4000000001503acf sel_sched_region(int)
        ../../gcc/sel-sched.c:7637
0x4000000001504e6f run_selective_scheduling()
        ../../gcc/sel-sched.c:7713
0x4000000001df9bdf ia64_reorg
        ../../gcc/config/ia64/ia64.c:9854
0x400000000146d40f execute
        ../../gcc/reorg.c:3947

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

  parent reply	other threads:[~2017-11-07 17:15 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 10:32 Martin Liška
2017-10-05 11:04 ` Jakub Jelinek
2017-10-05 15:08 ` Jason Merrill
2017-10-05 16:53   ` Martin Liška
2017-10-11 14:04     ` Martin Liška
2017-10-11 15:31     ` Jason Merrill
2017-10-12  8:48       ` Martin Liška
2017-10-12  9:36         ` Jakub Jelinek
2017-10-18 12:47           ` Martin Liška
2017-10-18 13:04             ` Marek Polacek
2017-10-18 13:15               ` Martin Liška
2017-10-24 14:30                 ` Jason Merrill
2017-11-03 13:42                   ` Martin Liška
2017-11-06 17:27                     ` Eric Botcazou
2017-11-06 17:41                       ` Jakub Jelinek
2017-11-06 23:07                         ` Eric Botcazou
2017-11-07 10:18                         ` Martin Liška
2017-11-15  7:57                           ` Martin Liška
2017-11-15  8:23                           ` Jakub Jelinek
2017-11-15  9:58                             ` Eric Botcazou
2017-11-15 10:02                               ` Martin Liška
2017-11-15 10:10                                 ` Eric Botcazou
2017-11-15 10:45                                 ` Jakub Jelinek
2017-11-15 12:46                                   ` Martin Liška
2017-11-06 18:41                     ` Martin Sebor
2017-11-15 12:49                       ` [PATCH][RFC] Add quotes for constexpr keyword Martin Liška
2017-11-15 16:38                         ` Martin Sebor
2017-11-15 16:59                           ` Jonathan Wakely
2017-11-15 17:06                             ` Martin Sebor
2017-11-15 17:14                               ` Jonathan Wakely
2017-11-21 15:27                                 ` Martin Liška
2017-11-21 15:48                                   ` Martin Sebor
2017-11-21 17:23                                   ` Jeff Law
2017-11-21 19:07                                     ` Martin Liška
2017-11-07 17:28                     ` Andreas Schwab [this message]
2017-11-07 19:06                       ` [PATCH][RFC] Instrument function exit with __builtin_unreachable in C++ Martin Liška
2017-11-19 17:06                     ` Thomas Schwinge
2017-10-18 12:48           ` [PATCH] Fix all tests that fail with -sanitize=return Martin Liška
2017-10-24 14:39             ` Jason Merrill
2017-11-06  8:48               ` Martin Liška
2017-10-18 12:53           ` [PATCH] Fix test-suite fallout of default -Wreturn-type Martin Liška
2017-10-24 14:40             ` Jason Merrill
2017-10-26 12:17               ` Martin Liška
2017-11-03 15:29                 ` Jason Merrill
2017-11-06  8:48                   ` Martin Liška
2017-11-06  9:58                     ` Paolo Carlini
2017-11-06 10:03                       ` Martin Liška
2017-11-06 10:09                         ` Paolo Carlini
2017-11-06 10:41                           ` Martin Liška
2017-11-06 11:40                             ` Paolo Carlini
2017-11-06 12:20                               ` Paolo Carlini
2017-11-06 13:38                                 ` Martin Liška
2017-11-06 13:58                                   ` Paolo Carlini
2017-11-06 14:12                                     ` Martin Liška
2017-11-06 21:17                                       ` [PATCH] Further -Wreturn-type testsuite fallout Jakub Jelinek
2017-11-15 13:33                                       ` [PATCH] Fix test-suite fallout of default -Wreturn-type Jonathan Wakely
2017-11-07 17:33             ` Andreas Schwab
2017-11-07 17:38               ` Jakub Jelinek
2017-11-08  8:02                 ` Andreas Schwab
2017-11-19 13:26             ` Thomas Schwinge
2017-11-20 13:58               ` Martin Liška
2017-11-20 14:14               ` Jason Merrill
2018-03-02 16:37                 ` Thomas Schwinge
2017-10-12 12:57         ` [PATCH][RFC] Instrument function exit with __builtin_unreachable in C++ Jason Merrill

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=mvmmv3yrox0.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=jason@redhat.com \
    --cc=jwakely@redhat.com \
    --cc=mliska@suse.cz \
    --cc=polacek@redhat.com \
    /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).