--- Comment #1 from seidl at feld dot cvut dot cz 2005-10-14 21:52 ---
Created an attachment (id=9987)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9987&action=view)
source code for wrong-code problem demonstration
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24376
I've commented the following code with, or whithout (uh!), the errors that g++
reports.
template< typename _Type >
struct S {
operator S();
}; // struct S< _Type >
template< typename _Type >
struct T {
S< _Type > t_;
S< int > i_;
void
foo() {
t_.S();// 1.1 uh!
--- Comment #1 from bangerth at dealii dot org 2005-10-14 22:21 ---
Confirmed. The problem goes back to at least 2.95.
W.
--
bangerth at dealii dot org changed:
What|Removed |Added
--
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-14 22:31 ---
Well 4.0.2 has been released, maybe this is fixed in 4.0.3, I don't know.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24369
FAIL: gcc.dg/vect/pr24300.c (test for excess errors)
appeared on mainline on ia64-hp-hpux11.23 between 20051010 and 20051013. This
is a new test added in that time. The failure is for both -milp32 and -mlp64.
/scratch/gcc/nightly-2005-10-13-mainline/src/gcc-mainline/gcc/testsuite/gcc.dg/vect/pr2
FAIL: gcc.dg/ipa/ipa-5.c scan-ipa-dump-times propagating const 2
FAIL: gcc.dg/ipa/ipa-5.c scan-ipa-dump-times versioned function 2
appeared on mainline on i686-pc-linux-gnu and hppa2.0w-hp-hpux11.11 between
20051010 and 20051013. These are new tests in that time.
--
Summary: gcc.dg/
-hpux11.11, hppa64-hp-hpux11.11 and
ia64-hp-hpux11.23. Still present 20051014.
/scratch/gcc/nightly-2005-10-14-4.0/src/gcc-4.0/gcc/testsuite/g++.dg/template/dependent-expr1.C:
In function 'void std::Baz(I*)':
/scratch/gcc/nightly-2005-10-14-4.0/src/gcc-4.0/gcc/testsuite/g++.dg/template
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-15 00:36 ---
Fixed by:
missed from 2005-10-12 checkin
* g++.dg/template/dependent-expr1.C: Add new expected error.
* g++.dg/template/dependent-expr2.C: Adjust error text.
--
pinskia at gcc dot gnu dot org chang
--- Comment #5 from hp at gcc dot gnu dot org 2005-10-15 02:26 ---
Closing as invalid as per comment #4
(chip bug can't be worked around in gcc).
--
hp at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-15 03:55 ---
Someone else has to decide if this is fixable for 4.0.x, I think it is not. I
need to update my 4.0.3 compiler to today, I have only one from 9-30.
--
pinskia at gcc dot gnu dot org changed:
What
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-15 04:08 ---
The only one which GCC is wrong with is the following
// t_.~S(); // 2.1 expected class-name before '('
token
Which is also recorded as PR 23287.
The rest are all correct with the current G
101 - 111 of 111 matches
Mail list logo