This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/17224] [3.4/4.0 Regression]: relocation truncated to fit: GPREL22


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]