From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id EDF253854144 for ; Fri, 24 Jun 2022 19:25:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EDF253854144 Received: by mail-pg1-x52d.google.com with SMTP id g186so3288344pgc.1 for ; Fri, 24 Jun 2022 12:25:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=TzyZAffnk3y0NMXy4KeKglsbKOHEUfE+negBYUUjKJU=; b=T0KXO+ZgCB0j6dCqw8OfmNKHVJ1Qi7RYI3WSjAtlKboPSPMyvYD1DFKh+MPyJVCrrW 7/d7j2mr2VfFTN7F7q8b2/cJMpehv5VaHsFmcpgoqGehQfe+Q+rnyc/m+46vWfvN1LNi KPwh7ecXavvzTlGtjnY04SKwUMfbqza+i9vegWqKJHfuLkWGeWbporRSryIFqf8Z98py CzR68507W1M6fh2PY1TfiUXLdEH0dXLeUt1lFF20bETq9FKdrG8OaBKSCYG5kmwIY73z G5Gj1LXIZwdCHpkENzZ5rg+ux9pZqH4Ab3CT25qeTrf9BrNiUyY0GJwzFzEZJCZk+yVE m0kQ== X-Gm-Message-State: AJIora+8PwaNpk0GD6uJgroM1HZea5ZXObGaLzGUE0r/qF3TMh7dBm5+ dThtwBXrQZPUz3890fXzLxqH5wvpoNg= X-Google-Smtp-Source: AGRyM1vpA2ncsjxQB38H6rlZIvtgjzJuDOGViJlfT75r4QXtHuTfNrRYxkJKR/agDKniG/3FaVzqiQ== X-Received: by 2002:a05:6a00:1354:b0:525:7483:b853 with SMTP id k20-20020a056a00135400b005257483b853mr722992pfu.6.1656098755647; Fri, 24 Jun 2022 12:25:55 -0700 (PDT) Received: from [172.31.0.204] (c-73-63-24-84.hsd1.ut.comcast.net. [73.63.24.84]) by smtp.gmail.com with ESMTPSA id c3-20020a17090abf0300b001e31803540fsm2143090pjs.6.2022.06.24.12.25.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jun 2022 12:25:55 -0700 (PDT) Message-ID: Date: Fri, 24 Jun 2022 13:25:54 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] testsuite: Skip btf-bitfields-1.c if int is less than 32-bits Content-Language: en-US To: gcc-patches@gcc.gnu.org References: <20220623212123.149019-2-dimitar@dinux.eu> From: Jeff Law In-Reply-To: <20220623212123.149019-2-dimitar@dinux.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2022 19:25:58 -0000 On 6/23/2022 3:21 PM, Dimitar Dimitrov wrote: > This test spuriously fails on AVR with: > error: width of 'bitfield_c' exceeds its type > > 8-bit and 16-bit microcontrollers do not seem to be the target audience > for BTF file format. So the least intrusive fix is to simply skip the > test for them. > > Ok for trunk? > > gcc/testsuite/ChangeLog: > > * gcc.dg/debug/btf/btf-bitfields-1.c: Skip if int is less than > 32-bits. OK. jeff