public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/30286]  New: [4.1 Regression] Segfault with -O2 -ftrapv
@ 2006-12-24  4:40 pinskia at gcc dot gnu dot org
  2006-12-24  4:40 ` [Bug middle-end/30286] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-24  4:40 UTC (permalink / raw)
  To: gcc-bugs

Testcase:
struct free_block {
  struct free_block *next;
};
struct mm {
  struct free_block *free_arr[25];
};
void get_exact(int i, struct mm *mm, struct free_block *p)
{
  int j;
  for (j=14; j>i; j--)
      mm->free_arr[j] = p->next;
}


-- 
           Summary: [4.1 Regression] Segfault with -O2 -ftrapv
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


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

* [Bug middle-end/30286] [4.1 Regression] Segfault with -O2 -ftrapv
  2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
@ 2006-12-24  4:40 ` pinskia at gcc dot gnu dot org
  2006-12-24  4:41 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-24  4:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-12-24 04:40 -------
*** Bug 30266 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |perm at sics dot se


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


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

* [Bug middle-end/30286] [4.1 Regression] Segfault with -O2 -ftrapv
  2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
  2006-12-24  4:40 ` [Bug middle-end/30286] " pinskia at gcc dot gnu dot org
@ 2006-12-24  4:41 ` pinskia at gcc dot gnu dot org
  2006-12-29 18:45 ` jakub at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-24  4:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-12-24 04:41 -------
Confirmed, I created a new bug because the other one was a mess since the
preprocessed source was not attached but just pasted.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.1.2
      Known to work|                            |4.0.2 4.2.0 4.3.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-12-24 04:41:47
               date|                            |
   Target Milestone|---                         |4.1.2


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


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

* [Bug middle-end/30286] [4.1 Regression] Segfault with -O2 -ftrapv
  2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
  2006-12-24  4:40 ` [Bug middle-end/30286] " pinskia at gcc dot gnu dot org
  2006-12-24  4:41 ` pinskia at gcc dot gnu dot org
@ 2006-12-29 18:45 ` jakub at gcc dot gnu dot org
  2007-01-03  8:04 ` jakub at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-12-29 18:45 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2006-
                   |                            |12/msg01838.html
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-12-24 04:41:47         |2006-12-29 18:45:02
               date|                            |


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


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

* [Bug middle-end/30286] [4.1 Regression] Segfault with -O2 -ftrapv
  2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-12-29 18:45 ` jakub at gcc dot gnu dot org
@ 2007-01-03  8:04 ` jakub at gcc dot gnu dot org
  2007-01-03  8:08 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-01-03  8:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2007-01-03 08:04 -------
Subject: Bug 30286

Author: jakub
Date: Wed Jan  3 08:04:11 2007
New Revision: 120387

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120387
Log:
        PR middle-end/30286
        * gcc.dg/pr30286.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr30286.c
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/30286] [4.1 Regression] Segfault with -O2 -ftrapv
  2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-01-03  8:04 ` jakub at gcc dot gnu dot org
@ 2007-01-03  8:08 ` jakub at gcc dot gnu dot org
  2007-01-03  8:16 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-01-03  8:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2007-01-03 08:07 -------
Subject: Bug 30286

Author: jakub
Date: Wed Jan  3 08:07:33 2007
New Revision: 120390

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120390
Log:
        PR middle-end/30286
        * gcc.dg/pr30286.c: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr30286.c
Modified:
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/30286] [4.1 Regression] Segfault with -O2 -ftrapv
  2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-01-03  8:08 ` jakub at gcc dot gnu dot org
@ 2007-01-03  8:16 ` jakub at gcc dot gnu dot org
  2007-01-03  8:19 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-01-03  8:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2007-01-03 08:15 -------
Subject: Bug 30286

Author: jakub
Date: Wed Jan  3 08:15:24 2007
New Revision: 120393

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120393
Log:
        PR middle-end/30286
        * fold-const.c (negate_expr): Don't call fold_build1
        for INTEGER_CST or REAL_CST.

        * gcc.dg/pr30286.c: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr30286.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/fold-const.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/30286] [4.1 Regression] Segfault with -O2 -ftrapv
  2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-01-03  8:16 ` jakub at gcc dot gnu dot org
@ 2007-01-03  8:19 ` jakub at gcc dot gnu dot org
  2008-11-11 15:54 ` howarth at nitro dot med dot uc dot edu
  2008-11-11 20:27 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-01-03  8:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jakub at gcc dot gnu dot org  2007-01-03 08:19 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to fail|4.1.2                       |
      Known to work|4.0.2 4.2.0 4.3.0           |4.0.2 4.1.2 4.2.0 4.3.0
         Resolution|                            |FIXED


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


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

* [Bug middle-end/30286] [4.1 Regression] Segfault with -O2 -ftrapv
  2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-01-03  8:19 ` jakub at gcc dot gnu dot org
@ 2008-11-11 15:54 ` howarth at nitro dot med dot uc dot edu
  2008-11-11 20:27 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-11-11 15:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from howarth at nitro dot med dot uc dot edu  2008-11-11 15:52 -------
This test case is still failing on i686-apple-darwin9. Shouldn't this PR be
reopened?


-- 


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


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

* [Bug middle-end/30286] [4.1 Regression] Segfault with -O2 -ftrapv
  2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-11-11 15:54 ` howarth at nitro dot med dot uc dot edu
@ 2008-11-11 20:27 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-11-11 20:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2008-11-11 20:26 -------
Please open another bugreport and specify details where it fails (note that
4.1 is no longer maintained)


-- 


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


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

end of thread, other threads:[~2008-11-11 20:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-24  4:40 [Bug middle-end/30286] New: [4.1 Regression] Segfault with -O2 -ftrapv pinskia at gcc dot gnu dot org
2006-12-24  4:40 ` [Bug middle-end/30286] " pinskia at gcc dot gnu dot org
2006-12-24  4:41 ` pinskia at gcc dot gnu dot org
2006-12-29 18:45 ` jakub at gcc dot gnu dot org
2007-01-03  8:04 ` jakub at gcc dot gnu dot org
2007-01-03  8:08 ` jakub at gcc dot gnu dot org
2007-01-03  8:16 ` jakub at gcc dot gnu dot org
2007-01-03  8:19 ` jakub at gcc dot gnu dot org
2008-11-11 15:54 ` howarth at nitro dot med dot uc dot edu
2008-11-11 20:27 ` rguenth 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).