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/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-30 18:54 -------
Confirmed:

The problem comes from:
2011      /* Avoid GAS bugs for values > word size.  */
2012      if (size > UNITS_PER_WORD)
2013        return false;

Caused by:
2004-09-21  Paul Brook  <paul@codesourcery.com>
        
        * varasm.c (default_assemble_integer): Return false for values wider
        than the target word size.  Works around GAS bug.


Reduced testcase:
typedef void (*func_ptr) (void);
extern func_ptr __DTOR_LIST__[];
func_ptr *p = __DTOR_LIST__ + 1;

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pbrook at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-30 18:55:05
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17735


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