public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/50907] New: [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use
@ 2011-10-28 23:12 belyshev at depni dot sinp.msu.ru
2011-10-29 8:13 ` [Bug middle-end/50907] " belyshev at depni dot sinp.msu.ru
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: belyshev at depni dot sinp.msu.ru @ 2011-10-28 23:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50907
Bug #: 50907
Summary: [4.7 Regression] EDGE_CROSSING incorrectly set across
same section with -freorder-blocks-and-partition -fPIC
-fprofile-use
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: belyshev@depni.sinp.msu.ru
Target: x86_64-unknown-linux-gnu
compilation of gcc.dg/tree-prof/pr45354.c with -O
-freorder-blocks-and-partition -fPIC -fprofile-use fails:
$ gcc pr45354.c -O -freorder-blocks-and-partition -fPIC -fprofile-generate
$./a.out
$ gcc pr45354.c -O -freorder-blocks-and-partition -fPIC -fprofile-use
pr45354.c: In function 'test_ifelse2':
pr45354.c:23:1: error: EDGE_CROSSING incorrectly set across same section
pr45354.c:23:1: internal compiler error: verify_flow_info failed
(testcase is attached also here:
http://gcc.gnu.org/bugzilla/attachment.cgi?id=22560 )
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50907] [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use
2011-10-28 23:12 [Bug middle-end/50907] New: [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use belyshev at depni dot sinp.msu.ru
@ 2011-10-29 8:13 ` belyshev at depni dot sinp.msu.ru
2011-11-05 11:58 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: belyshev at depni dot sinp.msu.ru @ 2011-10-29 8:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50907
Serge Belyshev <belyshev at depni dot sinp.msu.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-10-29
CC| |rth at gcc dot gnu.org
Known to work| |4.6.0
Target Milestone|--- |4.7.0
Ever Confirmed|0 |1
Known to fail| |4.7.0
--- Comment #1 from Serge Belyshev <belyshev at depni dot sinp.msu.ru> 2011-10-29 08:12:18 UTC ---
git bisect points at r176696:
http://gcc.gnu.org/viewcvs?view=revision&revision=176696
2011-07-23 Richard Henderson <rth@redhat.com>
* basic-block.h (EDGE_PRESERVE): New.
(EDGE_ALL_FLAGS, EDGE_COMPLEX): Include it.
* bb-reorder.c: Include except.h.
(fix_up_crossing_landing_pad): New.
...
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50907] [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use
2011-10-28 23:12 [Bug middle-end/50907] New: [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use belyshev at depni dot sinp.msu.ru
2011-10-29 8:13 ` [Bug middle-end/50907] " belyshev at depni dot sinp.msu.ru
@ 2011-11-05 11:58 ` rguenth at gcc dot gnu.org
2011-11-28 11:36 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-11-05 11:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50907
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50907] [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use
2011-10-28 23:12 [Bug middle-end/50907] New: [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use belyshev at depni dot sinp.msu.ru
2011-10-29 8:13 ` [Bug middle-end/50907] " belyshev at depni dot sinp.msu.ru
2011-11-05 11:58 ` rguenth at gcc dot gnu.org
@ 2011-11-28 11:36 ` jakub at gcc dot gnu.org
2011-11-28 21:08 ` jakub at gcc dot gnu.org
2011-11-28 21:41 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-28 11:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50907
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-28 10:25:26 UTC ---
Created attachment 25930
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25930
gcc47-pr50907.patch
Untested fix.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50907] [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use
2011-10-28 23:12 [Bug middle-end/50907] New: [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use belyshev at depni dot sinp.msu.ru
` (2 preceding siblings ...)
2011-11-28 11:36 ` jakub at gcc dot gnu.org
@ 2011-11-28 21:08 ` jakub at gcc dot gnu.org
2011-11-28 21:41 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-28 21:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50907
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-28 21:04:15 UTC ---
Author: jakub
Date: Mon Nov 28 21:04:10 2011
New Revision: 181787
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181787
Log:
PR middle-end/50907
* function.c (convert_jumps_to_returns): When redirecting an edge
succ to EXIT_BLOCK_PTR, clear EDGE_CROSSING flag.
* gcc.dg/tree-prof/pr50907.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-prof/pr50907.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/50907] [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use
2011-10-28 23:12 [Bug middle-end/50907] New: [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use belyshev at depni dot sinp.msu.ru
` (3 preceding siblings ...)
2011-11-28 21:08 ` jakub at gcc dot gnu.org
@ 2011-11-28 21:41 ` jakub at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-28 21:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50907
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-28 21:08:42 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-28 21:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-28 23:12 [Bug middle-end/50907] New: [4.7 Regression] EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use belyshev at depni dot sinp.msu.ru
2011-10-29 8:13 ` [Bug middle-end/50907] " belyshev at depni dot sinp.msu.ru
2011-11-05 11:58 ` rguenth at gcc dot gnu.org
2011-11-28 11:36 ` jakub at gcc dot gnu.org
2011-11-28 21:08 ` jakub at gcc dot gnu.org
2011-11-28 21:41 ` jakub 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).