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
a2566f60
Commit
a2566f60
authored
Oct 02, 2001
by
Neil Booth
Committed by
Neil Booth
Oct 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/cpp/macro11.c: New test.
From-SVN: r45978
parent
d1c3e709
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/cpp/macro11.c
+16
-0
No files found.
gcc/testsuite/ChangeLog
View file @
a2566f60
2001-10-02 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/macro11.c: New test.
2001-10-02 Joseph S. Myers <jsm28@cam.ac.uk>
* g++.dg/warn/format2.C, gcc.dg/format/attr-7.c,
...
...
gcc/testsuite/gcc.dg/cpp/macro11.c
0 → 100644
View file @
a2566f60
/* Copyright (C) 2001 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* Source: Neil Booth, 2 Oct 2001.
Tests that we clear the disabled flag that is set by the
macro-defined-to-itself optimization (the optimization might not be
worth it). */
#define foo foo
#undef foo
#define foo 1
#if !foo
#error foo still disabled!
#endif
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