Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Issue 1361763004: Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. (Closed)

Created:
5 years, 3 months ago by skomski
Modified:
5 years, 2 months ago
CC:
Paweł Hajdan Jr., v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. Without that, it has a few false positives about out-of-bounds array accesses. Also makes the clang static-analyzer happy. Original code review from Sven Panne: https://codereview.chromium.org/790723002/ Committed: https://crrev.com/0b48b2a8ebfc791a36f4ec1f299f46db76265a3a Cr-Commit-Position: refs/heads/master@{#30977}

Patch Set 1 #

Patch Set 2 : ignore gcc strict-overflow warning in test #

Patch Set 3 : gcc 4.8 doesn't understand #pragma ignored #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M include/v8config.h View 6 chunks +17 lines, -0 lines 0 comments Download
M src/base/logging.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/base/platform/platform.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap/spaces-inl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 38 (17 generated)
skomski
PTAL
5 years, 3 months ago (2015-09-24 17:52:46 UTC) #2
Benedikt Meurer
lgtm
5 years, 3 months ago (2015-09-24 17:57:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361763004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361763004/1
5 years, 3 months ago (2015-09-24 17:57:51 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/6633)
5 years, 3 months ago (2015-09-24 18:07:05 UTC) #7
skomski
Since voiding UNIMPLEMENTED (https://codereview.chromium.org/1371593003/) was rejected. This will still fail in gcc: https://chromium.googlesource.com/v8/v8.git/+/master/src/elements.cc#254. gcc fails ...
5 years, 2 months ago (2015-09-25 09:30:24 UTC) #8
Jakob Kummerow
No, simply removing the check was not at all what I meant. Replacing UNIMPLEMENTED with ...
5 years, 2 months ago (2015-09-25 12:27:42 UTC) #10
skomski
On 2015/09/25 12:27:42, Jakob wrote: > No, simply removing the check was not at all ...
5 years, 2 months ago (2015-09-25 12:41:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361763004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361763004/1
5 years, 2 months ago (2015-09-25 12:41:41 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/6659)
5 years, 2 months ago (2015-09-25 12:55:57 UTC) #16
skomski
On 2015/09/25 12:55:57, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 2 months ago (2015-09-25 21:24:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361763004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361763004/1
5 years, 2 months ago (2015-09-26 11:21:57 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/6683)
5 years, 2 months ago (2015-09-26 11:37:55 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361763004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361763004/60001
5 years, 2 months ago (2015-09-26 18:24:39 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win_compile_dbg on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_compile_dbg/builds/7991)
5 years, 2 months ago (2015-09-26 18:32:59 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361763004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361763004/80001
5 years, 2 months ago (2015-09-26 19:11:50 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-26 19:35:11 UTC) #30
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-09-28 11:31:17 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1361763004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1361763004/80001
5 years, 2 months ago (2015-09-28 13:38:09 UTC) #35
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 2 months ago (2015-09-28 14:02:58 UTC) #36
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/0b48b2a8ebfc791a36f4ec1f299f46db76265a3a Cr-Commit-Position: refs/heads/master@{#30977}
5 years, 2 months ago (2015-09-28 14:03:18 UTC) #37
Igor Sheludko
5 years, 2 months ago (2015-09-28 16:40:27 UTC) #38
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:80001) has been created in
https://codereview.chromium.org/1370203002/ by ishell@chromium.org.

The reason for reverting is: This CL breaks cross-compiling to arm..

Powered by Google App Engine
This is Rietveld 408576698