public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed
@ 2011-07-30 16:31 b3timmons at speedymail dot org
2011-07-30 16:49 ` [Bug c++/49912] " b3timmons at speedymail dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: b3timmons at speedymail dot org @ 2011-07-30 16:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
Summary: ICE from -freorder-blocks-and-partition :
verify_flow_info failed
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: b3timmons@speedymail.org
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Created attachment 24870
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24870
preprocessed source compressed with bzip2
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.7.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++
--enable-__cxa_atexit --enable-cloog-backend=ppl --with-cloog=/usr/local
Thread model: posix
gcc version 4.7.0 20110729 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-B' '.' '-r' '-nostdlib' '-Wall' '-O'
'-freorder-blocks-and-partition' '-mtune=generic' '-march=pentiumpro'
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.7.0/cc1plus -fpreprocessed elf.ii
-quiet -dumpbase elf.ii -mtune=generic -march=pentiumpro -auxbase elf -O -Wall
-version -freorder-blocks-and-partition -o /tmp/ccZ24I88.s
GNU C++ (GCC) version 4.7.0 20110729 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.7.0 20110729 (experimental), GMP version
5.0.1, MPFR version 3.0.1, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (GCC) version 4.7.0 20110729 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.7.0 20110729 (experimental), GMP version
5.0.1, MPFR version 3.0.1, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: ba0648b8eea6bd4be4f484a576bf2c59
elf.cpp: In member function void ElfDynamic_Section::setValueForType(unsigned
int, ElfValue*):
elf.cpp:666:28: warning: deleting object of polymorphic class type ElfValue
which has non-virtual destructor might cause undefined behaviour
[-Wdelete-non-virtual-dtor]
elf.cpp: In destructor virtual ElfDynamic_Section::~ElfDynamic_Section():
elf.cpp:780:24: warning: deleting object of polymorphic class type ElfValue
which has non-virtual destructor might cause undefined behaviour
[-Wdelete-non-virtual-dtor]
In file included from elf.cpp:41:0:
elfxx.h: In member function virtual void Elf_Ehdr::serialize(std::ofstream&,
char, char):
elfxx.h:432:5: error: wrong number of branch edges after unconditional jump 17
elfxx.h:432:5: error: wrong number of branch edges after unconditional jump 16
elfxx.h:432:5: internal compiler error: verify_flow_info failed
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/49912] ICE from -freorder-blocks-and-partition : verify_flow_info failed
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
@ 2011-07-30 16:49 ` b3timmons at speedymail dot org
2011-08-06 14:04 ` zsojka at seznam dot cz
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: b3timmons at speedymail dot org @ 2011-07-30 16:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
--- Comment #1 from Bake Timmons <b3timmons at speedymail dot org> 2011-07-30 16:49:14 UTC ---
Sorry, forgot command line that led to the ICE: gcc -v -B. -r -nostdlib -Wall
-O -freorder-blocks-and-partition elf.ii
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/49912] ICE from -freorder-blocks-and-partition : verify_flow_info failed
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
2011-07-30 16:49 ` [Bug c++/49912] " b3timmons at speedymail dot org
@ 2011-08-06 14:04 ` zsojka at seznam dot cz
2011-10-09 14:45 ` [Bug c++/49912] [4.7 Regression] " paolo.carlini at oracle dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2011-08-06 14:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> 2011-08-06 14:03:50 UTC ---
Created attachment 24934
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24934
reduced testcase
It is reduced from libstdc++-v3/testsuite/util/testsuite_abi.cc, not from the
original testcase in this PR.
Compiler output:
$ gcc -O -freorder-blocks-and-partition testcase.C
testcase.C: In member function 'void vector<<anonymous> >::_M_insert_aux(const
string&) [with int <anonymous> = 0]':
testcase.C:39:1: error: wrong number of branch edges after unconditional jump 7
testcase.C:39:1: internal compiler error: verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ gcc -v
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-177503-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/smatz/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-177503-lto-fortran-checking-yes-rtl-df/
--with-cloog --with-ppl --with-cloog-include=/usr/include/cloog-ppl/
--disable-ppl-version-check
Thread model: posix
gcc version 4.7.0 20110806 (experimental) (GCC)
Tested revisions (x86_64-unknown-linux-gnu):
r177503 - crash
r177422 - crash
r173150 - OK
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/49912] [4.7 Regression] ICE from -freorder-blocks-and-partition : verify_flow_info failed
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
2011-07-30 16:49 ` [Bug c++/49912] " b3timmons at speedymail dot org
2011-08-06 14:04 ` zsojka at seznam dot cz
@ 2011-10-09 14:45 ` paolo.carlini at oracle dot com
2011-10-10 9:40 ` [Bug rtl-optimization/49912] " rguenth at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-10-09 14:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-10-09
CC| |rguenth at gcc dot gnu.org
Summary|ICE from |[4.7 Regression] ICE from
|-freorder-blocks-and-partit |-freorder-blocks-and-partit
|ion : verify_flow_info |ion : verify_flow_info
|failed |failed
Ever Confirmed|0 |1
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-09 14:45:24 UTC ---
This is a regression. Looking for a more appropriate "Component"
categorization..
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/49912] [4.7 Regression] ICE from -freorder-blocks-and-partition : verify_flow_info failed
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
` (2 preceding siblings ...)
2011-10-09 14:45 ` [Bug c++/49912] [4.7 Regression] " paolo.carlini at oracle dot com
@ 2011-10-10 9:40 ` rguenth at gcc dot gnu.org
2011-10-10 12:06 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-10 9:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|rguenth at gcc dot gnu.org |
Component|c++ |rtl-optimization
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/49912] [4.7 Regression] ICE from -freorder-blocks-and-partition : verify_flow_info failed
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
` (3 preceding siblings ...)
2011-10-10 9:40 ` [Bug rtl-optimization/49912] " rguenth at gcc dot gnu.org
@ 2011-10-10 12:06 ` rguenth at gcc dot gnu.org
2011-11-25 9:44 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-10 12:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/49912] [4.7 Regression] ICE from -freorder-blocks-and-partition : verify_flow_info failed
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
` (4 preceding siblings ...)
2011-10-10 12:06 ` rguenth at gcc dot gnu.org
@ 2011-11-25 9:44 ` jakub at gcc dot gnu.org
2011-11-25 10:21 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-25 9:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-25 09:11:56 UTC ---
Started with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176696
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/49912] [4.7 Regression] ICE from -freorder-blocks-and-partition : verify_flow_info failed
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
` (5 preceding siblings ...)
2011-11-25 9:44 ` jakub at gcc dot gnu.org
@ 2011-11-25 10:21 ` jakub at gcc dot gnu.org
2011-11-26 21:29 ` jakub at gcc dot gnu.org
2011-11-26 21:45 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-25 10:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
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 #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-25 09:43:31 UTC ---
Created attachment 25911
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25911
gcc47-pr49912.patch
Seems to be a verification issue only.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/49912] [4.7 Regression] ICE from -freorder-blocks-and-partition : verify_flow_info failed
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
` (6 preceding siblings ...)
2011-11-25 10:21 ` jakub at gcc dot gnu.org
@ 2011-11-26 21:29 ` jakub at gcc dot gnu.org
2011-11-26 21:45 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-26 21:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-26 20:50:32 UTC ---
Author: jakub
Date: Sat Nov 26 20:50:28 2011
New Revision: 181743
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181743
Log:
PR rtl-optimization/49912
* cfgrtl.c (rtl_verify_flow_info_1): Ignore also EDGE_PRESERVE bit
when counting n_branch.
* g++.dg/other/pr49912.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/other/pr49912.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgrtl.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/49912] [4.7 Regression] ICE from -freorder-blocks-and-partition : verify_flow_info failed
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
` (7 preceding siblings ...)
2011-11-26 21:29 ` jakub at gcc dot gnu.org
@ 2011-11-26 21:45 ` jakub at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-11-26 21:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49912
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-26 20:51:44 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-11-26 20:52 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-30 16:31 [Bug c++/49912] New: ICE from -freorder-blocks-and-partition : verify_flow_info failed b3timmons at speedymail dot org
2011-07-30 16:49 ` [Bug c++/49912] " b3timmons at speedymail dot org
2011-08-06 14:04 ` zsojka at seznam dot cz
2011-10-09 14:45 ` [Bug c++/49912] [4.7 Regression] " paolo.carlini at oracle dot com
2011-10-10 9:40 ` [Bug rtl-optimization/49912] " rguenth at gcc dot gnu.org
2011-10-10 12:06 ` rguenth at gcc dot gnu.org
2011-11-25 9:44 ` jakub at gcc dot gnu.org
2011-11-25 10:21 ` jakub at gcc dot gnu.org
2011-11-26 21:29 ` jakub at gcc dot gnu.org
2011-11-26 21:45 ` 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).