Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 187363 - Internal compiler error resolve_overloaded_unification
Internal compiler error resolve_overloaded_unification
Product: Fedora
Classification: Fedora
Component: gcc34 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2006-03-30 09:44 EST by Christer Sandberg
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 4.1.0-4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-30 10:58:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Preprocessed source (768.71 KB, text/plain)
2006-03-30 09:44 EST, Christer Sandberg
no flags Details

  None (edit)
Description Christer Sandberg 2006-03-30 09:44:52 EST
Description of problem:
Internal compiler error

Version-Release number of selected component (if applicable):
gcc (GCC) 3.4.3 20050227 (Red Hat 3.4.3-22.1)

How reproducible:

Steps to Reproduce:
1.$ g++ -c foo.cpp
Actual results:
foo.cpp: In function `void foo()':
foo.cpp:8: internal compiler error: in resolve_overloaded_unification, at

Expected results:
foo.cpp:8: error: no matching function for call to ...

Additional info:
#include <vector>
#include <iostream>
using namespace std;
template <typename T>
void foo(void)
   vector <int> x;
   sort(x.begin, x.end);
Comment 1 Christer Sandberg 2006-03-30 09:44:53 EST
Created attachment 127055 [details]
Preprocessed source
Comment 2 Jakub Jelinek 2006-03-30 10:58:39 EST
FC3 is not supported any longer and FC5 gcc doesn't ICE on this, rather
emits properly an error:

g++ -v; g++ 187363.ii -S -m32
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-
--with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.0 20060328 (Red Hat 4.1.0-4)
foo.cpp: In function oid foo()':
foo.cpp:8: error: no matching function for call to ort(<unresolved overloaded
function type>, <unresolved overloaded function

Note You need to log in before you can comment on or make changes to this bug.