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++/11946] [3.4 regression] fun and merriment with enums as function arguments


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


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