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
1b8afbe7
Commit
1b8afbe7
authored
Feb 06, 2002
by
Nick Clifton
Committed by
Nick Clifton
Feb 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expect the compilation to fail because the COFF format does not support the
weak attribute. From-SVN: r49544
parent
6662d4c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
+11
-1
gcc/testsuite/ChangeLog
+8
-0
gcc/testsuite/g++.dg/warn/weak1.C
+2
-0
gcc/testsuite/g++.old-deja/g++.ext/attrib5.C
+1
-1
No files found.
gcc/testsuite/ChangeLog
View file @
1b8afbe7
2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
* g++.dg/warn/weak1.C: Expect a warning from COFF toolchains,
and do not expect to be able to link the executable.
* g++.old-deja/g++.ext/attrib5.C: Expect the compilation to
fail because the COFF format does not support the weak attribute.
2002-02-05 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/pr5473.f: New test
...
...
gcc/testsuite/g++.dg/warn/weak1.C
View file @
1b8afbe7
// { dg-do run }
// { dg-do compile { target *-*-coff } }
// { dg-warning "weak declaration" "COFF format does not support weak" { target *-*-coff } 5 }
extern
void
foo
(
void
)
__attribute__
((
weak
));
...
...
gcc/testsuite/g++.old-deja/g++.ext/attrib5.C
View file @
1b8afbe7
// Test that attributes weak and alias coexist.
// excess errors test - XFAIL alpha*-dec-osf* *-*-hms i?86-pc-cygwin
// excess errors test - XFAIL alpha*-dec-osf* *-*-hms i?86-pc-cygwin
*-*-coff
extern
"C"
{
void
f
()
__attribute__
((
weak
,
alias
(
"_f"
)));
...
...
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