This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16295] -pedantic option resolves compiler error "sorry, unimplemented: ..."
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2004 14:30:59 -0000
- Subject: [Bug c++/16295] -pedantic option resolves compiler error "sorry, unimplemented: ..."
- References: <20040630113614.16295.kai.ludwig@uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-06-30 14:30 -------
Confirmed. The two preprocessed source files are actually identitical.
I get this here:
g/x> /home/bangerth/bin/gcc-3.3.4-pre/bin/c++ -c w.ii
In file included
from /home/kl/software/src/quantity/Quantities/PhysicalQuantiti
es/Acceleration.h:27,
from /home/kl/software/src/quantity/Quantities/PhysicalQuantiti
es/PhysicalQuantities.h:28,
from main.cpp:1:
/home/kl/software/src/quantity/Quantities/Quantity/Variable.h:865: internal
comp
iler error: tree
check: expected tree_list, have tree_vec in dump_decl, at cp/error.c:978
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.3.4-pre/bin/c++ -c w.ii -pedantic
It is indeed strange that the code should compile with -pedantic, but
not otherwise. Note that the different message I get is likely due to
the fact that I configured with --enable-checking.
I'll try to come up with a smaller example.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-30 14:30:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16295