From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id EF3F4385841F for ; Tue, 30 Jan 2024 21:49:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EF3F4385841F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EF3F4385841F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706651400; cv=none; b=xDxH5BEWKHJI7aCm+Je1kvoEkXqHXNkRxV3QxU+DFjAErOkfQN4pMRv+6GvRBuveseZvSob8rBCgGVmcPWUtgf4Jxc9YOr4zUj80p5K374ArGkdCk9taThGBtdnI7ybyIJwJ2eR97fzBuZumzYtbdLQLoXwM9Y4JDEqgQ9Kz7oM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706651400; c=relaxed/simple; bh=IocCQAehsjS76/rsMN4/a2oS8LjbGCPtIoCZsL0WKqQ=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=rlXNBlk6wkfczXN2hvlynT8OGHmIz7zUymeHg3uo9chYd5EuyQjz0p00Cl13I8+gv9F08FcZ6+1kZUGtG7uS6iLC5MoTog3thurL4gquziMZ40jtfZ9R9RD+MqdBG8b5wnutNe1Up1uJYHS2l3cqxLIvgKgbrIkoQ2/imjy0knc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706651396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2bhFHqmV+Gw0l1Xm634n6SyCnHYmpkwBzFsQIXWvEHc=; b=B7HOYqvr99Uc7DQx3frix5GJDTKmhwAISlXbtLtzVJnFLRWlRu8ovZfaH7ABBkW6Mzaf4h Tp5pGv/A6DUgwcWL7/zfMmUJzruA9vb9d/khHmZtnsrbsem6HWhWpmAvvxDW1aOXqnu50h hp8t4lIWerP4bkYdhe99S2y8DrsTmRQ= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-121-uZO-4guhOfiL5ssUOUgCHg-1; Tue, 30 Jan 2024 16:49:55 -0500 X-MC-Unique: uZO-4guhOfiL5ssUOUgCHg-1 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-68c4f4bdcaaso46763876d6.1 for ; Tue, 30 Jan 2024 13:49:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706651394; x=1707256194; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2bhFHqmV+Gw0l1Xm634n6SyCnHYmpkwBzFsQIXWvEHc=; b=BpbQ5TVD7TrLp78kr5Vvo+PCT1g0bsFuu9XFJX6IblLNfdSW0OgvWarKL3FfF30xUg p0ZP/bMqjxhdcPaUzGIZ9yu4xhEZ3XnpnUg+t8thzJOedx6xKj51xoGRnbtiE21x7XQu hROdlZ9XbXHEWN/FsziYxPhBy0B+YtXWtvSUxGw/lVcAC/Yi+HJaU94+yE+1hDBKceGe 250mOfRxA9VJ6Ea6GuKSPn4sI0WI2pLpO+qlkIfcLPp/gSmHHuz4RzcVYxYBh6QTxXMt JcgjW1Zw2fUcUi6WBipMvUiCVaisbPBcPHRoAZaE7/GA+8TFLuI10Co0D7KAyXgTdYWC lr9A== X-Gm-Message-State: AOJu0Yzd6056ix0D/ceLzKZVm4JX3WqI40YzND0SVh53LmGT4XLazt/n Oq3Yd5rmrZRtahcmacOzBGhuPtqpF0VBqtvPiCqWEV9jxQYlA1tNzzPj2sDDfpUPX3CMzoyxTsY cp0pC74uLtRRK8aVjl3VEGI1IoVBXZdcmQJQ/T5ieM1nS X-Received: by 2002:ad4:5f8b:0:b0:684:b789:5508 with SMTP id jp11-20020ad45f8b000000b00684b7895508mr659626qvb.31.1706651394690; Tue, 30 Jan 2024 13:49:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJLHmcusdfadIC4IxGQeid11dDVAlL5Wf3s5daaoqdOKPoLZbP8oycoZzkryMYnZoGGUWyrg== X-Received: by 2002:ad4:5f8b:0:b0:684:b789:5508 with SMTP id jp11-20020ad45f8b000000b00684b7895508mr659620qvb.31.1706651394470; Tue, 30 Jan 2024 13:49:54 -0800 (PST) Received: from redhat.com (2603-7000-9500-34a5-0000-0000-0000-1db4.res6.spectrum.com. [2603:7000:9500:34a5::1db4]) by smtp.gmail.com with ESMTPSA id nh18-20020a056214391200b0068c6b04ae1asm156795qvb.23.2024.01.30.13.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 13:49:54 -0800 (PST) Date: Tue, 30 Jan 2024 16:49:52 -0500 From: Marek Polacek To: Jonathan Wakely Cc: Amol Surati , "gcc@gcc.gnu.org" Subject: Re: [attribs.cc] ICE with 4x underscores Message-ID: References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, Jan 30, 2024 at 12:25:24PM +0000, Jonathan Wakely via Gcc wrote: > On Tue, 30 Jan 2024, 10:35 Amol Surati via Gcc, wrote: > > > Hello, > > > > If a std attribute name is squeezed between 4x underscores, > > > > Which is undefined behaviour, but shouldn't crash. > > the compiler (both 13.2 [1] and trunk [2]) experiences an ICE. > > > > Bug reports belong in bugzilla, not on the mailing list please. > > https://gcc.gnu.org/bugs/ I've created : [[____attr____]] causes internal compiler error: in decl_attributes, at attribs.cc:776 which crashes with both cc1{,plus}. The problem happens when the attribute is both in std_attributes and c_common_gnu_attributes, it seems. Marek