http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50607
--- Comment #6 from Artem Shinkarov <artyom.shinkaroff at gmail dot com> 2011-10-04 15:12:54 UTC --- Created attachment 25410 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25410 Fixes the failure caused by non-preserving original_code of c_expr. Bootstrapped and regteted on all the tests that include modified __builtin_XXX functions: -- All the tests that use __builtin_choose_expr gcc/testsuite/gcc.dg/gnu89-const-expr-2.c gcc/testsuite/gcc.dg/Wunused-var-2.c gcc/testsuite/gcc.dg/builtin-choose-expr.c gcc/testsuite/gcc.dg/builtin-choose-expr-2.c gcc/testsuite/gcc.dg/bconstp-3.c gcc/testsuite/gcc.dg/bconstp-4.c gcc/testsuite/gcc.dg/gnu99-const-expr-2.c -- All the tests that use __builtin_complex gcc/testsuite/gcc.dg/builtin-complex-err-2.c gcc/testsuite/gcc.dg/torture/builtin-complex-1.c gcc/testsuite/gcc.dg/dfp/builtin-complex.c gcc/testsuite/gcc.dg/builtin-complex-err-1.c -- All the tests that use __builtin_shuffle gcc/testsuite/gcc.c-torture/execute/vect-shuffle-3.c gcc/testsuite/gcc.c-torture/execute/vect-shuffle-2.c gcc/testsuite/gcc.c-torture/execute/vect-shuffle-1.c gcc/testsuite/gcc.c-torture/execute/vect-shuffle-4.c gcc/testsuite/gcc.c-torture/execute/vect-shuffle-5.c