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
b13aca19
Commit
b13aca19
authored
Mar 27, 2001
by
Alan Modra
Committed by
Alan Modra
Mar 27, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-typeck.c (digest_init): Fold init expression.
From-SVN: r40867
parent
005a5cb0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
gcc/ChangeLog
+4
-0
gcc/c-typeck.c
+2
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/compile/20010327-1.c
+2
-0
No files found.
gcc/ChangeLog
View file @
b13aca19
2001-03-27 Alan Modra <alan@linuxcare.com.au>
* c-typeck.c (digest_init): Fold init expression.
2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2001-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
* sbitmap.c (sbitmap_copy): Call memcpy, not bcopy.
...
...
gcc/c-typeck.c
View file @
b13aca19
...
@@ -4675,6 +4675,8 @@ digest_init (type, init, require_constant, constructor_constant)
...
@@ -4675,6 +4675,8 @@ digest_init (type, init, require_constant, constructor_constant)
if
(
TREE_CODE
(
init
)
==
NON_LVALUE_EXPR
)
if
(
TREE_CODE
(
init
)
==
NON_LVALUE_EXPR
)
inside_init
=
TREE_OPERAND
(
init
,
0
);
inside_init
=
TREE_OPERAND
(
init
,
0
);
inside_init
=
fold
(
inside_init
);
/* Initialization of an array of chars from a string constant
/* Initialization of an array of chars from a string constant
optionally enclosed in braces. */
optionally enclosed in braces. */
...
...
gcc/testsuite/ChangeLog
View file @
b13aca19
2001-03-27 Alan Modra <alan@linuxcare.com.au>
* gcc.c-torture/compile/20010327-1.c: New test.
2001-03-26 Nathan Sidwell <nathan@codesourcery.com>
2001-03-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/friend12.C: New test.
* g++.old-deja/g++.other/friend12.C: New test.
...
...
gcc/testsuite/gcc.c-torture/compile/20010327-1.c
0 → 100644
View file @
b13aca19
extern
void
_text
;
static
unsigned
long
x
=
(
unsigned
long
)
&
_text
-
0x10000000L
-
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