[Bug target/12081] Gcc can't be compiled with -mregparm=3

2013-07-09 Thread stefan.kristiansson at saunalahti dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12081

--- Comment #24 from Stefan Kristiansson  ---
(In reply to Uroš Bizjak from comment #23)
> (In reply to Mikael Pettersson from comment #22)
> > FWIW, the updated patch for gcc 4.9 bootstraps and regtests cleanly on
> > several hosts (x86_64, sparc64, powerpc64, armv5tel, m68k).
> 
> Please post the patch to gcc-patches@ mailing list for a review.

Done: http://gcc.gnu.org/ml/gcc-patches/2013-07/msg00400.html

[Bug target/12081] Gcc can't be compiled with -mregparm=3

2013-05-24 Thread stefan.kristiansson at saunalahti dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12081

Stefan Kristiansson  changed:

   What|Removed |Added

 CC||stefan.kristiansson@saunala
   ||hti.fi

--- Comment #19 from Stefan Kristiansson  ---
Created attachment 30186
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30186&action=edit
Updated version of Rask Ingemann Lambertsen's patch

I'm bumping this bug to make people aware that it still exists and that people
are affected by it.
On OpenRISC (not in main tree arch), the ABI states that var args are always
passed on the stack, thus making it impossible to build a working native
compiler
when this bug is present.

Attached is an updated version of the patch posted by Rask Ingemann Lambertsen,
bringing it up to date with the current svn.