GCC Bugzilla – Bug 19299
[4.0 Regression] ICE with volatile non-PODs pointers
Last modified: 2005-02-15 22:01:55 UTC
virtual void f() = 0;
void execute(V volatile* p)
*** Bug 19297 has been marked as a duplicate of this bug. ***
Confirmed because this was just a reduction of PR 19297 and I had thought we needed two bugs for
that but it was kindly already filed.
: Search converges between 2004-05-11-trunk (#454) and 2004-05-14-trunk (#455).
: Search converges between 2003-06-25-ssa (#14) and 2003-06-26-ssa (#15).
*** Bug 19534 has been marked as a duplicate of this bug. ***
For the log, this is blocking Boost (test: python/bienstman1).
Works for me. What's the problem?
$ gcc/xgcc -Bgcc -O2 -c pr19299.C --version
xgcc (GCC) 4.0.0 20050117 (experimental)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(In reply to comment #6)
> Works for me. What's the problem?
Or does it, see below.
> $ gcc/xgcc -Bgcc -O2 -c pr19299.C --version
> xgcc (GCC) 4.0.0 20050117 (experimental)
--version makes the compiler to do nothing except for printing out the version.
It still ICEs for me:
[zhivago:gcc/objdir/gcc] pinskia% ./xgcc -B. t43.cc
t43.cc: In function 'void execute(volatile V*)':
t43.cc:7: internal compiler error: in create_tmp_var, at gimplify.c:368
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
GNU C++ version 4.0.0 20050119 (experimental) (powerpc-apple-darwin7.7.0)
Subject: Re: [4.0 Regression] ICE with volatile non-PODs pointers
pinskia at gcc dot gnu dot org wrote:
>>$ gcc/xgcc -Bgcc -O2 -c pr19299.C --version
>>xgcc (GCC) 4.0.0 20050117 (experimental)
> --version makes the compiler to do nothing except for printing out the version.
I know. I collapsed both outputs for brevity.
Never mind. I was using a --disabled-checking binary.
Fixed on mainline (probably by one of your recent patches, Mark).
Do you want this as a testcase?
Yes, a test case for this would be good.
Subject: Bug 19299
Module name: gcc
Changes by: firstname.lastname@example.org 2005-02-19 20:36:57
gcc/testsuite : ChangeLog
* g++.dg/inherit/volatile1.C: New test.
* g++.dg/template/dtor4.C: New test.