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
3c157c27
Commit
3c157c27
authored
Jan 09, 2012
by
Eric Botcazou
Committed by
Eric Botcazou
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.
From-SVN: r183025
parent
80508c49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ada/ChangeLog
+4
-0
gcc/ada/gcc-interface/trans.c
+2
-2
No files found.
gcc/ada/ChangeLog
View file @
3c157c27
2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.
2012-01-06 Robert Dewar <dewar@adacore.com>
* a-wichha.ads, a-wichun.ads, a-zchhan.ads, a-zchuni.ads,
...
...
gcc/ada/gcc-interface/trans.c
View file @
3c157c27
...
...
@@ -6,7 +6,7 @@
* *
* C Implementation File *
* *
* Copyright (C) 1992-201
1
, Free Software Foundation, Inc. *
* Copyright (C) 1992-201
2
, Free Software Foundation, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
...
...
@@ -8403,7 +8403,7 @@ addressable_p (tree gnu_expr, tree gnu_type)
||
DECL_ALIGN
(
TREE_OPERAND
(
gnu_expr
,
1
))
>=
TYPE_ALIGN
(
TREE_TYPE
(
gnu_expr
))))
/* The field of a padding record is always addressable. */
||
TYPE_PADDING_P
(
TREE_TYPE
(
TREE_OPERAND
(
gnu_expr
,
0
))))
||
TYPE_
IS_
PADDING_P
(
TREE_TYPE
(
TREE_OPERAND
(
gnu_expr
,
0
))))
&&
addressable_p
(
TREE_OPERAND
(
gnu_expr
,
0
),
NULL_TREE
));
case
ARRAY_REF
:
case
ARRAY_RANGE_REF
:
...
...
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