public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
@ 2015-07-10  9:12 trippels at gcc dot gnu.org
  2015-07-10 11:54 ` [Bug tree-optimization/66828] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-07-10  9:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66828
           Summary: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38:
                    runtime error: left shift of 72057594037927936 by 8
                    places cannot be represented in type 'long int'
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: thomas.preudhomme at arm dot com
  Target Milestone: ---

since r219525 bootstrap-ubsan shows:

gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of
72057594037927936 by 8 places cannot be represented in type 'long int'


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
@ 2015-07-10 11:54 ` rguenth at gcc dot gnu.org
  2015-07-13  6:16 ` thopre01 at gcc dot gnu.org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-10 11:54 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.2


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
  2015-07-10 11:54 ` [Bug tree-optimization/66828] " rguenth at gcc dot gnu.org
@ 2015-07-13  6:16 ` thopre01 at gcc dot gnu.org
  2015-07-14  2:03 ` thopre01 at gcc dot gnu.org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-07-13  6:16 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Preud'homme <thopre01 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-07-13
     Ever confirmed|0                           |1

--- Comment #1 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
I'm having trouble to reproduce the bug. I do encounter some ubsan errors but
in other files (most notably in hwint.h). This might hide the errors in
tree-ssa-math-opts.c

Anyway, according to the line number the issue seems to come from the following
line:

for (i = 0; i < size; i++, inc <<= BITS_PER_MARKER)

size is guaranteed to be less or equal to 64 / BITS_PER_MARKER as per checks in
find_bswap_or_nop_1 (CASE_CONVERT) and in init_symbolic_number. However, this
means after the last execution of the body, inc is shift by more than 63 bits
in total.

I'm now testing a patch via bootstrap + regression testsuite.


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
  2015-07-10 11:54 ` [Bug tree-optimization/66828] " rguenth at gcc dot gnu.org
  2015-07-13  6:16 ` thopre01 at gcc dot gnu.org
@ 2015-07-14  2:03 ` thopre01 at gcc dot gnu.org
  2015-07-14  6:03 ` trippels at gcc dot gnu.org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-07-14  2:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
The C standard says nothing about the cumulative effect of several shift so I'm
guessing that the real issue is probably that the type is signed. Quoting C99
section 6.5.8 paragraph 4:

"If E1 has a signed type and nonnegative value, and E1 × 2E2 is representable
in the result type, then that is the resulting value; otherwise, the behavior
is undefined."

Which is the case for the last iteration.
>From gcc-bugs-return-492186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 14 02:51:20 2015
Return-Path: <gcc-bugs-return-492186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 90425 invoked by alias); 14 Jul 2015 02:51:19 -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 90352 invoked by uid 48); 14 Jul 2015 02:51:06 -0000
From: "howarth.at.gcc at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug boehm-gc/66848] boehm-gc fails test suite on x86_64-apple-darwin15
Date: Tue, 14 Jul 2015 02:51:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: boehm-gc
X-Bugzilla-Version: 5.2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: howarth.at.gcc at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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:
Message-ID: <bug-66848-4-jUkZt2MwzZ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66848-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66848-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: 2015-07/txt/msg01076.txt.bz2
Content-length: 264

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

--- Comment #8 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
Note that radr://21372179 has been closed by Apple as "behaves as expected' so
that they believe the bug lies in the FSF gcc boehm-gc code.


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-07-14  2:03 ` thopre01 at gcc dot gnu.org
@ 2015-07-14  6:03 ` trippels at gcc dot gnu.org
  2015-07-14  6:09 ` thopre01 at gcc dot gnu.org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-07-14  6:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Well, gcc is a C++ project so the C99 standard doesn't apply.

The C++ standard says:

5.8.2:

The value of E1 << E2 is E1 left-shifted E2 bit positions; vacated bits are
zero-filled. If E1 has an unsigned type, the value of the result is E1 × 2E2 ,
reduced modulo one more than the maximum value representable in the result
type. Otherwise, if E1 has a signed type and non-negative value, and E1 × 2E2
is representable in the corresponding unsigned type of the result type, then
that value, converted to the result type, is the resulting value; otherwise,
the
behavior is undefined.
>From gcc-bugs-return-492198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 14 06:08:32 2015
Return-Path: <gcc-bugs-return-492198-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 93008 invoked by alias); 14 Jul 2015 06:08:32 -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 92977 invoked by uid 48); 14 Jul 2015 06:08:28 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66840] [5/6 Regression] plugins fail to build on powerpc64le-linux-gnu
Date: Tue, 14 Jul 2015 06:08: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.1.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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:
Message-ID: <bug-66840-4-1qJ1a4NNnu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66840-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66840-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: 2015-07/txt/msg01088.txt.bz2
Content-length: 289

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

--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
adding this to extra_headers in gcc/config.gcc, it gets installed into
<gcc_lib_dir>/include, adding it to tm_file results in a build error.  Not sure
where to add it ...


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-07-14  6:03 ` trippels at gcc dot gnu.org
@ 2015-07-14  6:09 ` thopre01 at gcc dot gnu.org
  2015-07-16  9:18 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-07-14  6:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Indeed, I always forget. But as it goes, the excerpt you quote from C++
standard is exactly the same as in C99 so that doesn't invalidate the remaining
of my analysis.

The testing for the new patch is almost finished running so I'll soon post
something up for review.


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-07-14  6:09 ` thopre01 at gcc dot gnu.org
@ 2015-07-16  9:18 ` rguenth at gcc dot gnu.org
  2015-07-28  3:05 ` thopre01 at gcc dot gnu.org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-16  9:18 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.2                         |5.3

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 5.2 is being released, adjusting target milestone to 5.3.


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2015-07-16  9:18 ` rguenth at gcc dot gnu.org
@ 2015-07-28  3:05 ` thopre01 at gcc dot gnu.org
  2015-07-28  3:09 ` thopre01 at gcc dot gnu.org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-07-28  3:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Created attachment 36078
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36078&action=edit
Use unsigned type for inc to have defined left shift


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2015-07-28  3:05 ` thopre01 at gcc dot gnu.org
@ 2015-07-28  3:09 ` thopre01 at gcc dot gnu.org
  2015-07-28  6:36 ` trippels at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-07-28  3:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
