I just tried to compile the Suse Factory package Botan-1.6.4-4.48
with the GNU g++ version 4.5 snapshot 20090604.

The compiler said

modules/es_unix/es_unix.cpp:106:1: error: missing callgraph edge for call stmt:
# VUSE <.MEM_16>
retval.72_11 = Unix_Program_Cmp (__val_10(D), __next$_M_current_3);

void std::__unguarded_linear_insert(_RandomAccessIterator, _Tp, _Compare) [with
_RandomAccessIterator = __gnu_cxx::__normal_iterator<Botan::Unix_Program*,
std::vector<Botan::Unix_Program> >, _Tp = Botan::Unix_Program, _Compare = bool
(*)(const Botan::Unix_Program&, const Botan::Unix_Program&)]/473(-1)
@0x2ba81fb0d000 (inline copy in void
std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare)
[with _RandomAccessIterator =
__gnu_cxx::__normal_iterator<Botan::Unix_Program*,
std::vector<Botan::Unix_Program> >, _Compare = bool (*)(const
Botan::Unix_Program&, const Botan::Unix_Program&)]/558) (clone of void
std::__unguarded_linear_insert(_RandomAccessIterator, _Tp, _Compare) [with
_RandomAccessIterator = __gnu_cxx::__normal_iterator<Botan::Unix_Program*,
std::vector<Botan::Unix_Program> >, _Tp = Botan::Unix_Program, _Compare = bool
(*)(const Botan::Unix_Program&, const Botan::Unix_Program&)]/482)
availability:local 390 time, 17 benefit 29 size, 8 benefit body local finalized
inlinable
  called by: void std::__insertion_sort(_RandomAccessIterator,
_RandomAccessIterator, _Compare) [with _RandomAccessIterator =
__gnu_cxx::__normal_iterator<Botan::Unix_Program*,
std::vector<Botan::Unix_Program> >, _Compare = bool (*)(const
Botan::Unix_Program&, const Botan::Unix_Program&)]/558 (21.97 per call)
(inlined) (can throw external)
  calls: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
_Traits, _Alloc>::assign(const std::basic_string<_CharT, _Traits, _Alloc>&)
[with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
std::allocator<char>]/707 (21.97 per call) (nested in 1 loops) (can throw
external) std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
_Traits, _Alloc>::assign(const std::basic_string<_CharT, _Traits, _Alloc>&)
[with _CharT = char, _Traits = std::char_traits<char>, _Alloc =
std::allocator<char>]/707 (100.00 per call) (nested in 2 loops) (can throw
external)
modules/es_unix/es_unix.cpp:106:1: internal compiler error: verify_cgraph_node
failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed source code attached. Flag -O3 required.


-- 
           Summary: verify_cgraph_node failed with -O3
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


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

Reply via email to