public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/52656] New: [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs
@ 2012-03-21 15:51 ro at gcc dot gnu.org
  2012-03-21 15:54 ` [Bug middle-end/52656] " ebotcazou at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2012-03-21 15:51 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52656
           Summary: [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
                CC: ebotcazou@gcc.gnu.org, rguenth@gcc.gnu.org
              Host: sparc-sun-solaris2*
            Target: sparc-sun-solaris2*
             Build: sparc-sun-solaris2*


As initially mentioned in PR testsuite/52614, gcc.target/sparc/fpmul-2.c has
recently started to fail:

FAIL: gcc.target/sparc/fpmul-2.c scan-tree-dump optimized "{ 2, 4, 6, 8 }"

It turned out that the failure is unrelated to the other ones, and a reghunt
revealed the culprit patch:

2012-03-16  Richard Guenther  <rguenther@suse.de>

        * tree.h (TREE_VECTOR_CST_ELTS): Remove.
        (VECTOR_CST_NELTS, VECTOR_CST_ELTS, VECTOR_CST_ELT): New defines.
        (struct tree_vector): Remove elements member, add variable size
        elts array member.
        (build_vector_stat): Declare.
        (build_vector): Define in terms of build_vector_stat.
[...]
        * config/sparc/sparc.c (sparc_handle_vis_mul8x16): Adjust interface
        and implementation.
        (sparc_fold_builtin): Adjust.

Here's the change in the optimized dumps:

> diff -u 23[45]/gcc/fpmul-2.c*|more
--- 234/gcc/fpmul-2.c.149t.optimized    2012-03-21 14:58:58.358234100 +0100
+++ 235/gcc/fpmul-2.c.149t.optimized    2012-03-21 16:18:28.973592400 +0100
@@ -48,7 +48,7 @@
 foo3 ()
 {
 <bb 2>:
-  return { 2, 4, 6, 8 };
+  return { 1, 2, 3, 4 };

 }

  Rainer


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

* [Bug middle-end/52656] [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs
  2012-03-21 15:51 [Bug middle-end/52656] New: [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs ro at gcc dot gnu.org
@ 2012-03-21 15:54 ` ebotcazou at gcc dot gnu.org
  2012-03-22  7:24 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-03-21 15:54 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-03-21
                 CC|ebotcazou at gcc dot        |
                   |gnu.org                     |
         AssignedTo|unassigned at gcc dot       |ebotcazou at gcc dot
                   |gnu.org                     |gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-03-21 15:49:46 UTC ---
Glad to see the code is properly covered by the testsuite.  Fixing...


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

* [Bug middle-end/52656] [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs
  2012-03-21 15:51 [Bug middle-end/52656] New: [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs ro at gcc dot gnu.org
  2012-03-21 15:54 ` [Bug middle-end/52656] " ebotcazou at gcc dot gnu.org
@ 2012-03-22  7:24 ` rguenth at gcc dot gnu.org
  2012-03-24 18:44 ` ebotcazou at gcc dot gnu.org
  2012-03-24 18:48 ` ebotcazou at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-22  7:24 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0


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

* [Bug middle-end/52656] [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs
  2012-03-21 15:51 [Bug middle-end/52656] New: [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs ro at gcc dot gnu.org
  2012-03-21 15:54 ` [Bug middle-end/52656] " ebotcazou at gcc dot gnu.org
  2012-03-22  7:24 ` rguenth at gcc dot gnu.org
@ 2012-03-24 18:44 ` ebotcazou at gcc dot gnu.org
  2012-03-24 18:48 ` ebotcazou at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-03-24 18:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-03-24 18:42:29 UTC ---
Author: ebotcazou
Date: Sat Mar 24 18:42:24 2012
New Revision: 185764

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185764
Log:
    PR target/52656
    * config/sparc/sparc.c (sparc_handle_vis_mul8x16): Fix pasto.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sparc/sparc.c


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

* [Bug middle-end/52656] [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs
  2012-03-21 15:51 [Bug middle-end/52656] New: [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-03-24 18:44 ` ebotcazou at gcc dot gnu.org
@ 2012-03-24 18:48 ` ebotcazou at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-03-24 18:48 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

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

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-03-24 18:44:16 UTC ---
Thanks for reporting the problem.


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

end of thread, other threads:[~2012-03-24 18:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21 15:51 [Bug middle-end/52656] New: [4.8 regression] gcc.target/sparc/fpmul-2.c FAILs ro at gcc dot gnu.org
2012-03-21 15:54 ` [Bug middle-end/52656] " ebotcazou at gcc dot gnu.org
2012-03-22  7:24 ` rguenth at gcc dot gnu.org
2012-03-24 18:44 ` ebotcazou at gcc dot gnu.org
2012-03-24 18:48 ` ebotcazou at gcc dot gnu.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).