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
42b343d6
Commit
42b343d6
authored
Apr 07, 2004
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Apr 07, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/pch/pch.exp: Add largefile test.
From-SVN: r80492
parent
6ed6a1b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/pch/pch.exp
+15
-0
No files found.
gcc/testsuite/ChangeLog
View file @
42b343d6
2004-04-07 Ian Lance Taylor <ian@wasabisystems.com>
* gcc.dg/pch/pch.exp: Add largefile test.
2004-04-06 Geoffrey Keating <geoffk@apple.com>
* g++.dg/pch/externc-1.Hs: New.
...
...
gcc/testsuite/gcc.dg/pch/pch.exp
View file @
42b343d6
...
...
@@ -37,6 +37,21 @@ foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.c]] {
dg-pch $subdir $test [concat [list {-O0 -g}] $torture_without_loops] ".h"
}
set test "largefile.c"
set testh "largefile.hs"
set f [open $test w]
set v 0
for { set v 0 } { $v < 10000 } { incr v } {
puts $f "#define MACRO_${v} \"1234567890\" \"$v\""
}
puts $f "#include \"largefile.h\""
close $f
set f [open $testh w]
close $f
dg-pch $subdir $test [concat [list {-O0 -g}] $torture_without_loops] ".h"
file delete $test
file delete $testh
set dg-do-what-default "$old_dg_do_what_default"
# All done.
...
...
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