This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFC: Ensure TREE_TYPE (TYPE_MIN_VALUE (t)) == t
- From: Andreas Schwab <schwab at suse dot de>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: dnovillo at redhat dot com, rguenther at suse dot de, gcc-patches at gcc dot gnu dot org
- Date: Sat, 28 Apr 2007 14:24:22 +0200
- Subject: Re: PATCH RFC: Ensure TREE_TYPE (TYPE_MIN_VALUE (t)) == t
- References: <m3vefh3dm9.fsf@localhost.localdomain>
Ian Lance Taylor <iant@google.com> writes:
> PR middle-end/31710
> * tree.c (build_distinct_type_copy): If TYPE_MIN_VALUE or
> TYPE_MAX_VALUE exist, convert them to the new type.
This breaks Ada:
/tmp/cvs/gcc-20070428/Build/./gcc/xgcc -B/tmp/cvs/gcc-20070428/Build/./gcc/ -B/tmp/cvs/gcc-20070428/Build/root/ia64-suse-linux/bin/ -B/tmp/cvs/gcc-20070428/Build/root/ia64-suse-linux/lib/ -isystem /tmp/cvs/gcc-20070428/Build/root/ia64-suse-linux/include -isystem /tmp/cvs/gcc-20070428/Build/root/ia64-suse-linux/sys-include -c -g -O2 -fPIC -DUSE_GAS_SYMVER -W -Wall -gnatpg g-regexp.adb -o g-regexp.o
+===========================GNAT BUG DETECTED==============================+
| 4.3.0 20070428 (experimental) (ia64-suse-linux-gnu) GCC error: |
| in build_int_cst_wide, at tree.c:902 |
| Error detected around g-regexp.adb:1350 |
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."