This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11946] [3.4 regression] fun and merriment with enums as function arguments
- From: "richard dot kreckel at ginac dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Aug 2003 21:40:23 -0000
- Subject: [Bug c++/11946] [3.4 regression] fun and merriment with enums as function arguments
- References: <20030816135431.11946.richard.kreckel@ginac.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11946
------- Additional Comments From richard dot kreckel at ginac dot de 2003-08-16 21:40 -------
Yeah, well, and I promise to bang my head against the @#&%! table of C operator
precedences every morning while brushing teeth till I'm deep purple. Silly me!
Thanks, Falk, for clearing it up.
Anyway, just forget the original test1() and compare the return value of test2()
as compiled with GCC-3.4-pre with the return value of test2() as compiled with
GCC-3.3.1 (which behaves correctly) and see the difference.
So component shouldn't be set to "c++". What else? "c"?
embarrassed
-richy.
--
.''`. Richard B. Kreckel
: :' : <kreckel@debian.org>
`. `' <kreckel@ginac.de>
`- <http://www.ginac.de/~kreckel/>