public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/43482]  New: Fix *.log tests merged output containing "==="
@ 2010-03-22 16:30 jan dot kratochvil at redhat dot com
  2010-03-22 16:30 ` [Bug testsuite/43482] " jan dot kratochvil at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-03-22 16:30 UTC (permalink / raw)
  To: gcc-bugs

Posted at, creating PR as its tracker:
  http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00309.html

while *.sum files were OK the *.log files sometimes miss the content present
in *.sum results.  For example [GDB gdb.base/bitfields.exp output was missing
while gdb.base/bitfields.exp output was present].

It got broken if arbitrary "===" string has appeared in the tests output.

Grepped dejagnu the proposed more strict pattern should match fine:

$ grep === `rpm -ql dejagnu`
/usr/share/dejagnu/framework.exp:       clone_output "\n\t\t=== $tool Summary
for $current_target_name ===\n"
/usr/share/dejagnu/framework.exp:       clone_output "\n\t\t=== $tool Summary
===\n"
/usr/share/dejagnu/runtest.exp:clone_output "\n\t\t=== $tool tests ===\n"

For GDB `grep '^Running ' gdb.log | wc -l' changes 1770 -> 1818.
For GCC `cat *.log | wc -l' changes 444633 -> 482178.
(checked the output change looks OK for both cases)

I am not aware why there was "/\===/" instead of just "/===/".

contrib/
2010-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>

        Fix *.log tests output containing "===".
        * dg-extract-results.sh (/\===/): Rename to ...
        (/^\t\t=== .* ===$/): ... this pattern.


-- 
           Summary: Fix *.log tests merged output containing "==="
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jan dot kratochvil at redhat dot com


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


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

* [Bug testsuite/43482] Fix *.log tests merged output containing "==="
  2010-03-22 16:30 [Bug testsuite/43482] New: Fix *.log tests merged output containing "===" jan dot kratochvil at redhat dot com
@ 2010-03-22 16:30 ` jan dot kratochvil at redhat dot com
  2010-03-22 17:56 ` jan dot kratochvil at redhat dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-03-22 16:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jan dot kratochvil at redhat dot com  2010-03-22 16:30 -------
Created an attachment (id=20162)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20162&action=view)
Fix.


-- 


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


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

* [Bug testsuite/43482] Fix *.log tests merged output containing "==="
  2010-03-22 16:30 [Bug testsuite/43482] New: Fix *.log tests merged output containing "===" jan dot kratochvil at redhat dot com
  2010-03-22 16:30 ` [Bug testsuite/43482] " jan dot kratochvil at redhat dot com
@ 2010-03-22 17:56 ` jan dot kratochvil at redhat dot com
  2010-04-22 18:03 ` irar at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-03-22 17:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jan dot kratochvil at redhat dot com  2010-03-22 17:55 -------
Checked-in:
http://gcc.gnu.org/viewcvs?view=revision&revision=157645

2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>

        Fix *.log tests output containing "===".
        * dg-extract-results.sh (/\===/): Rename to ...
        (/^\t\t=== .* ===$/): ... this pattern.


-- 

jan dot kratochvil at redhat dot com changed:

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


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


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

* [Bug testsuite/43482] Fix *.log tests merged output containing "==="
  2010-03-22 16:30 [Bug testsuite/43482] New: Fix *.log tests merged output containing "===" jan dot kratochvil at redhat dot com
  2010-03-22 16:30 ` [Bug testsuite/43482] " jan dot kratochvil at redhat dot com
  2010-03-22 17:56 ` jan dot kratochvil at redhat dot com
@ 2010-04-22 18:03 ` irar at gcc dot gnu dot org
  2010-04-22 18:09 ` jan dot kratochvil at redhat dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: irar at gcc dot gnu dot org @ 2010-04-22 18:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from irar at gcc dot gnu dot org  2010-04-22 18:03 -------
Subject: Bug 43482

Author: irar
Date: Thu Apr 22 18:03:01 2010
New Revision: 158650

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158650
Log:

        PR tree-optimization/43482
        * tree-vect-loop.c (vect_create_epilog_for_reduction): Handle 
        loop unrolling in update of exit phis. Fix comment.
        * tree-vect-slp.c (vect_analyze_slp): Check that there are at
        least two reduction statements in the loop before starting SLP 
        analysis.


Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr43842.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c
    trunk/gcc/tree-vect-slp.c


