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
4cf02238
Commit
4cf02238
authored
Apr 23, 2015
by
Ramana Radhakrishnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re PR target/26702 (.size is not emitted for BSS variables)
Fix PR target/26702 For Kwok Cheung Yeung. From-SVN: r222371
parent
5c4abbb8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
0 deletions
+17
-0
gcc/ChangeLog
+6
-0
gcc/config/arm/unknown-elf.h
+2
-0
gcc/testsuite/ChangeLog
+5
-0
gcc/testsuite/gcc.target/arm/pr26702.c
+4
-0
No files found.
gcc/ChangeLog
View file @
4cf02238
2015-04-23 Kwok Cheung Yeung <kcy@codesourcery.com>
PR target/26702
* config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL):
Emit size of local.
2015-04-23 Nick Clifton <nickc@redhat.com>
* config/rl78/rl78.c (rl78_preferred_reload_class): Add
...
...
gcc/config/arm/unknown-elf.h
View file @
4cf02238
...
...
@@ -81,6 +81,8 @@
ASM_OUTPUT_ALIGN (FILE, floor_log2 (ALIGN / BITS_PER_UNIT)); \
ASM_OUTPUT_LABEL (FILE, NAME); \
fprintf (FILE, "\t.space\t%d\n", SIZE ? (int)(SIZE) : 1); \
fprintf (FILE, "\t.size\t%s, %d\n", \
NAME, SIZE ? (int) SIZE, 1); \
} \
while (0)
...
...
gcc/testsuite/ChangeLog
View file @
4cf02238
2015-04-23 Kyok Cheung Yeung <kck@codesourcery.com>
PR target/26702
* gcc.target/arm/pr26702.c: New test.
2015-04-23 Marek Polacek <polacek@redhat.com>
PR c/65345
...
...
gcc/testsuite/gcc.target/arm/pr26702.c
0 → 100644
View file @
4cf02238
/* { dg-do compile { target arm_eabi } } */
/* { dg-final { scan-assembler "\\.size\[\\t \]+static_foo, 4" } } */
int
foo
;
static
int
static_foo
;
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