Project

General

Profile

Bug #12230

clang optimizer defeats ctf test suite

Added by Robert Mustacchi 5 months ago.

Status:
New
Priority:
Normal
Category:
tests
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The clang optimizer is a bit more aggressive than gcc. If there are static values that aren't referenced by non-static functionality, it'll remove them at the default optimization level. The CTF test suite is unfortunately full of such abuses. We should fix it such that the clang optimizer no longer defeats the tests.

Also available in: Atom PDF