This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/2475: Crash when conversion operators both to const and non-const reference type.
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/2475: Crash when conversion operators both to const and non-const reference type.
- From: ghost at cs dot msu dot su
- Date: 3 Apr 2001 15:56:32 -0000
- Reply-To: ghost at cs dot msu dot su
>Number: 2475
>Category: c++
>Synopsis: Crash when conversion operators both to const and non-const reference type.
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Apr 03 09:06:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Vladimir Prus
>Release: gcc version 3.0 20010326 (prerelease)
>Organization:
>Environment:
uname -a:
SunOS chronos 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-4
g++ -v
Reading specs from /export/home/lvk/students/ghost/local/lib/gcc-lib/sparc-sun-solaris2.6/3.0/specs
Configured with: ./configure --prefix=/export/home/lvk/students/ghost/local --with-gnu-as=/export/home/lvk/students/ghost/local/bin/as --with-gnu-ld=/export/home/lvk/students/ghost/local/bin/ld --enable-languages=c++
gcc version 3.0 20010326 (prerelease)
>Description:
>How-To-Repeat:
g++ conv.cpp
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="conv.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="conv.cpp"
Cgp0ZW1wbGF0ZTxjbGFzcyBUPgpzdHJ1Y3QgZm9vCnsKICAgIHR5cGVuYW1lIFQ6Ok4gdjsKICAg
IAogICAgb3BlcmF0b3IgdHlwZW5hbWUgVDo6TiYgKCkgeyByZXR1cm4gdjsgfQogICAgb3BlcmF0
b3IgY29uc3QgdHlwZW5hbWUgVDo6TiYgKCkgY29uc3QgeyByZXR1cm4gdjsgfQp9OwoKc3RydWN0
IEkKewogICAgc3RydWN0IE4ge307Cn07CgppbnQgbWFpbigpCnsKICAgIGZvbzxJPiBmOwogICAg
STo6TiYgbjEgPSBmOwogICAgY29uc3QgSTo6TiYgbjIgPSBmOwp9