This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2004 18:55:07 -0000
- Subject: [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
- References: <20040929184652.17735.berndtrog@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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