This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16295] -pedantic option resolves compiler error "sorry, unimplemented: ..."


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]