New issue
Advanced search Search tips

Issue 759744 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug



Sign in to add a comment

ClangToT bots failing with assert: InitVal->getType() == getValueType() && "Initializer type must match GlobalVariable type"

Project Member Reported by h...@chromium.org, Aug 28 2017

Issue description

Comment 2 by h...@chromium.org, Aug 28 2017

Prime suspect:

------------------------------------------------------------------------
r311857 | mehdi_amini | 2017-08-27 13:24:09 -0700 (Sun, 27 Aug 2017) | 6 lines

Emit static constexpr member as available_externally definition

By exposing the constant initializer, the optimizer can fold many
of these constructs.

Differential Revision: https://reviews.llvm.org/D34992
------------------------------------------------------------------------

Comment 3 by h...@chromium.org, Aug 28 2017

Cc: h...@chromium.org
 Issue 759746  has been merged into this issue.

Comment 4 by h...@chromium.org, Aug 28 2017

Attaching repro source and invocation.
hid_service_linux-0c7e64.sh
8.7 KB View Download
hid_service_linux-0c7e64.cpp
5.2 MB View Download

Comment 6 by h...@chromium.org, Aug 28 2017

Status: Fixed (was: Assigned)
Reverted in r311898

Sign in to add a comment