This is the mail archive of the gcc-patches@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]

Re: [PATCH][C++] Make __java_boolean a true bool (PR 33887)


Andreas Tobler wrote:
Richard Guenther wrote:
This makes the fix for PR33887 safer in that __java_boolean is treated
the same as C++ bool.  This is especially important for its special
semantics on increment.

Bootstrap and testing on x86_64-unknown-linux-gnu, ok if that passes?

Thanks,
Richard.

2008-01-21 Richard Guenther <rguenther@suse.de>

    PR c++/33887
    * decl.c (record_builtin_java_type): Make __java_boolean
    a variant of bool.
    * typeck.c (structural_comptypes): Move TYPE_FOR_JAVA check
    after TYPE_MAIN_VARIANT check.

This one causes these libjava regressions on ppc-darwin:


http://gcc.gnu.org/ml/gcc-testresults/2008-01/msg01414.html

Unfortunately it took me some time to discover since bootstrap time is growing.... I can only do a bootstrap every other day. The cycle increased to 24h :(

BTW, I will not open a PR since libjava is not in any matter release 'critical|important|or whatever' on this architecture, neither on this OS. Just fyi.


Andreas


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