public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/21443] New: ssa-ccp-9.c etc is broken
@ 2005-05-07 13:21 kazu at cs dot umass dot edu
  2005-05-07 16:56 ` [Bug testsuite/21443] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2005-05-07 13:21 UTC (permalink / raw)
  To: gcc-bugs

It uses -O1 -fdump-tree-store_ccp and tests for lack of link_error,
but note that store_ccp is enabled with -O2 or higher.

So the testcase is testing something that happens in
some other optimizer like DOM.

-- 
           Summary: ssa-ccp-9.c etc is broken
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kazu at cs dot umass dot edu
                CC: dnovillo at redhat dot com,gcc-bugs at gcc dot gnu dot
                    org


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


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

* [Bug testsuite/21443] ssa-ccp-9.c etc is broken
  2005-05-07 13:21 [Bug testsuite/21443] New: ssa-ccp-9.c etc is broken kazu at cs dot umass dot edu
@ 2005-05-07 16:56 ` pinskia at gcc dot gnu dot org
  2005-05-07 16:58 ` kazu at cs dot umass dot edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-07 16:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-07 16:56 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-07 16:56:42
               date|                            |


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


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

* [Bug testsuite/21443] ssa-ccp-9.c etc is broken
  2005-05-07 13:21 [Bug testsuite/21443] New: ssa-ccp-9.c etc is broken kazu at cs dot umass dot edu
  2005-05-07 16:56 ` [Bug testsuite/21443] " pinskia at gcc dot gnu dot org
@ 2005-05-07 16:58 ` kazu at cs dot umass dot edu
  2005-05-07 17:02 ` kazu at cs dot umass dot edu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2005-05-07 16:58 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |kazu at cs dot umass dot edu
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug testsuite/21443] ssa-ccp-9.c etc is broken
  2005-05-07 13:21 [Bug testsuite/21443] New: ssa-ccp-9.c etc is broken kazu at cs dot umass dot edu
  2005-05-07 16:56 ` [Bug testsuite/21443] " pinskia at gcc dot gnu dot org
  2005-05-07 16:58 ` kazu at cs dot umass dot edu
@ 2005-05-07 17:02 ` kazu at cs dot umass dot edu
  2005-05-10  0:58 ` [Bug testsuite/21443] Most testcases with -fdump-tree-store_ccp aren't actually testing CCP itself cvs-commit at gcc dot gnu dot org
  2005-05-10  0:59 ` kazu at cs dot umass dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2005-05-07 17:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kazu at cs dot umass dot edu  2005-05-07 17:02 -------
A quick grep for fdump-tree-store_ccp shows

20030731-2.c:/* { dg-options "-O1 -fdump-tree-store_ccp" } */
20030917-1.c:/* { dg-options "-O1 -fdump-tree-store_ccp" } */
20030917-3.c:/* { dg-options "-O1 -fno-tree-dominator-opts
-fdump-tree-store_ccp" } */
20040721-1.c:/* { dg-options "-O2 -fdump-tree-store_ccp-vops" } */
ssa-ccp-1.c:/* { dg-options "-O1 -fdump-tree-store_ccp" } */
ssa-ccp-2.c:/* { dg-options "-O1 -fdump-tree-store_ccp" } */
ssa-ccp-3.c:/* { dg-options "-O1 -fdump-tree-store_ccp" } */
ssa-ccp-7.c:/* { dg-options "-O1 -fdump-tree-store_ccp" } */
ssa-ccp-9.c:/* { dg-options "-O1 -fdump-tree-store_ccp" } */

So store_ccp isn't enabled in most of these.


-- 


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


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

* [Bug testsuite/21443] Most testcases with -fdump-tree-store_ccp aren't actually testing CCP itself.
  2005-05-07 13:21 [Bug testsuite/21443] New: ssa-ccp-9.c etc is broken kazu at cs dot umass dot edu
                   ` (2 preceding siblings ...)
  2005-05-07 17:02 ` kazu at cs dot umass dot edu
@ 2005-05-10  0:58 ` cvs-commit at gcc dot gnu dot org
  2005-05-10  0:59 ` kazu at cs dot umass dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-10  0:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-10 00:57 -------
Subject: Bug 21443

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	kazu@gcc.gnu.org	2005-05-10 00:57:29

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.dg/tree-ssa: 20030731-2.c 20030917-1.c 
	                               20030917-3.c 20040721-1.c 
	                               ssa-ccp-1.c ssa-ccp-2.c 
	                               ssa-ccp-3.c ssa-ccp-7.c 
	                               ssa-ccp-9.c 

Log message:
	PR testsuite/21443
	* gcc.dg/tree-ssa/20030731-2.c, gcc.dg/tree-ssa/20030917-1.c,
	gcc.dg/tree-ssa/20030917-3.c, gcc.dg/tree-ssa/ssa-ccp-1.c,
	gcc.dg/tree-ssa/ssa-ccp-2.c, gcc.dg/tree-ssa/ssa-ccp-3.c,
	gcc.dg/tree-ssa/ssa-ccp-7.c, gcc.dg/tree-ssa/ssa-ccp-9.c:
	Change -O1 to -O2.
	* gcc.dg/tree-ssa/20040721-1.c: Change -O1 to -O2.  Add
	-fno-tree-dominator-opts.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5452&r2=1.5453
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/20030731-2.c.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/20030917-1.c.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/20030917-3.c.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/20040721-1.c.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-1.c.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-2.c.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-3.c.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-7.c.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-9.c.diff?cvsroot=gcc&r1=1.4&r2=1.5



-- 


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


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

* [Bug testsuite/21443] Most testcases with -fdump-tree-store_ccp aren't actually testing CCP itself.
  2005-05-07 13:21 [Bug testsuite/21443] New: ssa-ccp-9.c etc is broken kazu at cs dot umass dot edu
                   ` (3 preceding siblings ...)
  2005-05-10  0:58 ` [Bug testsuite/21443] Most testcases with -fdump-tree-store_ccp aren't actually testing CCP itself cvs-commit at gcc dot gnu dot org
@ 2005-05-10  0:59 ` kazu at cs dot umass dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: kazu at cs dot umass dot edu @ 2005-05-10  0:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kazu at cs dot umass dot edu  2005-05-10 00:59 -------
Just checked in a patch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2005-05-10  0:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-07 13:21 [Bug testsuite/21443] New: ssa-ccp-9.c etc is broken kazu at cs dot umass dot edu
2005-05-07 16:56 ` [Bug testsuite/21443] " pinskia at gcc dot gnu dot org
2005-05-07 16:58 ` kazu at cs dot umass dot edu
2005-05-07 17:02 ` kazu at cs dot umass dot edu
2005-05-10  0:58 ` [Bug testsuite/21443] Most testcases with -fdump-tree-store_ccp aren't actually testing CCP itself cvs-commit at gcc dot gnu dot org
2005-05-10  0:59 ` kazu at cs dot umass dot edu

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).