-- 


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


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

* [Bug testsuite/43482] Fix *.log tests merged output containing "==="
  2010-03-22 16:30 [Bug testsuite/43482] New: Fix *.log tests merged output containing "===" jan dot kratochvil at redhat dot com
                   ` (2 preceding siblings ...)
  2010-04-22 18:03 ` irar at gcc dot gnu dot org
@ 2010-04-22 18:09 ` jan dot kratochvil at redhat dot com
  2010-04-22 18:10 ` jan dot kratochvil at redhat dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-22 18:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jan dot kratochvil at redhat dot com  2010-04-22 18:09 -------
Comment 3 has a typo, it should have been for: PR tree-optimization/43842


-- 

jan dot kratochvil at redhat dot com changed:

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


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


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

* [Bug testsuite/43482] Fix *.log tests merged output containing "==="
  2010-03-22 16:30 [Bug testsuite/43482] New: Fix *.log tests merged output containing "===" jan dot kratochvil at redhat dot com
                   ` (3 preceding siblings ...)
  2010-04-22 18:09 ` jan dot kratochvil at redhat dot com
@ 2010-04-22 18:10 ` jan dot kratochvil at redhat dot com
  2010-04-22 18:11 ` irar at il dot ibm dot com
  2010-04-22 18:23 ` irar at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-22 18:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jan dot kratochvil at redhat dot com  2010-04-22 18:10 -------
But this Bug has been already fixed in Comment 2.


-- 

jan dot kratochvil at redhat dot com changed:

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


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


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

* [Bug testsuite/43482] Fix *.log tests merged output containing "==="
  2010-03-22 16:30 [Bug testsuite/43482] New: Fix *.log tests merged output containing "===" jan dot kratochvil at redhat dot com
                   ` (4 preceding siblings ...)
  2010-04-22 18:10 ` jan dot kratochvil at redhat dot com
@ 2010-04-22 18:11 ` irar at il dot ibm dot com
  2010-04-22 18:23 ` irar at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: irar at il dot ibm dot com @ 2010-04-22 18:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from irar at il dot ibm dot com  2010-04-22 18:11 -------
Yes, sorry about that. I updated the ChangeLogs.
Ira


-- 


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


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

* [Bug testsuite/43482] Fix *.log tests merged output containing "==="
  2010-03-22 16:30 [Bug testsuite/43482] New: Fix *.log tests merged output containing "===" jan dot kratochvil at redhat dot com
                   ` (5 preceding siblings ...)
  2010-04-22 18:11 ` irar at il dot ibm dot com
@ 2010-04-22 18:23 ` irar at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: irar at gcc dot gnu dot org @ 2010-04-22 18:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from irar at gcc dot gnu dot org  2010-04-22 18:23 -------
Subject: Bug 43482

Author: irar
Revision: 158650
Modified property: svn:log

Modified: svn:log at Thu Apr 22 18:22:54 2010
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Thu Apr 22 18:22:54 2010
@@ -1,5 +1,5 @@

-       PR tree-optimization/43482
+       PR tree-optimization/43842
        * tree-vect-loop.c (vect_create_epilog_for_reduction): Handle 
        loop unrolling in update of exit phis. Fix comment.
        * tree-vect-slp.c (vect_analyze_slp): Check that there are at


-- 


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


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

end of thread, other threads:[~2010-04-22 18:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-22 16:30 [Bug testsuite/43482] New: Fix *.log tests merged output containing "===" jan dot kratochvil at redhat dot com
2010-03-22 16:30 ` [Bug testsuite/43482] " jan dot kratochvil at redhat dot com
2010-03-22 17:56 ` jan dot kratochvil at redhat dot com
2010-04-22 18:03 ` irar at gcc dot gnu dot org
2010-04-22 18:09 ` jan dot kratochvil at redhat dot com
2010-04-22 18:10 ` jan dot kratochvil at redhat dot com
2010-04-22 18:11 ` irar at il dot ibm dot com
2010-04-22 18:23 ` irar 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).