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
23a651fc
Commit
23a651fc
authored
Sep 09, 2007
by
Revital Eres
Committed by
Revital Eres
Sep 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix two warnings in rs6000.c cause by bdesc_paired_preds
From-SVN: r128293
parent
97511ad7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
gcc/ChangeLog
+6
-0
gcc/config/rs6000/rs6000.c
+4
-4
No files found.
gcc/ChangeLog
View file @
23a651fc
2007-09-09 Revital Eres <eres@il.ibm.com>
* config/rs6000/rs6000.c (paired_init_builtins): Add const
declaration to bdesc_paired_preds variable.
(paired_expand_builtin): Likewise.
2007-09-09 Revital Eres <eres@il.ibm.com>
* dbgcnt.def (sms_sched_loop): New counter.
* modulo-sched.c: Use sms_sched_loop instead of
MAX_SMS_LOOP_NUMBER to determine the maximum number of loops to
gcc/config/rs6000/rs6000.c
View file @
23a651fc
...
...
@@ -8213,7 +8213,7 @@ paired_expand_builtin (tree exp, rtx target, bool * expandedp)
{
tree
fndecl
=
TREE_OPERAND
(
CALL_EXPR_FN
(
exp
),
0
);
unsigned
int
fcode
=
DECL_FUNCTION_CODE
(
fndecl
);
struct
builtin_description
*
d
;
const
struct
builtin_description
*
d
;
size_t
i
;
*
expandedp
=
true
;
...
...
@@ -8230,7 +8230,7 @@ paired_expand_builtin (tree exp, rtx target, bool * expandedp)
}
/* Expand the paired predicates. */
d
=
(
struct
builtin_description
*
)
bdesc_paired_preds
;
d
=
bdesc_paired_preds
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bdesc_paired_preds
);
i
++
,
d
++
)
if
(
d
->
code
==
fcode
)
return
paired_expand_predicate_builtin
(
d
->
icode
,
exp
,
target
);
...
...
@@ -9116,7 +9116,7 @@ spe_init_builtins (void)
static
void
paired_init_builtins
(
void
)
{
struct
builtin_description
*
d
;
const
struct
builtin_description
*
d
;
size_t
i
;
tree
endlink
=
void_list_node
;
...
...
@@ -9151,7 +9151,7 @@ paired_init_builtins (void)
PAIRED_BUILTIN_STX
);
/* Predicates. */
d
=
(
struct
builtin_description
*
)
bdesc_paired_preds
;
d
=
bdesc_paired_preds
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
bdesc_paired_preds
);
++
i
,
d
++
)
{
tree
type
;
...
...
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