public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14484] New: -mabi=64 and -O -> as error
@ 2004-03-08 17:21 tim at desert dot net
2004-03-08 17:32 ` [Bug target/14484] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: tim at desert dot net @ 2004-03-08 17:21 UTC (permalink / raw)
To: gcc-bugs
$ uname -a
IRIX64 hostname 6.5 10070055 IP35
$ gcc -O -mabi=64 -c problem.c
as: Error: /usr/tmp/ccj6mI7m.s, line 1486: Macro instruction used in branch
delay slot
$ gcc -O2 -mabi=64 -c problem.c
$ gcc -v
Reading specs from
/home/projects/foo/install/lib/gcc-lib/mips-sgi-irix6.5/3.3.3/specs
Configured with: ./configure --prefix=/home/projects/foo/install
Thread model: single
gcc version 3.3.3
http://www.magnesium.net/~thim/tmp/problem.c
This file comes from 'gcc -E isam/_packrec.c', from the MySQL 4.1.1
distribution. This is a client's machine, so unfortunately I can't offer you a
login. There's an easy work-around (use -O2 or -O3 instead of -O), so this
isn't critical for me.
Thanks!
--
Summary: -mabi=64 and -O -> as error
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tim at desert dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: mips-sgi-irix6.5
GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14484
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14484] -mabi=64 and -O -> as error
2004-03-08 17:21 [Bug c/14484] New: -mabi=64 and -O -> as error tim at desert dot net
@ 2004-03-08 17:32 ` pinskia at gcc dot gnu dot org
2004-03-08 17:41 ` tim at desert dot net
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-08 17:32 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |target
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14484
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14484] -mabi=64 and -O -> as error
2004-03-08 17:21 [Bug c/14484] New: -mabi=64 and -O -> as error tim at desert dot net
2004-03-08 17:32 ` [Bug target/14484] " pinskia at gcc dot gnu dot org
@ 2004-03-08 17:41 ` tim at desert dot net
2004-06-07 15:18 ` [Bug target/14484] [3.3 regression] " reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tim at desert dot net @ 2004-03-08 17:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tim at desert dot net 2004-03-08 17:41 -------
Created an attachment (id=5884)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5884&action=view)
test case file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14484
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14484] [3.3 regression] -mabi=64 and -O -> as error
2004-03-08 17:21 [Bug c/14484] New: -mabi=64 and -O -> as error tim at desert dot net
2004-03-08 17:32 ` [Bug target/14484] " pinskia at gcc dot gnu dot org
2004-03-08 17:41 ` tim at desert dot net
@ 2004-06-07 15:18 ` reichelt at gcc dot gnu dot org
2004-06-11 22:22 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-06-07 15:18 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14484] [3.3 regression] -mabi=64 and -O -> as error
2004-03-08 17:21 [Bug c/14484] New: -mabi=64 and -O -> as error tim at desert dot net
` (2 preceding siblings ...)
2004-06-07 15:18 ` [Bug target/14484] [3.3 regression] " reichelt at gcc dot gnu dot org
@ 2004-06-11 22:22 ` pinskia at gcc dot gnu dot org
2004-09-28 13:26 ` gdr at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-11 22:22 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.4 |3.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14484
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14484] [3.3 regression] -mabi=64 and -O -> as error
2004-03-08 17:21 [Bug c/14484] New: -mabi=64 and -O -> as error tim at desert dot net
` (3 preceding siblings ...)
2004-06-11 22:22 ` pinskia at gcc dot gnu dot org
@ 2004-09-28 13:26 ` gdr at gcc dot gnu dot org
2004-09-28 13:29 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-09-28 13:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2004-09-28 13:26 -------
slip.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|3.3.5 |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14484
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14484] [3.3 regression] -mabi=64 and -O -> as error
2004-03-08 17:21 [Bug c/14484] New: -mabi=64 and -O -> as error tim at desert dot net
` (4 preceding siblings ...)
2004-09-28 13:26 ` gdr at gcc dot gnu dot org
@ 2004-09-28 13:29 ` pinskia at gcc dot gnu dot org
2004-12-28 2:14 ` pinskia at gcc dot gnu dot org
2005-01-21 4:13 ` gdr at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-28 13:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-28 13:29 -------
I am going to assume you did not mean to close this bug, only to move the target milestone.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14484
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14484] [3.3 regression] -mabi=64 and -O -> as error
2004-03-08 17:21 [Bug c/14484] New: -mabi=64 and -O -> as error tim at desert dot net
` (5 preceding siblings ...)
2004-09-28 13:29 ` pinskia at gcc dot gnu dot org
@ 2004-12-28 2:14 ` pinskia at gcc dot gnu dot org
2005-01-21 4:13 ` gdr at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-28 2:14 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14484
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/14484] [3.3 regression] -mabi=64 and -O -> as error
2004-03-08 17:21 [Bug c/14484] New: -mabi=64 and -O -> as error tim at desert dot net
` (6 preceding siblings ...)
2004-12-28 2:14 ` pinskia at gcc dot gnu dot org
@ 2005-01-21 4:13 ` gdr at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-01-21 4:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2005-01-21 04:13 -------
I don't think this bug will be fixed for 3.3.x.
The testcas is known to work 3.4.x (higher I suppose).
So closing as won't fix.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14484
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-01-21 4:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-08 17:21 [Bug c/14484] New: -mabi=64 and -O -> as error tim at desert dot net
2004-03-08 17:32 ` [Bug target/14484] " pinskia at gcc dot gnu dot org
2004-03-08 17:41 ` tim at desert dot net
2004-06-07 15:18 ` [Bug target/14484] [3.3 regression] " reichelt at gcc dot gnu dot org
2004-06-11 22:22 ` pinskia at gcc dot gnu dot org
2004-09-28 13:26 ` gdr at gcc dot gnu dot org
2004-09-28 13:29 ` pinskia at gcc dot gnu dot org
2004-12-28 2:14 ` pinskia at gcc dot gnu dot org
2005-01-21 4:13 ` gdr at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).