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
2877e0ae
Commit
2877e0ae
authored
Mar 09, 2002
by
Andreas Schwab
Committed by
Andreas Schwab
Mar 09, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c (validate_all_switches): Also handle `%W{...}'.
From-SVN: r50505
parent
ae53d63a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/gcc.c
+3
-3
No files found.
gcc/ChangeLog
View file @
2877e0ae
2002-03-09 Andreas Schwab <schwab@suse.de>
* gcc.c (validate_all_switches): Also handle `%W{...}'.
2002-03-09 Geoffrey Keating <geoffk@redhat.com>
* config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
...
...
gcc/gcc.c
View file @
2877e0ae
...
...
@@ -6373,7 +6373,7 @@ validate_all_switches ()
{
p
=
comp
->
spec
;
while
((
c
=
*
p
++
))
if
(
c
==
'%'
&&
*
p
==
'{'
)
if
(
c
==
'%'
&&
(
*
p
==
'{'
||
(
*
p
==
'W'
&&
*++
p
==
'{'
))
)
/* We have a switch spec. */
validate_switches
(
p
+
1
);
}
...
...
@@ -6383,14 +6383,14 @@ validate_all_switches ()
{
p
=
*
(
spec
->
ptr_spec
);
while
((
c
=
*
p
++
))
if
(
c
==
'%'
&&
*
p
==
'{'
)
if
(
c
==
'%'
&&
(
*
p
==
'{'
||
(
*
p
==
'W'
&&
*++
p
==
'{'
))
)
/* We have a switch spec. */
validate_switches
(
p
+
1
);
}
p
=
link_command_spec
;
while
((
c
=
*
p
++
))
if
(
c
==
'%'
&&
*
p
==
'{'
)
if
(
c
==
'%'
&&
(
*
p
==
'{'
||
(
*
p
==
'W'
&&
*++
p
==
'{'
))
)
/* We have a switch spec. */
validate_switches
(
p
+
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