From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23973 invoked by alias); 20 Apr 2011 11:18:48 -0000 Received: (qmail 23963 invoked by uid 22791); 20 Apr 2011 11:18:47 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-ey0-f175.google.com (HELO mail-ey0-f175.google.com) (209.85.215.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Apr 2011 11:18:33 +0000 Received: by eye27 with SMTP id 27so201804eye.20 for ; Wed, 20 Apr 2011 04:18:32 -0700 (PDT) Received: by 10.213.23.92 with SMTP id q28mr3095247ebb.80.1303298312133; Wed, 20 Apr 2011 04:18:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.27.144 with HTTP; Wed, 20 Apr 2011 04:18:12 -0700 (PDT) In-Reply-To: <4DAEB320.6000803@gjlay.de> References: <4DA6CB8E.1040707@gjlay.de> <4DA72CC6.5030001@gjlay.de> <4DA880F6.4070109@gjlay.de> <4DAEB320.6000803@gjlay.de> From: Denis Chertykov Date: Wed, 20 Apr 2011 12:56:00 -0000 Message-ID: Subject: Re: [Patch,AVR]: FIX ICE in optabs due to bad rotate expander. To: Georg-Johann Lay Cc: gcc-patches@gcc.gnu.org, Anatoly Sokolov , Eric Weddington Content-Type: text/plain; charset=UTF-8 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg01630.txt.bz2 2011/4/20 Georg-Johann Lay : > Denis Chertykov schrieb: >> 2011/4/17 Denis Chertykov : >>> 2011/4/15 Georg-Johann Lay : >>>> Finally, I exposed alternative #3 of the insns to the register >>>> allocator, because it is not possible to distinguish between >>>> overlapping or non-overlapping regs, and #3 does not need a scratch. >>>> >>>> Ran C-testsuite with no regressions. >>> Are you encountered any difference in code size ? >> >> I'm ask about code size because the IRA pass isn't work with >> `scratch:MODE' at all. >> This lead to bad/wrong register allocation in IRA pass. >> The reload pass will correct such a wrong allocation, but reload can't >> generate optimal code. (reload generate correct code). >> Because of that, may be you right and may be better to have >> (clobber (match_operand....)) instead of (clobber (match_scratch...)). > > So the conclusion is not to commit this patch and that the one-liner > already installed is sufficient to fix the ICE? Yes. Denis.