This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3] bb-reorder: Improve compgotos pass (PR71785)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]