From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23560 invoked by alias); 7 Oct 2014 11:49:15 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 23550 invoked by uid 89); 7 Oct 2014 11:49:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f176.google.com Received: from mail-wi0-f176.google.com (HELO mail-wi0-f176.google.com) (209.85.212.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 07 Oct 2014 11:49:14 +0000 Received: by mail-wi0-f176.google.com with SMTP id hi2so7532576wib.15 for ; Tue, 07 Oct 2014 04:49:11 -0700 (PDT) X-Received: by 10.194.119.193 with SMTP id kw1mr4152316wjb.82.1412682551209; Tue, 07 Oct 2014 04:49:11 -0700 (PDT) Received: from [192.168.5.5] (156-149.dsl.iskon.hr. [89.164.156.149]) by mx.google.com with ESMTPSA id lk6sm20449105wjb.26.2014.10.07.04.49.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Oct 2014 04:49:10 -0700 (PDT) Message-ID: <5433D315.6020506@gmail.com> Date: Tue, 07 Oct 2014 11:49:00 -0000 From: Ivo Doko User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Jonathan Wakely CC: gcc-help Subject: Re: A possible bug References: <54337368.4070407@gmail.com> <5433B232.6070401@gmail.com> <5433D2D3.4040300@gmail.com> In-Reply-To: <5433D2D3.4040300@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00039.txt.bz2 On 2014-10-07 13:47, Ivo Doko wrote: > static constexpr int_fast8_t shift_1 = a >= 0 ? a : -a; > static constexpr int_fast8_t shift_2 = b >= 0 ? b : -b; > static constexpr int_fast8_t shift_3 = c >= 0 ? c : -c; Oh, of course, I should have mentioned that a, b and c are template parameters. Sorry about that.