(In reply to Thomas Preud'homme from comment #6)
> Created attachment 36078 [details]
> Use unsigned type for inc to have defined left shift

Hi Markus,

Sorry for the delay, I got busy on some other bugs. Would you mind giving the
patch attached to the PR a go? I tried reproducing the issue but couldn't. I
did ran the regression testsuite though and it's all good.

Best regards.


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2015-07-28  3:09 ` thopre01 at gcc dot gnu.org
@ 2015-07-28  6:36 ` trippels at gcc dot gnu.org
  2015-07-28  6:55 ` thopre01 at gcc dot gnu.org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-07-28  6:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Thomas Preud'homme from comment #7)
> (In reply to Thomas Preud'homme from comment #6)
> > Created attachment 36078 [details]
> > Use unsigned type for inc to have defined left shift
> 
> Sorry for the delay, I got busy on some other bugs. Would you mind giving
> the patch attached to the PR a go? I tried reproducing the issue but
> couldn't. I did ran the regression testsuite though and it's all good.

Well, the fix is obvious. So I would just commit it.


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2015-07-28  6:36 ` trippels at gcc dot gnu.org
@ 2015-07-28  6:55 ` thopre01 at gcc dot gnu.org
  2015-08-04  6:17 ` trippels at gcc dot gnu.org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-07-28  6:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Author: thopre01
Date: Tue Jul 28 06:54:50 2015
New Revision: 226298

URL: https://gcc.gnu.org/viewcvs?rev=226298&root=gcc&view=rev
Log:
2015-07-28  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    PR tree-optimization/66828
    * tree-ssa-math-opts.c (perform_symbolic_merge): Change type of inc
    from int64_t to uint64_t.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-math-opts.c


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2015-07-28  6:55 ` thopre01 at gcc dot gnu.org
@ 2015-08-04  6:17 ` trippels at gcc dot gnu.org
  2015-08-04  6:42 ` thopre01 at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-04  6:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Thomas, could you backport your fix to the gcc-5 branch, so that we can close
this issue?


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2015-08-04  6:17 ` trippels at gcc dot gnu.org
@ 2015-08-04  6:42 ` thopre01 at gcc dot gnu.org
  2015-08-11  7:58 ` thopre01 at gcc dot gnu.org
  2015-08-11  8:01 ` trippels at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-08-04  6:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Sure. Starting bootstrap and testing.


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (11 preceding siblings ...)
  2015-08-04  6:42 ` thopre01 at gcc dot gnu.org
@ 2015-08-11  7:58 ` thopre01 at gcc dot gnu.org
  2015-08-11  8:01 ` trippels at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-08-11  7:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Author: thopre01
Date: Tue Aug 11 07:58:07 2015
New Revision: 226775

URL: https://gcc.gnu.org/viewcvs?rev=226775&root=gcc&view=rev
Log:
2015-08-11  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    Backport from mainline
    2015-07-28  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR tree-optimization/66828
    * tree-ssa-math-opts.c (perform_symbolic_merge): Change type of inc
    from int64_t to uint64_t.

Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-math-opts.c


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

* [Bug tree-optimization/66828] [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int'
  2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
                   ` (12 preceding siblings ...)
  2015-08-11  7:58 ` thopre01 at gcc dot gnu.org
@ 2015-08-11  8:01 ` trippels at gcc dot gnu.org
  13 siblings, 0 replies; 15+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-11  8:01 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Fixed, thanks.


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

end of thread, other threads:[~2015-08-11  8:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-10  9:12 [Bug tree-optimization/66828] New: [5/6 Regression] gcc/tree-ssa-math-opts.c:2182:38: runtime error: left shift of 72057594037927936 by 8 places cannot be represented in type 'long int' trippels at gcc dot gnu.org
2015-07-10 11:54 ` [Bug tree-optimization/66828] " rguenth at gcc dot gnu.org
2015-07-13  6:16 ` thopre01 at gcc dot gnu.org
2015-07-14  2:03 ` thopre01 at gcc dot gnu.org
2015-07-14  6:03 ` trippels at gcc dot gnu.org
2015-07-14  6:09 ` thopre01 at gcc dot gnu.org
2015-07-16  9:18 ` rguenth at gcc dot gnu.org
2015-07-28  3:05 ` thopre01 at gcc dot gnu.org
2015-07-28  3:09 ` thopre01 at gcc dot gnu.org
2015-07-28  6:36 ` trippels at gcc dot gnu.org
2015-07-28  6:55 ` thopre01 at gcc dot gnu.org
2015-08-04  6:17 ` trippels at gcc dot gnu.org
2015-08-04  6:42 ` thopre01 at gcc dot gnu.org
2015-08-11  7:58 ` thopre01 at gcc dot gnu.org
2015-08-11  8:01 ` trippels 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).