public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/35011]  New: [4.3 regression] ICE with -fcheck-data-deps
@ 2008-01-29 10:02 reichelt at gcc dot gnu dot org
  2008-01-29 10:06 ` [Bug tree-optimization/35011] " reichelt at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-29 10:02 UTC (permalink / raw)
  To: gcc-bugs

The following testcase triggers an ICE when compiled with
"-O3 -fcheck-data-deps":

==========================================================================
double foo(const double* p0, const double* p1, const double* q0)
{
  double d;
  for (; p0 != p1; ++p0, ++q0)
    d += *p0 * *q0;
  return d;
}

struct A
{
  double x[3];
  const double* begin() const { return x; }
};

struct B
{
  A a0, a1;
  double d;
  B(const A&);
};

B::B(const A& a) : a0(a), a1(a), d(foo(a0.begin(), a0.begin()+3, a1.begin()))
{}
==========================================================================

(Number of distance vectors differ: Banerjee has 1, Omega has 0.
Banerjee dist vectors:
  3
Omega dist vectors:
data dependence relation:
(Data Dep:
  access_fn_A: {0B, +, 8}_1
  access_fn_B: {24B, +, 8}_1

 (subscript
  iterations_that_access_an_element_twice_in_A: [3 + 1 * x_1]
  last_conflict: 0
  iterations_that_access_an_element_twice_in_B: [0 + 1 * x_1]
  last_conflict: 0
  (Subscript distance: 3
  )
 )
  inner loop index: 0
  loop nest: (1 )
)
)
bug.cc: In constructor 'B::B(const A&)':
bug.cc:22: internal compiler error: in compute_affine_dependence, at
tree-data-ref.c:3849
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3 regression] ICE with -fcheck-data-deps
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug tree-optimization/35011] [4.3 regression] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
@ 2008-01-29 10:06 ` reichelt at gcc dot gnu dot org
  2008-01-29 14:02 ` jakub at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-29 10:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


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


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

* [Bug tree-optimization/35011] [4.3 regression] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
  2008-01-29 10:06 ` [Bug tree-optimization/35011] " reichelt at gcc dot gnu dot org
@ 2008-01-29 14:02 ` jakub at gcc dot gnu dot org
  2008-01-29 18:25 ` sebpop at gmail dot com
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-01-29 14:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2008-01-29 13:34 -------
P4, unless you can reproduce without -fcheck-data-deps.  -fcheck-data-deps is a
compiler debugging option.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


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

* [Bug tree-optimization/35011] [4.3 regression] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
  2008-01-29 10:06 ` [Bug tree-optimization/35011] " reichelt at gcc dot gnu dot org
  2008-01-29 14:02 ` jakub at gcc dot gnu dot org
