This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12081] Gcc can't be compiled with -mregparm=3
- From: "rask at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2007 00:14:21 -0000
- Subject: [Bug target/12081] Gcc can't be compiled with -mregparm=3
- References: <bug-12081-1600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from rask at gcc dot gnu dot org 2007-10-30 00:14 -------
Created an attachment (id=14438)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14438&action=view)
patch v3, varargs free
In reply to comment #16:
> You can cast them at the time of calling and store them as void * in the
> table --- that is standard-compliant.
Casting is what caused the problem to go unnoticed in the first place. This
version will cause complaints from the compiler if there is a mixup.
--
rask at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #14419|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12081