re PR target/36015 (-mregparm and fn decls without arguments)
authorJakub Jelinek <jakub@redhat.com>
Thu, 24 Apr 2008 06:59:55 +0000 (08:59 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 24 Apr 2008 06:59:55 +0000 (08:59 +0200)
commit64ceac43df8d0b74914b438137f89c6afde0ef61
treefa2a320b2060b67c669f7af7cfcacb4b5791c25e
parent4679504c63fdc21e4c8580c6057ff55de41975b4
re PR target/36015 (-mregparm and fn decls without arguments)

PR target/36015
* config/i386/i386.c (init_cumulative_args): Don't pass anything
in registers for -m32 only if stdarg_p (fntype).

* gcc.dg/pr36015.c: New test.

From-SVN: r134621
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr36015.c [new file with mode: 0644]