Re: [patch, mips] Allow users to avoid promoting prototypes.

2013-05-04 Thread Richard Sandiford
Steve Ellcey sell...@imgtec.com writes: On Thu, 2013-05-02 at 23:26 +0100, Richard Sandiford wrote: 2013-05-02 Steve Ellcey sell...@imgtec.com * config/mips/mips.c (mips_promote_prototypes) :New. (TARGET_PROMOTE_PROTOTYPES): Change to use mips_promote_prototypes. *

Re: [patch, mips] Allow users to avoid promoting prototypes.

2013-05-03 Thread Richard Biener
On Fri, May 3, 2013 at 12:26 AM, Richard Sandiford rdsandif...@googlemail.com wrote: Steve Ellcey sell...@imgtec.com writes: MIPS architectures set TARGET_PROMOTE_PROTOTYPES to true. I would like to have an option to set this to false in order to avoid extra masking when passing char or

Re: [patch, mips] Allow users to avoid promoting prototypes.

2013-05-03 Thread Steve Ellcey
On Thu, 2013-05-02 at 23:26 +0100, Richard Sandiford wrote: 2013-05-02 Steve Ellcey sell...@imgtec.com * config/mips/mips.c (mips_promote_prototypes) :New. (TARGET_PROMOTE_PROTOTYPES): Change to use mips_promote_prototypes. * config/mips/mips.opt (mpromote-prototypes):

[patch, mips] Allow users to avoid promoting prototypes.

2013-05-02 Thread Steve Ellcey
MIPS architectures set TARGET_PROMOTE_PROTOTYPES to true. I would like to have an option to set this to false in order to avoid extra masking when passing char or short types. I don't think we can change this by default since it would affect the ABI, but I would like to allow users the option of

Re: [patch, mips] Allow users to avoid promoting prototypes.

2013-05-02 Thread Richard Sandiford
Steve Ellcey sell...@imgtec.com writes: MIPS architectures set TARGET_PROMOTE_PROTOTYPES to true. I would like to have an option to set this to false in order to avoid extra masking when passing char or short types. I don't think we can change this by default since it would affect the ABI,