public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-12081-1600@http.gcc.gnu.org/bugzilla/>]
* [Bug middle-end/12081] New: Gcc can't be compiled with -mregparm=3
@ 2003-08-27 18:28 mikulas at artax dot karlin dot mff dot cuni dot cz
  2003-12-26 22:55 ` [Bug target/12081] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 35+ messages in thread
From: mikulas at artax dot karlin dot mff dot cuni dot cz @ 2003-08-27 18:28 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12081

           Summary: Gcc can't be compiled with -mregparm=3
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mikulas at artax dot karlin dot mff dot cuni dot cz
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i586-pc-linux-gnu
  GCC host triplet: i586-pc-linux-gnu
GCC target triplet: i586-pc-linux-gnu

When GCC is compiled with -mregparm=3 (system libraries are compiled with that flag too), it doesn't work. The problem is this line (maybe there are more buggy declarations, but this is the first one I hit):

typedef rtx (*insn_gen_fn) PARAMS ((rtx, ...));

Later, two-parameter functions are retyped to insn_gen_fn and called. The caller pushes arguments to stack, the calee expects them in registers.


^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2022-06-14 10:03 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12081-4@http.gcc.gnu.org/bugzilla/>
2013-05-25  2:28 ` [Bug target/12081] Gcc can't be compiled with -mregparm=3 stefan.kristiansson at saunalahti dot fi
2013-05-25  8:18 ` mikpe at it dot uu.se
2013-05-25  9:03 ` mikpe at it dot uu.se
2013-06-03  8:30 ` mikpe at it dot uu.se
2013-06-05 18:39 ` ubizjak at gmail dot com
2013-07-10  2:12 ` stefan.kristiansson at saunalahti dot fi
2013-07-27 12:55 ` olegendo at gcc dot gnu.org
2013-08-05 22:15 ` [Bug other/12081] " olegendo at gcc dot gnu.org
2013-08-29 18:37 ` olegendo at gcc dot gnu.org
2013-08-29 18:40 ` olegendo at gcc dot gnu.org
2020-04-23  7:54 ` oyvind.harboe at zylin dot com
2020-04-23  8:27 ` oyvind.harboe at zylin dot com
2022-06-14 10:03 ` oyvind.harboe at zylin dot com
     [not found] <bug-12081-1600@http.gcc.gnu.org/bugzilla/>
2007-10-27 18:32 ` [Bug target/12081] " sam at rfc1149 dot net
2007-10-27 23:17 ` rask at gcc dot gnu dot org
2007-10-27 23:22   ` Andrew Pinski
2007-10-27 23:22 ` pinskia at gmail dot com
2007-10-27 23:36 ` rask at gcc dot gnu dot org
2007-10-28 11:14 ` rask at gcc dot gnu dot org
2007-10-28 11:57   ` Andrew Pinski
2007-10-28 11:57 ` pinskia at gmail dot com
2007-10-28 14:00 ` rask at gcc dot gnu dot org
2007-10-28 14:03 ` rask at gcc dot gnu dot org
2007-10-28 14:42 ` sam at rfc1149 dot net
2007-10-28 15:54 ` rask at gcc dot gnu dot org
2007-10-28 16:09 ` mikulas at artax dot karlin dot mff dot cuni dot cz
2007-10-30  0:14 ` rask at gcc dot gnu dot org
2007-10-30  0:20   ` Andrew Pinski
2007-10-30  0:20 ` pinskia at gmail dot com
2003-08-27 18:28 [Bug middle-end/12081] New: " mikulas at artax dot karlin dot mff dot cuni dot cz
2003-12-26 22:55 ` [Bug target/12081] " pinskia at gcc dot gnu dot org
2004-01-17 23:53 ` dhazeghi at yahoo dot com
2004-01-18  1:39 ` mikulas at artax dot karlin dot mff dot cuni dot cz
2004-01-18  1:42 ` mikulas at artax dot karlin dot mff dot cuni dot cz
2004-01-18  1:54 ` dhazeghi at yahoo dot com
2004-10-28 12:09 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).