@ 2008-01-29 18:25 ` sebpop at gmail dot com
  2008-03-15  0:44 ` [Bug tree-optimization/35011] [4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: sebpop at gmail dot com @ 2008-01-29 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from sebpop at gmail dot com  2008-01-29 17:40 -------
Subject: Re:  [4.3 regression] ICE with -fcheck-data-deps

On 29 Jan 2008 13:34:07 -0000, jakub at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> P4, unless you can reproduce without -fcheck-data-deps.  -fcheck-data-deps is a
> compiler debugging option.
>

Right, this bug is not very important.  I will propose a fix for 4.4,
and I will also
run the specs with this option to stabilize the omega dependence analysis, that
should replace a part of the old data dep tester in 4.4.


-- 


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


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

* [Bug tree-optimization/35011] [4.3/4.4 regression] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-01-29 18:25 ` sebpop at gmail dot com
@ 2008-03-15  0:44 ` jsm28 at gcc dot gnu dot org
  2008-06-06 15:05 ` rguenth at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-03-15  0:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jsm28 at gcc dot gnu dot org  2008-03-15 00:42 -------
Update milestone after 4.3.0 release.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.0                       |4.3.1


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


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

* [Bug tree-optimization/35011] [4.3/4.4 regression] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-03-15  0:44 ` [Bug tree-optimization/35011] [4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-06-06 15:05 ` rguenth at gcc dot gnu dot org
  2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-06 15:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-06-06 14:58 -------
4.3.1 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.1                       |4.3.2


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


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

* [Bug tree-optimization/35011] [4.3/4.4 regression] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-06-06 15:05 ` rguenth at gcc dot gnu dot org
@ 2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
  2008-09-30 21:56 ` [Bug tree-optimization/35011] [4.3 " reichelt at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-08-27 22:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2008-08-27 22:03 -------
4.3.2 is released, changing milestones to 4.3.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.2                       |4.3.3


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


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

* [Bug tree-optimization/35011] [4.3 regression] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
@ 2008-09-30 21:56 ` reichelt at gcc dot gnu dot org
  2008-11-11 20:40 ` [Bug tree-optimization/35011] " reichelt at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-09-30 21:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from reichelt at gcc dot gnu dot org  2008-09-30 21:55 -------
Seems as if this one got fixed on mainline with the tuples merge.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3/4.4 regression] ICE    |[4.3 regression] ICE with -
                   |with -fcheck-data-deps      |fcheck-data-deps


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


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

* [Bug tree-optimization/35011] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-09-30 21:56 ` [Bug tree-optimization/35011] [4.3 " reichelt at gcc dot gnu dot org
@ 2008-11-11 20:40 ` reichelt at gcc dot gnu dot org
  2009-03-28 20:34 ` reichelt at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-11-11 20:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from reichelt at gcc dot gnu dot org  2008-11-11 20:39 -------
The bug reappeared on mainline.
It's not a regression, because the testcase crashes since the introduction
of -fcheck-data-deps in GCC 4.3.0.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3 regression] ICE with - |ICE with -fcheck-data-deps
                   |fcheck-data-deps            |
   Target Milestone|4.3.3                       |---


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


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

* [Bug tree-optimization/35011] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-11-11 20:40 ` [Bug tree-optimization/35011] " reichelt at gcc dot gnu dot org
@ 2009-03-28 20:34 ` reichelt at gcc dot gnu dot org
  2009-03-28 23:26 ` hjl dot tools at gmail dot com
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-03-28 20:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from reichelt at gcc dot gnu dot org  2009-03-28 20:34 -------
The bug disappeared on the trunk between 2009-03-15 and 2009-03-20.
Hopefully it doesn't reappear again.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


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

* [Bug tree-optimization/35011] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2009-03-28 20:34 ` reichelt at gcc dot gnu dot org
@ 2009-03-28 23:26 ` hjl dot tools at gmail dot com
  2009-03-29  2:16 ` sebpop at gmail dot com
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-03-28 23:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from hjl dot tools at gmail dot com  2009-03-28 23:26 -------
(In reply to comment #8)
> The bug disappeared on the trunk between 2009-03-15 and 2009-03-20.
> Hopefully it doesn't reappear again.
> 

We need to check in a testcase to ensure it won't reappear again.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


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


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

* [Bug tree-optimization/35011] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2009-03-28 23:26 ` hjl dot tools at gmail dot com
@ 2009-03-29  2:16 ` sebpop at gmail dot com
  2009-04-01 16:30 ` hjl at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: sebpop at gmail dot com @ 2009-03-29  2:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from sebpop at gmail dot com  2009-03-29 02:15 -------
Subject: Re:  ICE with -fcheck-data-deps

> The bug disappeared on the trunk between 2009-03-15 and 2009-03-20.

This bug might have been fixed by PR39500.

Sebastian


-- 


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


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

* [Bug tree-optimization/35011] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2009-03-29  2:16 ` sebpop at gmail dot com
@ 2009-04-01 16:30 ` hjl at gcc dot gnu dot org
  2009-04-01 16:32 ` hjl dot tools at gmail dot com
  2009-04-01 16:32 ` hjl at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-04-01 16:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from hjl at gcc dot gnu dot org  2009-04-01 16:29 -------
Subject: Bug 35011

Author: hjl
Date: Wed Apr  1 16:29:28 2009
New Revision: 145413

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145413
Log:
2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

        PR tree-optimization/35011
        * g++.dg/other/pr35011.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/other/pr35011.C
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug tree-optimization/35011] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2009-04-01 16:32 ` hjl dot tools at gmail dot com
@ 2009-04-01 16:32 ` hjl at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-04-01 16:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from hjl at gcc dot gnu dot org  2009-04-01 16:31 -------
Subject: Bug 35011

Author: hjl
Date: Wed Apr  1 16:31:29 2009
New Revision: 145414

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145414
Log:
2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2009-04-01  H.J. Lu  <hongjiu.lu@intel.com>

        PR tree-optimization/35011
        * g++.dg/other/pr35011.C: New.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/other/pr35011.C
      - copied unchanged from r145413,
trunk/gcc/testsuite/g++.dg/other/pr35011.C
Modified:
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug tree-optimization/35011] ICE with -fcheck-data-deps
  2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2009-04-01 16:30 ` hjl at gcc dot gnu dot org
@ 2009-04-01 16:32 ` hjl dot tools at gmail dot com
  2009-04-01 16:32 ` hjl at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-01 16:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from hjl dot tools at gmail dot com  2009-04-01 16:32 -------
Fixed.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.4.0 4.5.0
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-04-01 16:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-29 10:02 [Bug tree-optimization/35011] New: [4.3 regression] ICE with -fcheck-data-deps reichelt at gcc dot gnu dot org
2008-01-29 10:06 ` [Bug tree-optimization/35011] " reichelt at gcc dot gnu dot org
2008-01-29 14:02 ` jakub at gcc dot gnu dot org
2008-01-29 18:25 ` sebpop at gmail dot com
2008-03-15  0:44 ` [Bug tree-optimization/35011] [4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-06-06 15:05 ` rguenth at gcc dot gnu dot org
2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
2008-09-30 21:56 ` [Bug tree-optimization/35011] [4.3 " reichelt at gcc dot gnu dot org
2008-11-11 20:40 ` [Bug tree-optimization/35011] " reichelt at gcc dot gnu dot org
2009-03-28 20:34 ` reichelt at gcc dot gnu dot org
2009-03-28 23:26 ` hjl dot tools at gmail dot com
2009-03-29  2:16 ` sebpop at gmail dot com
2009-04-01 16:30 ` hjl at gcc dot gnu dot org
2009-04-01 16:32 ` hjl dot tools at gmail dot com
2009-04-01 16:32 ` hjl 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).