This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/4471: Bad code generation on Solaris 8 by gcc 3.0.1
- From: Glenn Chambers <gchamber at bright dot net>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 28 Feb 2002 02:56:01 -0000
- Subject: Re: c/4471: Bad code generation on Solaris 8 by gcc 3.0.1
- Reply-to: Glenn Chambers <gchamber at bright dot net>
The following reply was made to PR c/4471; it has been noted by GNATS.
From: Glenn Chambers <gchamber@bright.net>
To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
gchamber@bright.net, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c/4471: Bad code generation on Solaris 8 by gcc 3.0.1
Date: Wed, 27 Feb 2002 21:51:30 -0500
The bug still exists im 3.0.4 as bootstrapped by 3.0.1. I do not have a
machine where I can test the 3.1 branch.
Adding the following text to the cg_cast.i file converts it to a
simple link test. If the program links, the bug has not triggered.
As wth 3.0.1, compiling at -O2 fails and compiling at the default
optimization level succeeds.
Glenn Chambers
Toledo, OH
int ILDecimalFromDouble(ILDecimal *value, ILDouble floatValue) {}
int ILDecimalFromFloat(ILDecimal *value, ILFloat floatValue) {}
void ILDecimalFromInt32(ILDecimal *value, ILInt32 intValue) {}
void ILDecimalFromInt64(ILDecimal *value, ILInt64 intValue) {}
void ILDecimalFromUInt32(ILDecimal *value, ILUInt32 intValue) {}
void ILDecimalFromUInt64(ILDecimal *value, ILUInt64 intValue) {}
int ILDecimalIsZero(const ILDecimal *value) {}
ILDouble ILDecimalToDouble(const ILDecimal *value) {}
ILFloat ILDecimalToFloat(const ILDecimal *value) {}
int ILDecimalToInt64(const ILDecimal *value, ILInt64 *intValue) {}
int ILDecimalToUInt64(const ILDecimal *value, ILUInt64 *intValue) {}
void ILDecimalTruncate(ILDecimal *result, const ILDecimal *value) {}
void ILGenCallByName(ILGenInfo *info, const char *name) {}
void ILGenInt32(ILGenInfo *info, ILInt32 value) {}
void ILGenJump(ILGenInfo *info, int opcode, ILLabel *label) {}
void ILGenLabel(ILGenInfo *info, ILLabel *label) {}
void ILGenLoadFloat32(ILGenInfo *info, ILFloat value) {}
void ILGenNewObj(ILGenInfo *info, const char *className,
const char *signature) {}
void ILGenSimple(ILGenInfo *info, int opcode) {}
void ILGenUInt64(ILGenInfo *info, ILUInt64 value) {}
int main(int argc, char *argv) {
}