This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22361] Fails to identify
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2005 14:17:01 -0000
- Subject: [Bug c++/22361] Fails to identify
- References: <20050708060632.22361.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-07-08 14:16 -------
This is already fixed in 4.0. In previous versions, one can have a little
fun if the compiler is configured with checking enabled:
g/x> /home/bangerth/bin/gcc-2.95.3/bin/c++ -c x.cc
x.cc: In function `int main()':
x.cc:13: `' cannot be `restrict'-qualified
x.cc:13: confused by earlier errors, bailing out
g/x> /home/bangerth/bin/gcc-3.2.3/bin/c++ -c x.cc
x.cc: In function `int main()':
x.cc:13: no matching function for call to `F(B<TP1>::TP2<int>&)'
g/x> /home/bangerth/bin/gcc-3.3*/bin/c++ -c x.cc
x.cc: In function `int main()':
x.cc:13: internal compiler error: tree check: expected class 't', have 'x' (
tree_vec) in cp_type_quals, at cp/typeck.c:6567
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
g/x> /home/bangerth/bin/gcc-3.4*/bin/c++ -c x.cc
x.cc: In function `int main()':
x.cc:13: internal compiler error: tree check: expected class 't', have
'x' (tree
_vec) in cp_type_quals, at cp/typeck.c:6299
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to fail| |4.0.0
Known to work| |2.95 3.2 3.3 3.4.3
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22361