Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1615)

Issue 104610044: code review 104610044: compiler: Convert array start index before bounds checking.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by cmang
Modified:
10 years, 5 months ago
Reviewers:
iant
CC:
gofrontend-dev_googlegroups.com
Visibility:
Public.

Description

compiler: Convert array start index before bounds checking. Fixes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61308

Patch Set 1 #

Patch Set 2 : diff -r 5d0434c2007e https://code.google.com/p/gofrontend #

Patch Set 3 : diff -r 5d0434c2007e https://code.google.com/p/gofrontend #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M go/expressions.cc View 1 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 6
cmang
Hello iant@golang.org (cc: gofrontend-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/gofrontend
10 years, 5 months ago (2014-07-08 20:22:17 UTC) #1
iant
What kind of bug is this? Is this a bug in which the compiler emits ...
10 years, 5 months ago (2014-07-08 20:57:17 UTC) #2
cmang
On 2014/07/08 20:57:17, iant wrote: > What kind of bug is this? Is this a ...
10 years, 5 months ago (2014-07-08 21:07:41 UTC) #3
iant
LGTM
10 years, 5 months ago (2014-07-08 21:27:13 UTC) #4
iant
*** Submitted as https://code.google.com/p/gofrontend/source/detail?r=fa6e0c716dba *** compiler: Convert array start index before bounds checking. Fixes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61308 ...
10 years, 5 months ago (2014-07-08 21:27:25 UTC) #5
iant
10 years, 5 months ago (2014-07-08 22:50:45 UTC) #6
After Dmitriy's comment on http://gcc.gnu.org/PR61308 I tried the test case.  It
does build without error using the gc compiler and now it builds without error
using gccgo.  So this is valid code that caused gccgo to crash.  I think we
should have a test case for this.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b