From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16111 invoked by alias); 30 Oct 2005 13:57:06 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 16052 invoked by uid 22791); 30 Oct 2005 13:57:02 -0000 Received: from vlsi1.ultra.nyu.edu (HELO vlsi1.ultra.nyu.edu) (128.122.140.213) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Sun, 30 Oct 2005 13:57:02 +0000 Received: by vlsi1.ultra.nyu.edu (4.1/1.34) id AA11262; Sun, 30 Oct 05 09:01:27 EST Date: Sun, 30 Oct 2005 13:57:00 -0000 From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Message-Id: <10510301401.AA11262@vlsi1.ultra.nyu.edu> To: ian@airs.com Subject: Re: patch ping Cc: gcc-patches@gcc.gnu.org X-SW-Source: 2005-10/txt/msg01681.txt.bz2 I am also somewhat troubled that I can't find any documentation on what TREE_TYPE of a INTEGER_TYPE, ENUMERAL_TYPE, or CHAR_TYPE is supposed to mean. Is that usage specific to the Ada frontend? What is the general meaning? It's used more often by the Ada front end, but I think others generate it as well, since it wasn't added for Ada. It means that the given type is a *subtype* of its TREE_TYPE, which means that we are saying that the values of an object of that type are restricted to a subset of the values of the type in TREE_TYPE. The range is given by TYPE_MIN_VALUE and TYPE_MAX_VALUE.