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.133.124]) by sourceware.org (Postfix) with ESMTPS id 1FBC53858022 for ; Fri, 16 Feb 2024 14:42:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1FBC53858022 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 1FBC53858022 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708094544; cv=none; b=AVL/iRB/IC7C01zIx5IbHbho1Bc5uEwTmDRi04xi03Y/RFeGYVhbNL1yjbtgqfH74neVlBMUtLVJcuYqfjN+zuidypFg0ZiYrDgIC1aZesxhxtif0OyRAMOyVuY/hRJVONKwmeWz9TQEqf0x82LBZAIJB82a2Qz6gQvgDIPY2NE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708094544; c=relaxed/simple; bh=kLNXUzcJMs9e1n2hIF5O6pJFCRcgHKq3isg6omeSkNU=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=HecxB45FyUOBnJCxcRsEzAkKqNSkWrRnSmNxEgoaUD0aifkSXxJJ6h0BnccineNvKd65jRJTlzb1HxUFfoYT7qTeS2U9ysUf4DTLVHh7iz6jAZCrwobQh1ZZRnHa34mD35hqh4PDKm/WM4p1x/4LunyVT28MhT2bslaBWeE1Udc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708094542; 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=kLNXUzcJMs9e1n2hIF5O6pJFCRcgHKq3isg6omeSkNU=; b=XbRJeUDP6NP9/Z9E5P/Ca7lytzlTE/U4wTHVv2tyV+2TPrZDaalP6dBlIUcH8ShNc8zwcD iF6PDat/DKDH2Vm/N7ISAkPqxMcC9Q5yCAHVG0MyjmB2PfhRq0s9Vx50fWHPa4bpOfEFHL BAKq8/fM8thz3VPQqW7ZzBVm89EMQKo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-310--r7layKMMJqq4rFeuzZmpw-1; Fri, 16 Feb 2024 09:42:21 -0500 X-MC-Unique: -r7layKMMJqq4rFeuzZmpw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EAE1A185A780; Fri, 16 Feb 2024 14:42:20 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.50]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4E0C220110C4; Fri, 16 Feb 2024 14:42:20 +0000 (UTC) From: Florian Weimer To: Andi Kleen via Gcc Cc: Robert Dubner , Andi Kleen Subject: Re: New feature: -fdump-gimple-nodes (once more, with feeling) References: <094e01da5eb5$4c598e40$e50caac0$@symas.com> <87v86rwl1c.fsf@linux.intel.com> Date: Fri, 16 Feb 2024 15:42:19 +0100 In-Reply-To: <87v86rwl1c.fsf@linux.intel.com> (Andi Kleen via Gcc's message of "Tue, 13 Feb 2024 23:40:47 -0800") Message-ID: <87h6i84gj8.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,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 List-Id: * Andi Kleen via Gcc: >> ***********************************This is NodeNumber0 >> (0x7f12e13b0d00) NodeNumber0 >> tree_code: function_decl >> tree_code_class: tcc_declaration > > My suggestion if you go this route would be to generate > some standard format like YAML or JSON that other tools > can easily parse. And C++ code that emits equivalent GENERIC or GIMPLE, perhaps? Thanks, Florian