public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug web/63955] New: Remove pr51879-12.c xfail
@ 2014-11-19 11:16 vries at gcc dot gnu.org
2014-11-19 11:40 ` [Bug web/63955] " rguenth at gcc dot gnu.org
2014-11-19 12:59 ` [Bug tree-optimization/63955] " vries at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2014-11-19 11:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63955
Bug ID: 63955
Summary: Remove pr51879-12.c xfail
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: web
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
The fix for PR 62167 - '[4.8 Regression][tail-merge] dead type-unsafe load
replaces type-safe load' adds an xfail for pr51879-12.c.
We want the test to pass again.
pr51879-12.c:
...
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-pre" } */
__attribute__((pure)) int bar (int);
__attribute__((pure)) int bar2 (int);
void baz (int);
int x, z;
void
foo (int y)
{
int a = 0;
if (y == 6)
{
a += bar (7);
a += bar2 (6);
}
else
{
a += bar2 (6);
a += bar (7);
}
baz (a);
}
/* { dg-final { scan-tree-dump-times "bar \\(" 1 "pre" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "bar2 \\(" 1 "pre" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "pre" } } */
...
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug web/63955] Remove pr51879-12.c xfail
2014-11-19 11:16 [Bug web/63955] New: Remove pr51879-12.c xfail vries at gcc dot gnu.org
@ 2014-11-19 11:40 ` rguenth at gcc dot gnu.org
2014-11-19 12:59 ` [Bug tree-optimization/63955] " vries at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-19 11:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63955
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-11-19
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/63955] Remove pr51879-12.c xfail
2014-11-19 11:16 [Bug web/63955] New: Remove pr51879-12.c xfail vries at gcc dot gnu.org
2014-11-19 11:40 ` [Bug web/63955] " rguenth at gcc dot gnu.org
@ 2014-11-19 12:59 ` vries at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2014-11-19 12:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63955
--- Comment #2 from vries at gcc dot gnu.org ---
Created attachment 34036
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34036&action=edit
Tentative patch
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-19 12:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 11:16 [Bug web/63955] New: Remove pr51879-12.c xfail vries at gcc dot gnu.org
2014-11-19 11:40 ` [Bug web/63955] " rguenth at gcc dot gnu.org
2014-11-19 12:59 ` [Bug tree-optimization/63955] " vries 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).