Bug report for 2.95.2
Georg C. F. Greve
greve@gnu.org
Sun Oct 31 09:43:00 GMT 1999
Hi!
Since the gcc asked me to send a bug report because of an "internal
compiler error". So here I go:
* GCC Version: 2.95.2
* System: GNU/Linux
The problem arose when working on my latest C++ project. I need to
have timestamps for my objects, so I have thought about a clean and
portable "pure C++" way of solving this.
The best option Iôve found was "#include <ctime>" and then go with the
clock_t clock() function - which of course requires a "std::clock_t
timestamp" field. Since I was experimenting with "struct timeval"
before, I had a "struct std::clock_t timeval" field, which caused the
compiler to die with an internal compiler error.
Removing the leading "struct" eliminated all problems - which is
probably okay, but an internal compiler error is probably not the
best output in such a case. :-)
I consider the problem to be kind of easy to reproduce and not very
dramatic, so I am saving me the trouble of sending the temporaries. If
you should need them I will create them, though...
Regards,
Georg
P.S. If you have a better suggestion for a clean timestamp, please let
me know - Iôd be very interested to hear your suggestions.
--
Georg C. F. Greve <greve@gnu.org>
"Brave GNU World", the monthly GNU forum
in English, German, French, Spanish and Japanese.
Check it out at http://www.gnu.org/brave-gnu-world/
--
-----BEGIN PGP MESSAGE-----
Version: 2.6.3i
Comment: Processed by Mailcrypt 3.5.4, an Emacs/PGP interface
iQCVAwUBOBx+4VZXgZXDxqJtAQEVOgP/fk4k7A/QsDi+6LplrFISUxmIqrTlcrtp
zlc94KpTSaP0oOfDeAi0zmnrYinmD6ILdY9rJQA684TeB6C1bX9K5B+vO2k1hAtx
pjVHulG1Dtcx4gMbMI6oha28mTV2bvlEoib/EJwR7dH9/b1bRQBKBj4KG2e2hAMG
XnZHQwyZVLo=
=XSzn
-----END PGP MESSAGE-----
More information about the Gcc-bugs
mailing list