This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/19183] [3.4 Regression] ICE with -fPIC
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jan 2005 12:07:17 -0000
- Subject: [Bug ada/19183] [3.4 Regression] ICE with -fPIC
- References: <20041228230421.19183.ddavenpo@ball.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-01-02 12:07 -------
The problem comes from the address representation clauses:
Parameter_Table : PARAMETER_TABLE_TYPE;
for Parameter_Table'Address use Full_Parameter_Table.Element'Address;
Parameter_Byte_Table : PARAMETER_BYTES_TABLE_TYPE;
for Parameter_Byte_Table'Address use Parameter_Table'Address;
With -fPIC, the addresses are not compile-time constants anymore so the
elaboration must be performed slightly differently.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19183