This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17224] [3.4/4.0 Regression]: relocation truncated to fit: GPREL22
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2004 05:57:51 -0000
- Subject: [Bug target/17224] [3.4/4.0 Regression]: relocation truncated to fit: GPREL22
- References: <20040829002954.17224.tege-gcc@swox.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rth at gcc dot gnu dot org 2004-11-28 05:57 -------
You *do* realize this test case is completely undefined, don't you?
Even "&n-1" is undefined; see 6.5.6/8.
I suppose I could reject symbol+constant where constant is outside
the size of the object, but at some point you're going to have to
take responsibility for your own stupidity.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Severity|normal |minor
Status|NEW |ASSIGNED
Keywords|wrong-code |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17224