* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
@ 2007-11-13 18:22 ` eres at il dot ibm dot com
2007-11-13 18:24 ` steven at gcc dot gnu dot org
` (18 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-13 18:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from eres at il dot ibm dot com 2007-11-13 18:21 -------
Created an attachment (id=14545)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14545&action=view)
The testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
2007-11-13 18:22 ` [Bug rtl-optimization/34085] " eres at il dot ibm dot com
@ 2007-11-13 18:24 ` steven at gcc dot gnu dot org
2007-11-13 18:30 ` eres at il dot ibm dot com
` (17 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-11-13 18:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from steven at gcc dot gnu dot org 2007-11-13 18:24 -------
Can you please also attach your profile information and give the exact compiler
revision ID that you used to create that information? That way, people without
access to POWER can still help debug this problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
2007-11-13 18:22 ` [Bug rtl-optimization/34085] " eres at il dot ibm dot com
2007-11-13 18:24 ` steven at gcc dot gnu dot org
@ 2007-11-13 18:30 ` eres at il dot ibm dot com
2007-11-13 18:34 ` eres at il dot ibm dot com
` (16 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-13 18:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from eres at il dot ibm dot com 2007-11-13 18:30 -------
Created an attachment (id=14546)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14546&action=view)
the testcase (please ignore the previous testcase it has been uploaded by
mistake)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (2 preceding siblings ...)
2007-11-13 18:30 ` eres at il dot ibm dot com
@ 2007-11-13 18:34 ` eres at il dot ibm dot com
2007-11-15 12:05 ` eres at il dot ibm dot com
` (15 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-13 18:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from eres at il dot ibm dot com 2007-11-13 18:34 -------
(In reply to comment #2)
> Can you please also attach your profile information and give the exact compiler
> revision ID that you used to create that information? That way, people without
> access to POWER can still help debug this problem.
Sure -
gcc version 4.3.0 20071028 (experimental) (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (3 preceding siblings ...)
2007-11-13 18:34 ` eres at il dot ibm dot com
@ 2007-11-15 12:05 ` eres at il dot ibm dot com
2007-11-15 12:21 ` steven at gcc dot gnu dot org
` (14 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-15 12:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from eres at il dot ibm dot com 2007-11-15 12:04 -------
It seems that verify_flow_info complains about the following note,
which is generated in the partitioning phase:
(note 234 232 172 11 NOTE_INSN_SWITCH_TEXT_SECTIONS)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (4 preceding siblings ...)
2007-11-15 12:05 ` eres at il dot ibm dot com
@ 2007-11-15 12:21 ` steven at gcc dot gnu dot org
2007-11-15 12:29 ` eres at il dot ibm dot com
` (13 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-11-15 12:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from steven at gcc dot gnu dot org 2007-11-15 12:21 -------
I can't reproduce this on x86*.
Again, please attach the profile information and state the exact compiler
revision you used to generate this profile information.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (5 preceding siblings ...)
2007-11-15 12:21 ` steven at gcc dot gnu dot org
@ 2007-11-15 12:29 ` eres at il dot ibm dot com
2007-11-15 14:17 ` eres at il dot ibm dot com
` (12 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-15 12:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from eres at il dot ibm dot com 2007-11-15 12:29 -------
(In reply to comment #6)
> I can't reproduce this on x86*.
> Again, please attach the profile information and state the exact compiler
> revision you used to generate this profile information.
Sorry - I am working on r129702.
What do you mean by profile information (a dump file)?
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (6 preceding siblings ...)
2007-11-15 12:29 ` eres at il dot ibm dot com
@ 2007-11-15 14:17 ` eres at il dot ibm dot com
2007-11-15 14:49 ` steven at gcc dot gnu dot org
` (11 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-15 14:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from eres at il dot ibm dot com 2007-11-15 14:17 -------
When disabling rest_of_handle_reorder_blocks (bbro) the ICE disappears. (it
seems that it is not caused due to the partitioning - bbpart)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (7 preceding siblings ...)
2007-11-15 14:17 ` eres at il dot ibm dot com
@ 2007-11-15 14:49 ` steven at gcc dot gnu dot org
2007-11-15 15:03 ` eres at il dot ibm dot com
` (10 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-11-15 14:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from steven at gcc dot gnu dot org 2007-11-15 14:49 -------
I mean the files you generate with -fprofile-generate.
I expect this to be fully blamable on the partitioning code, and I would like
to work in fixing this. But you have to attach the profile information you
have generated, or no-one can debug this unless he/she has access to POWER.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (8 preceding siblings ...)
2007-11-15 14:49 ` steven at gcc dot gnu dot org
@ 2007-11-15 15:03 ` eres at il dot ibm dot com
2007-11-15 15:06 ` eres at il dot ibm dot com
` (9 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-15 15:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from eres at il dot ibm dot com 2007-11-15 15:02 -------
(In reply to comment #9)
> I mean the files you generate with -fprofile-generate.
> I expect this to be fully blamable on the partitioning code, and I would like
> to work in fixing this. But you have to attach the profile information you
> have generated, or no-one can debug this unless he/she has access to POWER.
Sure, I'll attached the gcno file.
Please let me know if you need more information to retore the ICE.
Thanks
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (9 preceding siblings ...)
2007-11-15 15:03 ` eres at il dot ibm dot com
@ 2007-11-15 15:06 ` eres at il dot ibm dot com
2007-11-16 6:48 ` eres at il dot ibm dot com
` (8 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-15 15:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from eres at il dot ibm dot com 2007-11-15 15:05 -------
Created an attachment (id=14556)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14556&action=view)
File generated by -fprofile-generate
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (10 preceding siblings ...)
2007-11-15 15:06 ` eres at il dot ibm dot com
@ 2007-11-16 6:48 ` eres at il dot ibm dot com
2007-11-16 6:52 ` eres at il dot ibm dot com
` (7 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-16 6:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from eres at il dot ibm dot com 2007-11-16 06:48 -------
Created an attachment (id=14562)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14562&action=view)
gcda file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (11 preceding siblings ...)
2007-11-16 6:48 ` eres at il dot ibm dot com
@ 2007-11-16 6:52 ` eres at il dot ibm dot com
2007-11-16 21:16 ` steven at gcc dot gnu dot org
` (6 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-16 6:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from eres at il dot ibm dot com 2007-11-16 06:52 -------
Created an attachment (id=14563)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14563&action=view)
gcno (with the correct filename)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (12 preceding siblings ...)
2007-11-16 6:52 ` eres at il dot ibm dot com
@ 2007-11-16 21:16 ` steven at gcc dot gnu dot org
2007-11-17 6:24 ` eres at il dot ibm dot com
` (5 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-11-16 21:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from steven at gcc dot gnu dot org 2007-11-16 21:15 -------
I still can't reproduce it. What does your gcc -v say?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (13 preceding siblings ...)
2007-11-16 21:16 ` steven at gcc dot gnu dot org
@ 2007-11-17 6:24 ` eres at il dot ibm dot com
2007-11-17 6:36 ` eres at il dot ibm dot com
` (4 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-17 6:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from eres at il dot ibm dot com 2007-11-17 06:24 -------
(In reply to comment #14)
> I still can't reproduce it. What does your gcc -v say?
Configured with: ../gcc/configure --prefix=/home/eres/check_final/build
--with-cpu=default32 --enable-checking --disable-bootstrap --enable-languages=c
Thread model: posix
gcc version 4.3.0 20071028 (experimental) (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (14 preceding siblings ...)
2007-11-17 6:24 ` eres at il dot ibm dot com
@ 2007-11-17 6:36 ` eres at il dot ibm dot com
2007-11-18 7:32 ` eres at il dot ibm dot com
` (3 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-17 6:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from eres at il dot ibm dot com 2007-11-17 06:36 -------
(In reply to comment #15)
> (In reply to comment #14)
> > I still can't reproduce it. What does your gcc -v say?
> Configured with: ../gcc/configure --prefix=/home/eres/check_final/build
> --with-cpu=default32 --enable-checking --disable-bootstrap --enable-languages=c
> Thread model: posix
> gcc version 4.3.0 20071028 (experimental) (GCC)
This bug is reproducable also on updated mainline - r130173 on
powerpc64-*-linux.
I run the following sequance to get it:
/home/eres/check_final/build/bin/gcc tmp.c -fprofile-generate -O3
./a.out
/home/eres/check_final/build/bin/gcc tmp.c -fprofile-use
-freorder-blocks-and-partition -O3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (15 preceding siblings ...)
2007-11-17 6:36 ` eres at il dot ibm dot com
@ 2007-11-18 7:32 ` eres at il dot ibm dot com
2007-11-20 11:45 ` patchapp at dberlin dot org
` (2 subsequent siblings)
19 siblings, 0 replies; 21+ messages in thread
From: eres at il dot ibm dot com @ 2007-11-18 7:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from eres at il dot ibm dot com 2007-11-18 07:32 -------
I reproduced the ICE on x86_64-linux running tmp.c testcase with r130196.
(please make sure you are running tmp.c testcase and not test.c testcase that
was uploaded by mistake).
GCC configured with:
../gcc/configure --prefix=/home/eres/test_sms/build --enable-checking
--enable-bootstrap
here is again the sequence I used for running:
/home/eres/test_sms/build/gcc/xgcc -B/home/eres/test_sms/build/gcc/ tmp.c
-fprofile-generate -O3
./a.out
/home/eres/test_sms/build/gcc/xgcc -B/home/eres/test_sms/build/gcc/ tmp.c
-fprofile-use -freorder-blocks-and-partition -O3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (16 preceding siblings ...)
2007-11-18 7:32 ` eres at il dot ibm dot com
@ 2007-11-20 11:45 ` patchapp at dberlin dot org
2007-11-26 12:15 ` revitale at gcc dot gnu dot org
2008-01-15 8:35 ` ubizjak at gmail dot com
19 siblings, 0 replies; 21+ messages in thread
From: patchapp at dberlin dot org @ 2007-11-20 11:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from patchapp at dberlin dot org 2007-11-20 11:45 -------
Subject: Bug number PR rtl-optimization/34085
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01050.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (17 preceding siblings ...)
2007-11-20 11:45 ` patchapp at dberlin dot org
@ 2007-11-26 12:15 ` revitale at gcc dot gnu dot org
2008-01-15 8:35 ` ubizjak at gmail dot com
19 siblings, 0 replies; 21+ messages in thread
From: revitale at gcc dot gnu dot org @ 2007-11-26 12:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from revitale at gcc dot gnu dot org 2007-11-26 12:15 -------
Subject: Bug 34085
Author: revitale
Date: Mon Nov 26 12:15:02 2007
New Revision: 130435
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130435
Log:
Fix PR rtl-optimization/34085
Added:
trunk/gcc/testsuite/gcc.dg/tree-prof/bb-reorg.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/bb-reorder.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition
2007-11-13 18:20 [Bug rtl-optimization/34085] New: ICE with -freorder-blocks-and-partition eres at il dot ibm dot com
` (18 preceding siblings ...)
2007-11-26 12:15 ` revitale at gcc dot gnu dot org
@ 2008-01-15 8:35 ` ubizjak at gmail dot com
19 siblings, 0 replies; 21+ messages in thread
From: ubizjak at gmail dot com @ 2008-01-15 8:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #20 from ubizjak at gmail dot com 2008-01-15 07:36 -------
The ICE is fixed on mainline.
[The testsuite failure on x86_64 is a separate issue, tracked by PR 34249.]
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34085
^ permalink raw reply [flat|nested] 21+ messages in thread