public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
@ 2004-03-29  2:33 ghazi at gcc dot gnu dot org
  2004-03-29  2:36 ` [Bug target/14766] " ghazi at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2004-03-29  2:33 UTC (permalink / raw)
  To: gcc-bugs

Pretty much ever since the testcase gcc.dg/overflow-1.c was added to the 3.3.x 
branch testsuite, I've been seeing it fail on mips-sgi-irix6.5 with -mabi=64.  
Here's the first time I can find it:
http://gcc.gnu.org/ml/gcc-testresults/2003-12/msg00566.html
and it still occurs currently:
http://gcc.gnu.org/ml/gcc-testresults/2004-03/msg01481.html

I get:
overflow-1.c: In function `foo':
overflow-1.c:25: internal compiler error: in expand_simple_unop, at 
optabs.c:2328


To repeat the failure, target mips-sgi-irix6.5 and compile the following .i 
file with -O2 -S -mabi=64.  (You can use a cross-compiler.)

# 1 "overflow-1.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "overflow-1.c"
# 11 "overflow-1.c"
struct S {
  int key;
  int rnext,rprev;
};

void foo(struct S* H)
{
  int i, k;
  for (i=0; i<2; i++){
    struct S* cell=H+k;
    cell->key=i*(0xffffffffUL/2);
    cell->rnext=k+(1-i);
    cell->rprev=k+(1-i);
  }
}

-- 
           Summary: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-
                    1.c with -mabi=64
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
                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=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
@ 2004-03-29  2:36 ` ghazi at gcc dot gnu dot org
  2004-03-29  4:20 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2004-03-29  2:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
  2004-03-29  2:36 ` [Bug target/14766] " ghazi at gcc dot gnu dot org
@ 2004-03-29  4:20 ` pinskia at gcc dot gnu dot org
  2004-10-26 18:04 ` [Bug target/14766] [3.3 only] " rsandifo at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-29  4:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-29 04:20 -------
  optab unop = code_to_optab[(int) code];
  if (unop == 0)
    abort ();

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
  2004-03-29  2:36 ` [Bug target/14766] " ghazi at gcc dot gnu dot org
  2004-03-29  4:20 ` pinskia at gcc dot gnu dot org
