public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53966] New: procmail build deadloop on _autotst & -O3
@ 2012-07-14 20:34 mahatma at eu dot by
2012-07-14 20:49 ` [Bug c/53966] " mahatma at eu dot by
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: mahatma at eu dot by @ 2012-07-14 20:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53966
Bug #: 53966
Summary: procmail build deadloop on _autotst & -O3
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: mahatma@eu.by
Building procmail 3.22 with -O3 or "-O2 -fipa-cp-clone" cause deadloop on
_autotest. But - subproblem - "-O3 -fno-ipa-cp-clone" cause deadloop too.
To reproduce:
cd procmail-3.22/src
&
1) make CFLAGS=-O3
2) make CFLAGS="-O2 -fipa-cp-clone"
3) make CFLAGS="-O3 -fno-ipa-cp-clone"
4) make CFLAGS=-O2
- only (4) is good.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/53966] procmail build deadloop on _autotst & -O3
2012-07-14 20:34 [Bug c/53966] New: procmail build deadloop on _autotst & -O3 mahatma at eu dot by
@ 2012-07-14 20:49 ` mahatma at eu dot by
2012-07-14 21:10 ` [Bug tree-optimization/53966] " pinskia at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mahatma at eu dot by @ 2012-07-14 20:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53966
--- Comment #1 from Dzianis Kahanovich <mahatma at eu dot by> 2012-07-14 20:49:30 UTC ---
x86_64
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/53966] procmail build deadloop on _autotst & -O3
2012-07-14 20:34 [Bug c/53966] New: procmail build deadloop on _autotst & -O3 mahatma at eu dot by
2012-07-14 20:49 ` [Bug c/53966] " mahatma at eu dot by
@ 2012-07-14 21:10 ` pinskia at gcc dot gnu.org
2012-07-16 9:45 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-07-14 21:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53966
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |tree-optimization
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-14 21:10:26 UTC ---
Are you sure you are not invoking some undefined behavior, like signed overflow
or aliasing issues? Can you try with -fno-strict-aliasing and/or -fwrapv ?
"-O3 -fno-ipa-cp-clone" causes it, then most likely -O2 -finline-functions will
reproduce the issue too.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/53966] procmail build deadloop on _autotst & -O3
2012-07-14 20:34 [Bug c/53966] New: procmail build deadloop on _autotst & -O3 mahatma at eu dot by
2012-07-14 20:49 ` [Bug c/53966] " mahatma at eu dot by
2012-07-14 21:10 ` [Bug tree-optimization/53966] " pinskia at gcc dot gnu.org
@ 2012-07-16 9:45 ` rguenth at gcc dot gnu.org
2012-07-16 13:16 ` mahatma at eu dot by
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-16 9:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53966
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2012-07-16
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/53966] procmail build deadloop on _autotst & -O3
2012-07-14 20:34 [Bug c/53966] New: procmail build deadloop on _autotst & -O3 mahatma at eu dot by
` (2 preceding siblings ...)
2012-07-16 9:45 ` rguenth at gcc dot gnu.org
@ 2012-07-16 13:16 ` mahatma at eu dot by
2013-11-10 20:15 ` pinskia at gcc dot gnu.org
2014-12-11 12:51 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: mahatma at eu dot by @ 2012-07-16 13:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53966
--- Comment #3 from Dzianis Kahanovich <mahatma at eu dot by> 2012-07-16 13:15:50 UTC ---
(In reply to comment #2)
Yes, right, "-O2 -finline-functions" broken too.
"-O3 -fno-inline-functions" - broken;
"-O3 -fno-inline-functions -fno-ipa-cp-clone" - good.
-fno-strict-aliasing and/or -fwrapv - I found no differences in all
combinations.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/53966] procmail build deadloop on _autotst & -O3
2012-07-14 20:34 [Bug c/53966] New: procmail build deadloop on _autotst & -O3 mahatma at eu dot by
` (3 preceding siblings ...)
2012-07-16 13:16 ` mahatma at eu dot by
@ 2013-11-10 20:15 ` pinskia at gcc dot gnu.org
2014-12-11 12:51 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-11-10 20:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53966
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also we need a self contained testcase to go any further on this problem.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/53966] procmail build deadloop on _autotst & -O3
2012-07-14 20:34 [Bug c/53966] New: procmail build deadloop on _autotst & -O3 mahatma at eu dot by
` (4 preceding siblings ...)
2013-11-10 20:15 ` pinskia at gcc dot gnu.org
@ 2014-12-11 12:51 ` mpolacek at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-12-11 12:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53966
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |mpolacek at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
No feedback.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-12-11 12:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-14 20:34 [Bug c/53966] New: procmail build deadloop on _autotst & -O3 mahatma at eu dot by
2012-07-14 20:49 ` [Bug c/53966] " mahatma at eu dot by
2012-07-14 21:10 ` [Bug tree-optimization/53966] " pinskia at gcc dot gnu.org
2012-07-16 9:45 ` rguenth at gcc dot gnu.org
2012-07-16 13:16 ` mahatma at eu dot by
2013-11-10 20:15 ` pinskia at gcc dot gnu.org
2014-12-11 12:51 ` mpolacek 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).