public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"
@ 2015-03-21 20:43 danglin at gcc dot gnu.org
  2015-03-23  9:55 ` [Bug tree-optimization/65506] [5 Regression] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: danglin at gcc dot gnu.org @ 2015-03-21 20:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506

            Bug ID: 65506
           Summary: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple
                    "memcpy"
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

Created attachment 35088
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35088&action=edit
Gimple dump

spawn /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/
/home/
dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr29215.c -fno-diagnostics-show-caret
-fdi
agnostics-color=never -O2 -fdump-tree-gimple -S -o pr29215.s
PASS: gcc.dg/pr29215.c (test for excess errors)
FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"

This is revision 221548.  Revision 221505 was okay.


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

* [Bug tree-optimization/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"
  2015-03-21 20:43 [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy" danglin at gcc dot gnu.org
@ 2015-03-23  9:55 ` rguenth at gcc dot gnu.org
  2015-03-23 14:25 ` [Bug testsuite/65506] " jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-23  9:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-03-23
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|---                         |5.0
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ok, that's probably caused by

2015-03-20  Richard Biener  <rguenther@suse.de>

        PR middle-end/64715
        * tree-chrec.c (chrec_fold_poly_cst): Use useless_type_conversion_p
        for type comparison and gcc_checking_assert.
        (chrec_fold_plus_poly_poly): Likewise.
        (chrec_fold_multiply_poly_poly): Likewise.
        (chrec_convert_1): Likewise.
        * gimplify.c (gimplify_expr): Remove premature folding of
        &X + CST to &MEM[&X, CST].

and should be fixed by adjusting the testcase to scan not the gimple dump
but the ccp1 dump.  Can you try that?


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

* [Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"
  2015-03-21 20:43 [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy" danglin at gcc dot gnu.org
  2015-03-23  9:55 ` [Bug tree-optimization/65506] [5 Regression] " rguenth at gcc dot gnu.org
@ 2015-03-23 14:25 ` jakub at gcc dot gnu.org
  2015-03-23 15:32 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-23 14:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 35111
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35111&action=edit
gcc5-pr65506.patch

Indeed, have verified this with the cross-compiler and the attached patch
should cure this.


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

* [Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"
  2015-03-21 20:43 [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy" danglin at gcc dot gnu.org
  2015-03-23  9:55 ` [Bug tree-optimization/65506] [5 Regression] " rguenth at gcc dot gnu.org
  2015-03-23 14:25 ` [Bug testsuite/65506] " jakub at gcc dot gnu.org
@ 2015-03-23 15:32 ` rguenth at gcc dot gnu.org
  2015-03-23 15:33 ` dave.anglin at bell dot net
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-23 15:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
           Assignee|rguenth at gcc dot gnu.org         |jakub at gcc dot gnu.org

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks good to me.


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

* [Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"
  2015-03-21 20:43 [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy" danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-03-23 15:32 ` rguenth at gcc dot gnu.org
@ 2015-03-23 15:33 ` dave.anglin at bell dot net
  2015-03-23 21:32 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dave.anglin at bell dot net @ 2015-03-23 15:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506

--- Comment #4 from dave.anglin at bell dot net ---
On 2015-03-23 10:05 AM, jakub at gcc dot gnu.org wrote:
> Indeed, have verified this with the cross-compiler and the attached patch
> should cure this.
I have applied the patch for testing but hit pr65522 regression. 
Restarted build without ada.
Will take about a day to confirm fix.

Dave


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

* [Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"
  2015-03-21 20:43 [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy" danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-03-23 15:33 ` dave.anglin at bell dot net
@ 2015-03-23 21:32 ` jakub at gcc dot gnu.org
  2015-03-23 22:29 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-23 21:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Mar 23 20:04:43 2015
New Revision: 221607

URL: https://gcc.gnu.org/viewcvs?rev=221607&root=gcc&view=rev
Log:
2015-03-23  Jakub Jelinek  <jakub@redhat.com>

    PR testsuite/65506
    * gcc.dg/pr29215.c: Dump and analyze ccp1 dump instead of
    gimple dump.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pr29215.c


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

* [Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"
  2015-03-21 20:43 [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy" danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2015-03-23 21:32 ` jakub at gcc dot gnu.org
@ 2015-03-23 22:29 ` jakub at gcc dot gnu.org
  2015-03-24  0:10 ` olegendo at gcc dot gnu.org
  2015-03-25 14:07 ` alalaw01 at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-03-23 22:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


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

* [Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"
  2015-03-21 20:43 [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy" danglin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2015-03-23 22:29 ` jakub at gcc dot gnu.org
@ 2015-03-24  0:10 ` olegendo at gcc dot gnu.org
  2015-03-25 14:07 ` alalaw01 at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: olegendo at gcc dot gnu.org @ 2015-03-24  0:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olegendo at gcc dot gnu.org

--- Comment #7 from Oleg Endo <olegendo at gcc dot gnu.org> ---
*** Bug 65529 has been marked as a duplicate of this bug. ***


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

* [Bug testsuite/65506] [5 Regression] FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy"
  2015-03-21 20:43 [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy" danglin at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2015-03-24  0:10 ` olegendo at gcc dot gnu.org
@ 2015-03-25 14:07 ` alalaw01 at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: alalaw01 at gcc dot gnu.org @ 2015-03-25 14:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65506

alalaw01 at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alalaw01 at gcc dot gnu.org

--- Comment #8 from alalaw01 at gcc dot gnu.org ---
This test was also failing for target arm-none-eabi, also fixed by Jakub's
r221607.


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

end of thread, other threads:[~2015-03-25 13:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-21 20:43 [Bug tree-optimization/65506] New: FAIL: gcc.dg/pr29215.c scan-tree-dump-not gimple "memcpy" danglin at gcc dot gnu.org
2015-03-23  9:55 ` [Bug tree-optimization/65506] [5 Regression] " rguenth at gcc dot gnu.org
2015-03-23 14:25 ` [Bug testsuite/65506] " jakub at gcc dot gnu.org
2015-03-23 15:32 ` rguenth at gcc dot gnu.org
2015-03-23 15:33 ` dave.anglin at bell dot net
2015-03-23 21:32 ` jakub at gcc dot gnu.org
2015-03-23 22:29 ` jakub at gcc dot gnu.org
2015-03-24  0:10 ` olegendo at gcc dot gnu.org
2015-03-25 14:07 ` alalaw01 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).