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
adccacc4
Commit
adccacc4
authored
Oct 20, 2003
by
Zdenek Dvorak
Committed by
Zdenek Dvorak
Oct 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/old-style-asm-1.c: Count jump_insns instead of labels.
From-SVN: r72698
parent
59823ba4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/old-style-asm-1.c
+4
-7
No files found.
gcc/testsuite/ChangeLog
View file @
adccacc4
2003-10-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcc.dg/old-style-asm-1.c: Count jump_insns instead of labels.
2003-10-20 Eric Botcazou <ebotcazou@libertysurf.fr>
2003-10-20 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
* gcc.dg/builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
...
...
gcc/testsuite/gcc.dg/old-style-asm-1.c
View file @
adccacc4
/* PR inline-asm/8832 */
/* PR inline-asm/8832 */
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2
-dP
" } */
/* Verify that GCC doesn't optimize
/* Verify that GCC doesn't optimize
old style asm instructions. */
old style asm instructions. */
...
@@ -18,9 +18,6 @@ void foo(int v)
...
@@ -18,9 +18,6 @@ void foo(int v)
/* The purpose of the test below is to check that there are two branches
/* The purpose of the test below is to check that there are two branches
in the generated code, supposedly corresponding to the if-statements.
in the generated code, supposedly corresponding to the if-statements.
Warning: this is fragile and assumes that the generated labels for the
It tries to check for jump_insn (set (pc) pattern, so that jump_insns
branches contain letter "L". That assumption is generally invalid,
corresponding to return are not taken into account. */
because for example it depends on the target macro
/* { dg-final { scan-assembler-times "(?n)jump_insn.*set.*pc" 2 } } */
ASM_GENERATE_INTERNAL_LABEL to generate such a name (as with the default
definition). */
/* { dg-final { scan-assembler-times "L" 4 } } */
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