@ 2004-10-26 18:04 ` rsandifo at gcc dot gnu dot org
  2004-10-26 18:30 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2004-10-26 18:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rsandifo at gcc dot gnu dot org  2004-10-26 18:04 -------
This was fixed for 3.4 by:

Fri Nov  8 13:01:42 CET 2002  Jan Hubicka  <jh@suse.cz>

	[...]
	* genopinit.c (optabs): Initialize the new optabs.
	* optab.c (init_optabs): Likewise.
	* optabs.h (optab_index): Add OTI_floor, OTI_ceil, OTI_trunc,
	OTI_round, OTI_nearbyint.
	(floor_optab, ceil_optab, trunc_optab, round_optab, nearbyint_optab): New.
	[...]


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.3.5
      Known to work|                            |3.4.0 4.0.0
            Summary|mips-sgi-irix6.5 testsuite  |[3.3 only] mips-sgi-irix6.5
                   |failure in gcc.dg/overflow- |testsuite failure in
                   |1.c with -mabi=64           |gcc.dg/overflow-1.c with -
                   |                            |mabi=64


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-10-26 18:04 ` [Bug target/14766] [3.3 only] " rsandifo at gcc dot gnu dot org
@ 2004-10-26 18:30 ` pinskia at gcc dot gnu dot org
  2004-12-07  7:27 ` echristo at redhat dot com
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-26 18:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-26 18:30 -------
Confirmed then.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-26 18:30:20
               date|                            |
   Target Milestone|---                         |3.3.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-10-26 18:30 ` pinskia at gcc dot gnu dot org
@ 2004-12-07  7:27 ` echristo at redhat dot com
  2004-12-07 13:47 ` kghazi at verizon dot net
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: echristo at redhat dot com @ 2004-12-07  7:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From echristo at redhat dot com  2004-12-07 07:27 -------
I doubt that Jan's patch is likely to be backported to 3.3 so I think we can
resolve the bug with an "upgrade" or "wontfix" for 3.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-12-07  7:27 ` echristo at redhat dot com
@ 2004-12-07 13:47 ` kghazi at verizon dot net
  2004-12-08  0:48 ` echristo at redhat dot com
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: kghazi at verizon dot net @ 2004-12-07 13:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kghazi at verizon dot net  2004-12-07 13:47 -------
Subject: Re:  [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64

Fine with me.  Then we should XFAIL it on the 3.3 branch at mabi=64.  I
don't have access to irix anymore (or any time for GCC at the moment) so I'd
very much appreciate it if someone would take care of this.  Thanks.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-12-07 13:47 ` kghazi at verizon dot net
@ 2004-12-08  0:48 ` echristo at redhat dot com
  2005-02-08 14:37 ` echristo at redhat dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: echristo at redhat dot com @ 2004-12-08  0:48 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
   Last reconfirmed|2004-10-26 18:30:20         |2004-12-08 00:48:03
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-12-08  0:48 ` echristo at redhat dot com
@ 2005-02-08 14:37 ` echristo at redhat dot com
  2005-02-08 14:41 ` kghazi at verizon dot net
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: echristo at redhat dot com @ 2005-02-08 14:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From echristo at redhat dot com  2005-02-08 03:12 -------
It's a legitimate failure, we don't often xfail those - even when there is a
known fix.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-02-08 14:37 ` echristo at redhat dot com
@ 2005-02-08 14:41 ` kghazi at verizon dot net
  2005-02-08 15:06 ` echristo at redhat dot com
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: kghazi at verizon dot net @ 2005-02-08 14:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kghazi at verizon dot net  2005-02-08 03:18 -------
Subject: Re:  [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64

Huh?  It may be a legitimate failure, but you've decided not to fix it.  I
thought that's exactly what an XFAIL is for.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-02-08 14:41 ` kghazi at verizon dot net
@ 2005-02-08 15:06 ` echristo at redhat dot com
  2005-04-30 13:35 ` gdr at gcc dot gnu dot org
  2005-04-30 14:38 ` gdr at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: echristo at redhat dot com @ 2005-02-08 15:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From echristo at redhat dot com  2005-02-08 05:02 -------
Everytime I try to guess what an XFAIL is for other than a "not implemented yet"
failure I get in trouble. I'm willing to go with this if the 3.3 branch manager
approves though (and I can figure out an easy way to conditionalize the failure
on -mabi=64).

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-02-08 15:06 ` echristo at redhat dot com
@ 2005-04-30 13:35 ` gdr at gcc dot gnu dot org
  2005-04-30 14:38 ` gdr at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-04-30 13:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2005-04-30 13:34 -------
Won't fix for 3.3.6

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.3.6                       |3.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Bug target/14766] [3.3 only] mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64
  2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2005-04-30 13:35 ` gdr at gcc dot gnu dot org
@ 2005-04-30 14:38 ` gdr at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-04-30 14:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2005-04-30 14:38 -------
fixed in 3.4.0. won't fix for 3.3.6

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14766


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-04-30 14:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-29  2:33 [Bug target/14766] New: mips-sgi-irix6.5 testsuite failure in gcc.dg/overflow-1.c with -mabi=64 ghazi at gcc dot gnu dot org
2004-03-29  2:36 ` [Bug target/14766] " ghazi at gcc dot gnu dot org
2004-03-29  4:20 ` pinskia at gcc dot gnu dot org
2004-10-26 18:04 ` [Bug target/14766] [3.3 only] " rsandifo at gcc dot gnu dot org
2004-10-26 18:30 ` pinskia at gcc dot gnu dot org
2004-12-07  7:27 ` echristo at redhat dot com
2004-12-07 13:47 ` kghazi at verizon dot net
2004-12-08  0:48 ` echristo at redhat dot com
2005-02-08 14:37 ` echristo at redhat dot com
2005-02-08 14:41 ` kghazi at verizon dot net
2005-02-08 15:06 ` echristo at redhat dot com
2005-04-30 13:35 ` gdr at gcc dot gnu dot org
2005-04-30 14:38 ` 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).