This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23828] local calling convention not used when using --combine
- From: "dann at godzilla dot ics dot uci dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Sep 2005 17:43:56 -0000
- Subject: [Bug target/23828] local calling convention not used when using --combine
- References: <20050912014301.23828.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dann at godzilla dot ics dot uci dot edu 2005-09-21 17:43 -------
(In reply to comment #8)
> (In reply to comment #4)
> Instead of the above check, change it to:
> if (local_regparm == 3 && DECL_STRUCT_FUNCTION (fn)->static_chain_decl)
> local_regparm = 2;
DECL_STRUCT_FUNCTION does not work, it ICEs when running the testsuite...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23828