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
6ccf2f7d
Commit
6ccf2f7d
authored
Jan 23, 2005
by
Kazu Hirata
Committed by
Kazu Hirata
Jan 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* typeck.c: Fix a comment typo.
From-SVN: r94113
parent
35fd3193
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/typeck.c
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
6ccf2f7d
2005-01-23 Kazu Hirata <kazu@cs.umass.edu>
* typeck.c: Fix a comment typo.
2005-01-21 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2005-01-21 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/19208
PR c++/19208
...
...
gcc/cp/typeck.c
View file @
6ccf2f7d
/* Build expressions with type checking for C++ compiler.
/* Build expressions with type checking for C++ compiler.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
1999, 2000, 2001, 2002, 2003, 2004
, 2005
Free Software Foundation, Inc.
Hacked by Michael Tiemann (tiemann@cygnus.com)
Hacked by Michael Tiemann (tiemann@cygnus.com)
This file is part of GCC.
This file is part of GCC.
...
@@ -2188,7 +2188,7 @@ build_array_ref (tree array, tree idx)
...
@@ -2188,7 +2188,7 @@ build_array_ref (tree array, tree idx)
/* Apply integral promotions *after* noticing character types.
/* Apply integral promotions *after* noticing character types.
(It is unclear why we do these promotions -- the standard
(It is unclear why we do these promotions -- the standard
does not say that we should. In fact, the natual thing would
does not say that we should. In fact, the natu
r
al thing would
seem to be to convert IDX to ptrdiff_t; we're performing
seem to be to convert IDX to ptrdiff_t; we're performing
pointer arithmetic.) */
pointer arithmetic.) */
idx
=
perform_integral_promotions
(
idx
);
idx
=
perform_integral_promotions
(
idx
);
...
...
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