public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/40642]  New: [4.5 regression] ICE with -fprofile-generate
@ 2009-07-03 16:43 bangerth at gmail dot com
  2009-07-03 17:20 ` [Bug tree-optimization/40642] " rguenth at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bangerth at gmail dot com @ 2009-07-03 16:43 UTC (permalink / raw)
  To: gcc-bugs

This is a regression in at least current mainline over 4.2. I can't check
4.3 and 4.4 for the moment. I found this working on a successor to the
447.dealII benchmark to be included in the next SPEC testsuite. It triggers
about half a dozen times on that code base.

Either way, here it is:
---------------------------
#include <vector>                                                               

void foo ()                                                                     
{                                                                               
  std::vector<std::vector<std::vector<int> > > v(3);                            
  for (unsigned int d=0; d<3; ++d)                                              
    v[d].resize (13);                                                           
}
---------------------------

>> c++ -O3 -fprofile-generate -c x.cc
x.cc: In function 'void foo()':
x.cc:8:1: error: EH edge 11->18 is missing
x.cc:8:1: error: unnecessary EH edge 11->23
x.cc:8:1: error: EH edge 16->18 is missing
x.cc:8:1: error: unnecessary EH edge 16->23
x.cc:8: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.


>> c++ -v                            
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../mainline/configure --enable-languages=c,c++
--enable-checking --with-mpfr=/home/bangerth/bin/x86
--with-gmp=/home/bangerth/bin/x86 --prefix=/home/bangerth/bin/x86/gcc-mainline
Thread model: posix
gcc version 4.5.0 20090703 (experimental) [trunk revision 149208] (GCC)


-- 
           Summary: [4.5 regression] ICE with -fprofile-generate
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40642


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-28 20:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-03 16:43 [Bug tree-optimization/40642] New: [4.5 regression] ICE with -fprofile-generate bangerth at gmail dot com
2009-07-03 17:20 ` [Bug tree-optimization/40642] " rguenth at gcc dot gnu dot org
2009-07-05 23:59 ` reichelt at gcc dot gnu dot org
2009-07-09 15:48 ` rguenth at gcc dot gnu dot org
2009-09-18  3:53 ` pinskia at gcc dot gnu dot org
2009-09-20 20:05 ` pinskia at gcc dot gnu dot org
2009-09-20 20:06 ` pinskia at gcc dot gnu dot org
2009-09-20 20:28 ` reichelt at gcc dot gnu dot org
2009-09-28 20:41 ` hjl at gcc dot gnu dot 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).