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
d4c2d8af
Commit
d4c2d8af
authored
Sep 15, 1999
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix comment
From-SVN: r29443
parent
01fba8d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
gcc/cp/typeck.c
+2
-3
No files found.
gcc/cp/typeck.c
View file @
d4c2d8af
...
@@ -1611,9 +1611,8 @@ expr_sizeof (e)
...
@@ -1611,9 +1611,8 @@ expr_sizeof (e)
return
size_int
(
1
);
return
size_int
(
1
);
}
}
/* It's illegal to say `sizeof (X::i)' for `i' a non-static data
/* It's illegal to say `sizeof (X::i)' for `i' a non-static data
member unless you're in a non-static member of X. But, we used
member unless you're in a non-static member of X. So hand off to
to support this usage, so we still permit it unless we're being
resolve_offset_ref. [expr.prim] */
pedantic. [expr.prim] */
else
if
(
TREE_CODE
(
e
)
==
OFFSET_REF
)
else
if
(
TREE_CODE
(
e
)
==
OFFSET_REF
)
e
=
resolve_offset_ref
(
e
);
e
=
resolve_offset_ref
(
e
);
...
...
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