This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30364] [4.1/4.2/4.3 Regression] Wrong variable ranges due to constant folding
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2007 21:09:13 -0000
- Subject: [Bug middle-end/30364] [4.1/4.2/4.3 Regression] Wrong variable ranges due to constant folding
- References: <bug-30364-7904@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from gdr at integrable-solutions dot net 2007-01-05 21:09 -------
Subject: Re: [4.1/4.2/4.3 Regression] Wrong variable ranges due to constant
folding
"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
[...]
| That is most explict thing about overflow and groupping. In C, every
| expression has an implicate parenthesises.
Yes.
Note. however, that if people don't insist on signed integer
arithmetic overflow being undefined, but intead define it as wrapping,
they can reassociate and as they wish and the result won't change.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30364