public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing
@ 2009-08-12 17:47 nemet at gcc dot gnu dot org
2009-08-12 17:54 ` [Bug middle-end/41047] " rguenth at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: nemet at gcc dot gnu dot org @ 2009-08-12 17:47 UTC (permalink / raw)
To: gcc-bugs
See http://gcc.gnu.org/ml/gcc-testresults/2009-08/msg01279.html
Seems like we losing alignment on string literals again (PR/27226). The
testcase is from dhrystone.
--
Summary: gcc.target/mips/memcpy-1.c failing
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nemet at gcc dot gnu dot org
GCC target triplet: mips64*-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
@ 2009-08-12 17:54 ` rguenth at gcc dot gnu dot org
2009-08-12 18:09 ` anemet at caviumnetworks dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-12 17:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-08-12 17:54 -------
Is that a recent regression?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
2009-08-12 17:54 ` [Bug middle-end/41047] " rguenth at gcc dot gnu dot org
@ 2009-08-12 18:09 ` anemet at caviumnetworks dot com
2009-08-12 18:55 ` rguenth at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: anemet at caviumnetworks dot com @ 2009-08-12 18:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from anemet at caviumnetworks dot com 2009-08-12 18:08 -------
Subject: gcc.target/mips/memcpy-1.c failing
rguenth at gcc dot gnu dot org writes:
> Is that a recent regression?
Last 12 days. Guerby has results from 7/30 that don't show this.
Adam
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
2009-08-12 17:54 ` [Bug middle-end/41047] " rguenth at gcc dot gnu dot org
2009-08-12 18:09 ` anemet at caviumnetworks dot com
@ 2009-08-12 18:55 ` rguenth at gcc dot gnu dot org
2009-08-12 20:11 ` rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-12 18:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-08-12 18:54 -------
We used to get
memcpy (&c, &"12345678"[2], 6); [tail call]
memcpy (&c, "123456", 6); [tail call]
for expansion, but now we get
D.2386_1 = (const void * restrict) "123456";
c.1_2 = (void * restrict) &c;
memcpy (c.1_2, D.2386_1, 6); [tail call]
and
D.2383_1 = (const void * restrict) "12345678";
D.2384_2 = D.2383_1 + 2;
c.0_3 = (void * restrict) &c;
memcpy (c.0_3, D.2384_2, 6); [tail call]
it's probably me that caused this - will have a look and add a target
independent testcase.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-08-12 18:54:55
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
` (2 preceding siblings ...)
2009-08-12 18:55 ` rguenth at gcc dot gnu dot org
@ 2009-08-12 20:11 ` rguenth at gcc dot gnu dot org
2009-08-12 20:12 ` [Bug middle-end/41047] [4.5 Regression] " rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-12 20:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from rguenth at gcc dot gnu dot org 2009-08-12 20:10 -------
Created an attachment (id=18345)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18345&action=view)
patch
Fix I am testing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] [4.5 Regression] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
` (3 preceding siblings ...)
2009-08-12 20:11 ` rguenth at gcc dot gnu dot org
@ 2009-08-12 20:12 ` rguenth at gcc dot gnu dot org
2009-08-12 21:20 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-12 20:12 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Summary|gcc.target/mips/memcpy-1.c |[4.5 Regression]
|failing |gcc.target/mips/memcpy-1.c
| |failing
Target Milestone|--- |4.5.0
Version|4.4.0 |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] [4.5 Regression] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
` (4 preceding siblings ...)
2009-08-12 20:12 ` [Bug middle-end/41047] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2009-08-12 21:20 ` rguenth at gcc dot gnu dot org
2009-08-12 21:27 ` nemet at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-12 21:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rguenth at gcc dot gnu dot org 2009-08-12 21:20 -------
Created an attachment (id=18346)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18346&action=view)
good patch
better patch, the old one missed the tree-ssa.c hunk and the testcase was
broken.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #18345|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] [4.5 Regression] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
` (5 preceding siblings ...)
2009-08-12 21:20 ` rguenth at gcc dot gnu dot org
@ 2009-08-12 21:27 ` nemet at gcc dot gnu dot org
2009-08-13 8:19 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: nemet at gcc dot gnu dot org @ 2009-08-12 21:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from nemet at gcc dot gnu dot org 2009-08-12 21:27 -------
It fixes the testcase on mips64octeon-linux. Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] [4.5 Regression] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
` (6 preceding siblings ...)
2009-08-12 21:27 ` nemet at gcc dot gnu dot org
@ 2009-08-13 8:19 ` rguenth at gcc dot gnu dot org
2009-08-13 8:39 ` rguenth at gcc dot gnu dot org
2009-08-16 20:25 ` hjl at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-13 8:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2009-08-13 08:19 -------
Subject: Bug 41047
Author: rguenth
Date: Thu Aug 13 08:19:10 2009
New Revision: 150715
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150715
Log:
2009-08-13 Richard Guenther <rguenther@suse.de>
PR middle-end/41047
* tree-ssa-ccp.c (ccp_fold): When folding pointer additions
use the constant pointer type.
* gimplify.c (canonicalize_addr_expr): Canonicalize independent
of CV qualifiers on the target pointer type.
* tree-ssa.c (useless_type_conversion_p): Move incomplete pointer
conversion check before restrict check.
* gcc.dg/tree-ssa/ssa-ccp-27.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-27.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-ccp.c
trunk/gcc/tree-ssa.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] [4.5 Regression] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
` (7 preceding siblings ...)
2009-08-13 8:19 ` rguenth at gcc dot gnu dot org
@ 2009-08-13 8:39 ` rguenth at gcc dot gnu dot org
2009-08-16 20:25 ` hjl at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-13 8:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2009-08-13 08:38 -------
FIxed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/41047] [4.5 Regression] gcc.target/mips/memcpy-1.c failing
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
` (8 preceding siblings ...)
2009-08-13 8:39 ` rguenth at gcc dot gnu dot org
@ 2009-08-16 20:25 ` hjl at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: hjl at gcc dot gnu dot org @ 2009-08-16 20:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from hjl at gcc dot gnu dot org 2009-08-16 20:25 -------
Subject: Bug 41047
Author: hjl
Date: Sun Aug 16 20:23:57 2009
New Revision: 150812
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150812
Log:
2009-08-16 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2009-08-14 Janus Weil <janus@gcc.gnu.org>
PR fortran/41070
* gfortran.dg/structure_constructor_10.f90: New.
2009-08-14 Paolo Bonzini <bonzini@gnu.org>
PR target/40934
* gcc.target/i386/pr40934.c: New.
2009-08-13 Janus Weil <janus@gcc.gnu.org>
PR fortran/40995
* gfortran.dg/intrinsic_4.f90: New.
2009-08-13 Richard Guenther <rguenther@suse.de>
PR middle-end/41047
* gcc.dg/tree-ssa/ssa-ccp-27.c: New testcase.
2009-08-12 Richard Guenther <rguenther@suse.de>
PR tree-optimization/41011
* gfortran.dg/pr41011.f: New testcase.
2009-08-10 Richard Guenther <rguenther@suse.de>
PR middle-end/41006
* gcc.c-torture/compile/pr41006-1.c: New testcase.
* gcc.c-torture/compile/pr41006-2.c: Likewise.
2009-08-10 Dodji Seketeli <dodji@redhat.com>
PR c++/40866
* g++.dg/expr/stmt-expr-1.C: New test.
2009-08-09 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/41008
* gcc.dg/vect/O1-pr41008.c: New test.
2009-08-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/40991
* g++.dg/torture/pr40991.C: New testcase.
2009-08-06 Uros Bizjak <ubizjak@gmail.com>
H.J. Lu <hongjiu.lu@intel.com>
PR target/40957
* gcc.target/i386/pr40957.c: New test.
2009-08-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/40964
* gcc.c-torture/compile/pr40964.c: New testcase.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/expr/stmt-expr-1.C
- copied unchanged from r150811,
trunk/gcc/testsuite/g++.dg/expr/stmt-expr-1.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr40991.C
- copied unchanged from r150811,
trunk/gcc/testsuite/g++.dg/torture/pr40991.C
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr40964.c
- copied unchanged from r150811,
trunk/gcc/testsuite/gcc.c-torture/compile/pr40964.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr41006-1.c
- copied unchanged from r150811,
trunk/gcc/testsuite/gcc.c-torture/compile/pr41006-1.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr41006-2.c
- copied unchanged from r150811,
trunk/gcc/testsuite/gcc.c-torture/compile/pr41006-2.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-27.c
- copied unchanged from r150811,
trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-27.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/vect/O1-pr41008.c
- copied unchanged from r150811,
trunk/gcc/testsuite/gcc.dg/vect/O1-pr41008.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr40934.c
- copied unchanged from r150811,
trunk/gcc/testsuite/gcc.target/i386/pr40934.c
branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr40957.c
- copied unchanged from r150811,
trunk/gcc/testsuite/gcc.target/i386/pr40957.c
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/intrinsic_4.f90
- copied unchanged from r150811,
trunk/gcc/testsuite/gfortran.dg/intrinsic_4.f90
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pr41011.f
- copied unchanged from r150811,
trunk/gcc/testsuite/gfortran.dg/pr41011.f
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/structure_constructor_10.f90
- copied unchanged from r150811,
trunk/gcc/testsuite/gfortran.dg/structure_constructor_10.f90
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41047
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2009-08-16 20:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-12 17:47 [Bug middle-end/41047] New: gcc.target/mips/memcpy-1.c failing nemet at gcc dot gnu dot org
2009-08-12 17:54 ` [Bug middle-end/41047] " rguenth at gcc dot gnu dot org
2009-08-12 18:09 ` anemet at caviumnetworks dot com
2009-08-12 18:55 ` rguenth at gcc dot gnu dot org
2009-08-12 20:11 ` rguenth at gcc dot gnu dot org
2009-08-12 20:12 ` [Bug middle-end/41047] [4.5 Regression] " rguenth at gcc dot gnu dot org
2009-08-12 21:20 ` rguenth at gcc dot gnu dot org
2009-08-12 21:27 ` nemet at gcc dot gnu dot org
2009-08-13 8:19 ` rguenth at gcc dot gnu dot org
2009-08-13 8:39 ` rguenth at gcc dot gnu dot org
2009-08-16 20:25 ` 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).