This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14484] [3.3 regression] -mabi=64 and -O -> as error
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2004 15:17:59 -0000
- Subject: [Bug target/14484] [3.3 regression] -mabi=64 and -O -> as error
- References: <20040308172113.14484.tim@desert.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-06-07 15:17 -------
Confirmed.
Here's a short testcase that causes assembler errors also for -O2 and -O3.
The 3.3 branch is affected, but not the 3.4 branch. I can't test mainline
right now.
===================================================================
int x[]= { 0 };
void foo(short **p, int *a, int *b, int i, unsigned u)
{
while (i+1)
if (i)
**p= x[0];
else
**p= (u ? ((*a >> *b-i) & x[u]) : bar()) + 32768 + i;
}
===================================================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Known to fail| |3.1 3.2.3 3.3.4
Known to work| |3.0.4 3.4.0
Last reconfirmed|0000-00-00 00:00:00 |2004-06-07 15:17:58
date| |
Summary|-mabi=64 and -O -> as error |[3.3 regression] -mabi=64
| |and -O -> as error
Target Milestone|--- |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14484