This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v3] bb-reorder: Improve compgotos pass (PR71785)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Segher Boessenkool <segher at kernel dot crashing dot org>, gcc-patches at gcc dot gnu dot org, stevenb dot gcc at gmail dot com, rguenther at suse dot de, law at redhat dot com
- Date: Fri, 25 Nov 2016 09:53:10 +0100
- Subject: Re: [PATCH v3] bb-reorder: Improve compgotos pass (PR71785)
- Authentication-results: sourceware.org; auth=none
- References: <3df81960ce19c2de4869049ea1b5f07a8261cf71.1479414653.git.segher@kernel.crashing.org> <87r3671b0x.fsf@linux-m68k.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sat, Nov 19, 2016 at 09:15:42PM +0100, Andreas Schwab wrote:
> * gcc.c-torture/execute/comp-goto-1.c (insn_t): Change offset to
> signed int.
The same testcase is copied to gcc.dg/tree-prof/, just with extra dg-
directives. Committed as obvious:
2016-11-25 Jakub Jelinek <jakub@redhat.com>
Andreas Schwab <schwab@linux-m68k.org>
PR gcov-profile/78467
* gcc.dg/tree-prof/comp-goto-1.c (insn_t): Change offset to
signed int.
--- gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c.jj 2013-06-07 13:17:15.000000000 +0200
+++ gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c 2016-11-25 09:46:58.734509541 +0100
@@ -16,7 +16,7 @@ typedef union
{
struct
{
- unsigned int offset:18;
+ signed int offset:18;
unsigned int ignore:4;
unsigned int s1:8;
int :2;
Jakub