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
3826a3da
Commit
3826a3da
authored
Jan 25, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comments.
From-SVN: r8811
parent
e7f6e33b
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
22 additions
and
22 deletions
+22
-22
gcc/c-aux-info.c
+3
-3
gcc/cccp.c
+1
-1
gcc/config/convex/convex.md
+2
-2
gcc/config/m68k/m68k.md
+1
-1
gcc/config/m88k/x-dolph
+1
-1
gcc/config/mips/mips.md
+1
-1
gcc/config/ns32k/ns32k.c
+2
-2
gcc/config/sparc/sparc.md
+3
-3
gcc/cse.c
+2
-2
gcc/protoize.c
+3
-3
gcc/sched.c
+3
-3
No files found.
gcc/c-aux-info.c
View file @
3826a3da
/* Generate information regarding function declarations and definitions based
/* Generate information regarding function declarations and definitions based
on information stored in GCC's tree structure. This code implements the
on information stored in GCC's tree structure. This code implements the
-aux-info option.
-aux-info option.
Copyright (C) 1989, 1991, 1994 Free Software Foundation, Inc.
Copyright (C) 1989, 1991, 1994
, 1995
Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@
netcom
.com).
Contributed by Ron Guilmette (rfg@
segfault.us
.com).
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -208,7 +208,7 @@ gen_formal_list_for_type (fntype, style)
...
@@ -208,7 +208,7 @@ gen_formal_list_for_type (fntype, style)
to output the "void" verbatim, and that what we do. In the former case,
to output the "void" verbatim, and that what we do. In the former case,
we do our best to give protoize something nice to insert.
we do our best to give protoize something nice to insert.
This "something nice" should be something that is still
legal
(when
This "something nice" should be something that is still
valid
(when
re-compiled) but something that can clearly indicate to the user that
re-compiled) but something that can clearly indicate to the user that
more typing information (for the parameter list) should be added (by
more typing information (for the parameter list) should be added (by
hand) at some convenient moment.
hand) at some convenient moment.
...
...
gcc/cccp.c
View file @
3826a3da
...
@@ -7521,7 +7521,7 @@ skip_quoted_string (bp, limit, start_line, count_newlines, backslash_newlines_p,
...
@@ -7521,7 +7521,7 @@ skip_quoted_string (bp, limit, start_line, count_newlines, backslash_newlines_p,
bp
++
;
bp
++
;
}
else
if
(
c
==
'\n'
)
{
}
else
if
(
c
==
'\n'
)
{
if
(
traditional
)
{
if
(
traditional
)
{
/* Unterminated strings and character constants are '
legal
'. */
/* Unterminated strings and character constants are '
valid
'. */
bp
--
;
/* Don't consume the newline. */
bp
--
;
/* Don't consume the newline. */
if
(
eofp
)
if
(
eofp
)
*
eofp
=
1
;
*
eofp
=
1
;
...
...
gcc/config/convex/convex.md
View file @
3826a3da
;;- Machine description for GNU compiler, Convex Version
;;- Machine description for GNU compiler, Convex Version
;; Copyright (C) 1988, 1994 Free Software Foundation, Inc.
;; Copyright (C) 1988, 1994
, 1995
Free Software Foundation, Inc.
;; This file is part of GNU CC.
;; This file is part of GNU CC.
...
@@ -1268,7 +1268,7 @@
...
@@ -1268,7 +1268,7 @@
;; Use
;; Use
;; ((a >> b) ^ signbit) - signbit
;; ((a >> b) ^ signbit) - signbit
;; where signbit is (1
<
<
63
)
>
> b
;; where signbit is (1
<
<
63
)
>
> b
;; Works for 0..63. Does not work for 64; unfortunate but
legal
.
;; Works for 0..63. Does not work for 64; unfortunate but
valid
.
(define_expand "ashrdi3"
(define_expand "ashrdi3"
[
(set (match_operand:DI 0 "register_operand" "")
[
(set (match_operand:DI 0 "register_operand" "")
...
...
gcc/config/m68k/m68k.md
View file @
3826a3da
...
@@ -5464,7 +5464,7 @@
...
@@ -5464,7 +5464,7 @@
;;
;;
;; The strategy I use here is to use SYMBOL_REF_FLAG to differentiate
;; The strategy I use here is to use SYMBOL_REF_FLAG to differentiate
;; these two different operands. The macro LEGITIMATE_PIC_OPERAND_P needs
;; these two different operands. The macro LEGITIMATE_PIC_OPERAND_P needs
;; to be changed to recognize function calls symbol_ref operand as a
legal
;; to be changed to recognize function calls symbol_ref operand as a
valid
;; PIC operand (by checking whether SYMBOL_REF_FLAG is set). This will
;; PIC operand (by checking whether SYMBOL_REF_FLAG is set). This will
;; avoid the compiler to load this symbol_ref operand into a register.
;; avoid the compiler to load this symbol_ref operand into a register.
;; Remember, the operand "foo@PLTPC" cannot be called via jsr directly
;; Remember, the operand "foo@PLTPC" cannot be called via jsr directly
...
...
gcc/config/m88k/x-dolph
View file @
3826a3da
# Use link editor directives to make NULL pointers point to
# Use link editor directives to make NULL pointers point to
# i
llegal
addresses.
# i
nvalid
addresses.
EXTRA_PARTS=crtbegin.o crtend.o gcc.ld
EXTRA_PARTS=crtbegin.o crtend.o gcc.ld
...
...
gcc/config/mips/mips.md
View file @
3826a3da
...
@@ -2861,7 +2861,7 @@ move\\t%0,%z4\\n\\
...
@@ -2861,7 +2861,7 @@ move\\t%0,%z4\\n\\
DONE;
DONE;
}
}
/
*
If operands
[
1
]
is a constant address i
llegal
for pic, then we need to
/
*
If operands
[
1
]
is a constant address i
nvalid
for pic, then we need to
handle it just like LEGITIMIZE_ADDRESS does.
*
/
handle it just like LEGITIMIZE_ADDRESS does.
*
/
if (flag_pic && pic_address_needs_scratch (operands
[
1
]
))
if (flag_pic && pic_address_needs_scratch (operands
[
1
]
))
{
{
...
...
gcc/config/ns32k/ns32k.c
View file @
3826a3da
/* Subroutines for assembler code output on the NS32000.
/* Subroutines for assembler code output on the NS32000.
Copyright (C) 1988, 1994 Free Software Foundation, Inc.
Copyright (C) 1988, 1994
, 1995
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -202,7 +202,7 @@ gen_indexed_expr (base, index, scale)
...
@@ -202,7 +202,7 @@ gen_indexed_expr (base, index, scale)
{
{
rtx
addr
;
rtx
addr
;
/* This generates an i
llegal
addressing mode, if BASE is
/* This generates an i
nvalid
addressing mode, if BASE is
fp or sp. This is handled by PRINT_OPERAND_ADDRESS. */
fp or sp. This is handled by PRINT_OPERAND_ADDRESS. */
if
(
GET_CODE
(
base
)
!=
REG
&&
GET_CODE
(
base
)
!=
CONST_INT
)
if
(
GET_CODE
(
base
)
!=
REG
&&
GET_CODE
(
base
)
!=
CONST_INT
)
base
=
gen_rtx
(
MEM
,
SImode
,
base
);
base
=
gen_rtx
(
MEM
,
SImode
,
base
);
...
...
gcc/config/sparc/sparc.md
View file @
3826a3da
...
@@ -1538,7 +1538,7 @@
...
@@ -1538,7 +1538,7 @@
(set_attr "length" "2")])
(set_attr "length" "2")])
;;; ??? This pattern originally clobbered a scratch register. However, this
;;; ??? This pattern originally clobbered a scratch register. However, this
;;; is i
llegal
, the movdi pattern may not use a temp register because it
;;; is i
nvalid
, the movdi pattern may not use a temp register because it
;;; may be called from reload to reload a DImode value. In that case, we
;;; may be called from reload to reload a DImode value. In that case, we
;;; end up with a scratch register that never gets allocated. To avoid this,
;;; end up with a scratch register that never gets allocated. To avoid this,
;;; we use global register 1 which is never otherwise used by gcc as a temp.
;;; we use global register 1 which is never otherwise used by gcc as a temp.
...
@@ -3441,7 +3441,7 @@
...
@@ -3441,7 +3441,7 @@
"smul %1,%2,%R0
\;
rd %%y,%0"
"smul %1,%2,%R0
\;
rd %%y,%0"
[
(set_attr "length" "2")
]
)
[
(set_attr "length" "2")
]
)
;; Extra pattern, because sign_extend of a constant isn't
legal
.
;; Extra pattern, because sign_extend of a constant isn't
valid
.
(define_insn "const_mulsidi3"
(define_insn "const_mulsidi3"
[
(set (match_operand:DI 0 "register_operand" "=r")
[
(set (match_operand:DI 0 "register_operand" "=r")
...
@@ -3509,7 +3509,7 @@
...
@@ -3509,7 +3509,7 @@
"umul %1,%2,%R0
\;
rd %%y,%0"
"umul %1,%2,%R0
\;
rd %%y,%0"
[
(set_attr "length" "2")
]
)
[
(set_attr "length" "2")
]
)
;; Extra pattern, because sign_extend of a constant isn't
legal
.
;; Extra pattern, because sign_extend of a constant isn't
valid
.
(define_insn "const_umulsidi3"
(define_insn "const_umulsidi3"
[
(set (match_operand:DI 0 "register_operand" "=r")
[
(set (match_operand:DI 0 "register_operand" "=r")
...
...
gcc/cse.c
View file @
3826a3da
/* Common subexpression elimination for GNU compiler.
/* Common subexpression elimination for GNU compiler.
Copyright (C) 1987, 88, 89, 92, 93,
1994
Free Software Foundation, Inc.
Copyright (C) 1987, 88, 89, 92, 93,
94, 1995
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -6261,7 +6261,7 @@ cse_insn (insn, in_libcall_block)
...
@@ -6261,7 +6261,7 @@ cse_insn (insn, in_libcall_block)
/* If this is a STRICT_LOW_PART assignment, src_eqv corresponds to the
/* If this is a STRICT_LOW_PART assignment, src_eqv corresponds to the
value of the INNER register, not the destination. So it is not
value of the INNER register, not the destination. So it is not
a
legal
substitution for the source. But save it for later. */
a
valid
substitution for the source. But save it for later. */
if
(
GET_CODE
(
dest
)
==
STRICT_LOW_PART
)
if
(
GET_CODE
(
dest
)
==
STRICT_LOW_PART
)
src_eqv_here
=
0
;
src_eqv_here
=
0
;
else
else
...
...
gcc/protoize.c
View file @
3826a3da
/* Protoize program - Original version by Ron Guilmette at MCC.
/* Protoize program - Original version by Ron Guilmette at MCC.
Copyright (C) 1989, 1992, 1993, 1994 Free Software Foundation, Inc.
Copyright (C) 1989, 1992, 1993, 1994
, 1995
Free Software Foundation, Inc.
This file is part of GNU CC.
This file is part of GNU CC.
...
@@ -812,7 +812,7 @@ restore_pointers ()
...
@@ -812,7 +812,7 @@ restore_pointers ()
repl_write_ptr
=
saved_repl_write_ptr
;
repl_write_ptr
=
saved_repl_write_ptr
;
}
}
/* Return true if the given character is a
legal
identifier character. */
/* Return true if the given character is a
valid
identifier character. */
static
int
static
int
is_id_char
(
ch
)
is_id_char
(
ch
)
...
@@ -3486,7 +3486,7 @@ find_rightmost_formals_list (clean_text_p)
...
@@ -3486,7 +3486,7 @@ find_rightmost_formals_list (clean_text_p)
sure that this is in fact the right paren that we were looking for.
sure that this is in fact the right paren that we were looking for.
The one we were looking for *must* be followed by either a '{' or
The one we were looking for *must* be followed by either a '{' or
by an alphabetic character, while others *cannot*
legal
ly be followed
by an alphabetic character, while others *cannot*
valid
ly be followed
by such characters. */
by such characters. */
if
((
ch
==
'{'
)
||
isalpha
(
ch
))
if
((
ch
==
'{'
)
||
isalpha
(
ch
))
...
...
gcc/sched.c
View file @
3826a3da
/* Instruction scheduling pass.
/* Instruction scheduling pass.
Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
Copyright (C) 1992, 1993, 1994
, 1995
Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com)
Contributed by Michael Tiemann (tiemann@cygnus.com)
Enhanced by, and currently maintained by, Jim Wilson (wilson@cygnus.com)
Enhanced by, and currently maintained by, Jim Wilson (wilson@cygnus.com)
...
@@ -3426,7 +3426,7 @@ schedule_block (b, file)
...
@@ -3426,7 +3426,7 @@ schedule_block (b, file)
{
{
if
((
REG_NOTE_KIND
(
link
)
==
REG_DEAD
if
((
REG_NOTE_KIND
(
link
)
==
REG_DEAD
||
REG_NOTE_KIND
(
link
)
==
REG_UNUSED
)
||
REG_NOTE_KIND
(
link
)
==
REG_UNUSED
)
/* Verify that the REG_NOTE has a
legal
value. */
/* Verify that the REG_NOTE has a
valid
value. */
&&
GET_CODE
(
XEXP
(
link
,
0
))
==
REG
)
&&
GET_CODE
(
XEXP
(
link
,
0
))
==
REG
)
{
{
register
int
regno
=
REGNO
(
XEXP
(
link
,
0
));
register
int
regno
=
REGNO
(
XEXP
(
link
,
0
));
...
@@ -3529,7 +3529,7 @@ schedule_block (b, file)
...
@@ -3529,7 +3529,7 @@ schedule_block (b, file)
next
=
XEXP
(
link
,
1
);
next
=
XEXP
(
link
,
1
);
if
((
REG_NOTE_KIND
(
link
)
==
REG_DEAD
if
((
REG_NOTE_KIND
(
link
)
==
REG_DEAD
||
REG_NOTE_KIND
(
link
)
==
REG_UNUSED
)
||
REG_NOTE_KIND
(
link
)
==
REG_UNUSED
)
/* Verify that the REG_NOTE has a
legal
value. */
/* Verify that the REG_NOTE has a
valid
value. */
&&
GET_CODE
(
XEXP
(
link
,
0
))
==
REG
)
&&
GET_CODE
(
XEXP
(
link
,
0
))
==
REG
)
{
{
register
int
regno
=
REGNO
(
XEXP
(
link
,
0
));
register
int
regno
=
REGNO
(
XEXP
(
link
,
0
));
...
...
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