Mike Lerwill - Incorrect default options for h8300 target (original) (raw)
This is the mail archive of the gcc@gcc.gnu.orgmailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] |
- From: "Mike Lerwill"
- To: "Gcc at Gcc dot Gnu. Org"
- Date: Thu, 10 Nov 2005 11:48:13 -0000
- Subject: Incorrect default options for h8300 target
At some point between 4.0 and 4.1 the mechanism for option handling was changed over to the new style using the .opt file but the default setting of quickcall seems to have been lost in the process.
It seems to me that this was unintentional - but please let me know if otherwise.
adding the following 2 lines into h8300.c
#undef TARGET_DEFAULT_TARGET_FLAGS
#define TARGET_DEFAULT_TARGET_FLAGS (MASK_QUICKCALL)immediately before the line
struct gcc_target targetm = TARGET_INITIALIZER;appears to fix the problem allthough I am not sure that this is completely the correct way to do this.
regards
Mike Lerwill
- Follow-Ups:
- Re: Incorrect default options for h8300 target
* From: Jim Wilson
- Re: Incorrect default options for h8300 target
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |