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
6d9e7c41
Commit
6d9e7c41
authored
May 09, 2011
by
Philipp Thomas
Committed by
Philipp Thomas
May 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't translate syntax example.
From-SVN: r173564
parent
61d6def5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
gcc/ChangeLog
+4
-0
gcc/config/mep/mep.c
+6
-4
No files found.
gcc/ChangeLog
View file @
6d9e7c41
2011-05-04 Philipp Thomas <pth@suse.de>
* config/mep/mep.c (mep_validate_vliw): Syntax description
should not be translated.
2011-05-09 Joseph Myers <joseph@codesourcery.com>
2011-05-09 Joseph Myers <joseph@codesourcery.com>
* config/mips/genopt.sh, config/mips/mips-cpus.def: New files.
* config/mips/genopt.sh, config/mips/mips-cpus.def: New files.
...
...
gcc/config/mep/mep.c
View file @
6d9e7c41
...
@@ -4122,16 +4122,18 @@ mep_validate_vliw (tree *node, tree name, tree args ATTRIBUTE_UNUSED,
...
@@ -4122,16 +4122,18 @@ mep_validate_vliw (tree *node, tree name, tree args ATTRIBUTE_UNUSED,
if
(
TREE_CODE
(
*
node
)
==
POINTER_TYPE
if
(
TREE_CODE
(
*
node
)
==
POINTER_TYPE
&&
!
gave_pointer_note
)
&&
!
gave_pointer_note
)
{
{
inform
(
input_location
,
"to describe a pointer to a VLIW function, use syntax like this:"
);
inform
(
input_location
,
inform
(
input_location
,
" typedef int (__vliw *vfuncptr) ();"
);
"to describe a pointer to a VLIW function, use syntax like this:
\n
%s"
,
" typedef int (__vliw *vfuncptr) ();"
);
gave_pointer_note
=
1
;
gave_pointer_note
=
1
;
}
}
if
(
TREE_CODE
(
*
node
)
==
ARRAY_TYPE
if
(
TREE_CODE
(
*
node
)
==
ARRAY_TYPE
&&
!
gave_array_note
)
&&
!
gave_array_note
)
{
{
inform
(
input_location
,
"to describe an array of VLIW function pointers, use syntax like this:"
);
inform
(
input_location
,
inform
(
input_location
,
" typedef int (__vliw *vfuncptr[]) ();"
);
"to describe an array of VLIW function pointers, use syntax like this:
\n
%s"
,
" typedef int (__vliw *vfuncptr[]) ();"
);
gave_array_note
=
1
;
gave_array_note
=
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