Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
8506528c
Commit
8506528c
authored
Feb 06, 2009
by
Nick Clifton
Committed by
Nick Clifton
Feb 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.
From-SVN: r143981
parent
85169114
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
gcc/ChangeLog
+5
-0
gcc/config/m32c/m32c.h
+16
-0
No files found.
gcc/ChangeLog
View file @
8506528c
2009-02-06 Nick Clifton <nickc@redhat.com>
* config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to
zero.
2009-02-06 Paolo Bonzini <bonzini@gnu.org>
2009-02-06 Paolo Bonzini <bonzini@gnu.org>
PR tree-optimization/35659
PR tree-optimization/35659
...
...
gcc/config/m32c/m32c.h
View file @
8506528c
...
@@ -143,6 +143,17 @@ machine_function;
...
@@ -143,6 +143,17 @@ machine_function;
#define UNITS_PER_WORD 2
#define UNITS_PER_WORD 2
#define POINTER_SIZE (TARGET_A16 ? 16 : 32)
#define POINTER_SIZE (TARGET_A16 ? 16 : 32)
#define POINTERS_EXTEND_UNSIGNED 1
#define POINTERS_EXTEND_UNSIGNED 1
/* We have a problem with libgcc2. It only defines two versions of
each function, one for "int" and one for "long long". Ie it assumes
that "sizeof (int) == sizeof (long)". For the M32C this is not true
and we need a third set of functions. We explicitly define
LIBGCC2_UNITS_PER_WORD here so that it is clear that we are expecting
to get the SI and DI versions from the libgcc2.c sources, and we
provide our own set of HI functions in m32c-lib2.c, which is why this
definition is surrounded by #ifndef..#endif. */
#ifndef LIBGCC2_UNITS_PER_WORD
#define LIBGCC2_UNITS_PER_WORD 4
#endif
/* These match the alignment enforced by the two types of stack operations. */
/* These match the alignment enforced by the two types of stack operations. */
#define PARM_BOUNDARY (TARGET_A16 ? 8 : 16)
#define PARM_BOUNDARY (TARGET_A16 ? 8 : 16)
...
@@ -154,6 +165,11 @@ machine_function;
...
@@ -154,6 +165,11 @@ machine_function;
#define FUNCTION_BOUNDARY 8
#define FUNCTION_BOUNDARY 8
#define BIGGEST_ALIGNMENT 8
#define BIGGEST_ALIGNMENT 8
/* Since we have a maximum structure alignment of 8 there
is no need to enforce any alignment of bitfield types. */
#undef PCC_BITFIELD_TYPE_MATTERS
#define PCC_BITFIELD_TYPE_MATTERS 0
#define STRICT_ALIGNMENT 0
#define STRICT_ALIGNMENT 0
#define SLOW_BYTE_ACCESS 1
#define SLOW_BYTE_ACCESS 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment