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
f8136648
Commit
f8136648
authored
Nov 07, 2000
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
Nov 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-common.c (combine_strings): Only warn about long strings for C.
From-SVN: r37297
parent
71fd5a51
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/c-common.c
+1
-1
No files found.
gcc/ChangeLog
View file @
f8136648
2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-common.c (combine_strings): Only warn about long strings for C.
Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com>
* combine.c (distribute_notes): Fix typo in last change.
...
...
gcc/c-common.c
View file @
f8136648
...
...
@@ -426,7 +426,7 @@ combine_strings (strings)
/* Compute the number of elements, for the array type. */
nchars
=
wide_flag
?
length
/
wchar_bytes
:
length
;
if
(
pedantic
&&
nchars
>
nchars_max
)
if
(
pedantic
&&
nchars
>
nchars_max
&&
c_language
==
clk_c
)
pedwarn
(
"string length `%d' is greater than the minimum length `%d' ISO C%d is required to support"
,
nchars
,
nchars_max
,
flag_isoc99
?
99
:
89
);
...
...
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