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

Issue 2824045: [gcc] Make GCC complain if setjmp/longjmp builtins are encountered. (Closed)

Created:
10 years, 5 months ago by pasko-google - do not use
Modified:
9 years, 7 months ago
Reviewers:
eaeltsin
CC:
native-client-reviews_googlegroups.com
Base URL:
ssh://git@chromiumos-git/nacl-toolchain.git
Visibility:
Public.

Description

[gcc] Make GCC complain if setjmp/longjmp builtins are encountered. Redefine the builtins in c-torture/.../builtins.exp to make a lot of c-torture tests pass. This is a dirty way to fix the tests, we will need to enable the builtins to work with glibc once the latter ready. The purpose of this manipulation is to reduce the amount of failing tests in the GCC testsuite and thus make it easier to focus on more interesting failures.

Patch Set 1 #

Patch Set 2 : precommit upload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M gcc/gcc/builtins.c View 2 chunks +10 lines, -0 lines 0 comments Download
M gcc/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
pasko-google - do not use
10 years, 5 months ago (2010-07-01 14:45:13 UTC) #1
eaeltsin
Is it possible to hack only the testsuite? I'm not sure that changing gcc/builtins.c is ...
10 years, 5 months ago (2010-07-12 17:50:16 UTC) #2
eaeltsin
10 years, 5 months ago (2010-07-13 09:45:10 UTC) #3
LGTM

I still don't like the change. However, better to have this in and change later.

Powered by Google App Engine
This is Rietveld 408576698