[COMMITTED] Fix two accidentally emptied test cases
Bernd Edlinger
bernd.edlinger@hotmail.de
Thu Oct 20 19:37:00 GMT 2016
Hi!
I became aware that there are two empty files in the test suite that
are not intentionally empty:
g++.dg/warn/Wconversion-real.C: was intended to be deleted with this
commit, but accidentally only set to empty file.
r150627 | manu | 2009-08-10 19:10:50 +0200 (Mon, 10 Aug 2009) | 12 lines
Changed paths:
M /trunk/gcc/testsuite/ChangeLog
A /trunk/gcc/testsuite/c-c++-common
A /trunk/gcc/testsuite/c-c++-common/Wconversion-real.c (from
/trunk/gcc/testsuite/gcc.dg/Wconversion-real.c:150571)
M /trunk/gcc/testsuite/g++.dg/dg.exp
M /trunk/gcc/testsuite/g++.dg/warn/Wconversion-real.C
D /trunk/gcc/testsuite/gcc.dg/Wconversion-real.c
M /trunk/gcc/testsuite/gcc.dg/dg.exp
M /trunk/gcc/testsuite/lib/target-supports.exp
2009-08-10 Manuel López-Ibáñez <manu@gcc.gnu.org>
testsuite/
* gcc.dg/dg.exp: Test also c-c++-common dir.
* g++.dg/dg.exp: Likewise.
* g++.dg/warn/Wconversion-real.C: Delete.
* gcc.dg/Wconversion-real.c: Move to ...
* c-c++-common/Wconversion-real.c: ... here.
* lib/target-supports.exp
(check_effective_target_c,check_effective_target_c++): New.
c-c++-common/wdate-time.c, was intended to be moved to a new location
but accidentally checked in as an empty file in this commit:
r214350 | manu | 2014-08-22 20:39:16 +0200 (Fri, 22 Aug 2014) | 23 lines
Changed paths:
M /trunk/gcc/c-family/ChangeLog
M /trunk/gcc/c-family/c-opts.c
M /trunk/gcc/c-family/c.opt
M /trunk/gcc/testsuite/ChangeLog
A /trunk/gcc/testsuite/c-c++-common/wdate-time.c (from
/trunk/gcc/testsuite/gcc.dg/wdate-time.c:214247)
D /trunk/gcc/testsuite/g++.dg/warn/wdate-time.C
D /trunk/gcc/testsuite/gcc.dg/wdate-time.c
gcc/c-family/ChangeLog
2014-08-22 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c.opt (Wcomment): Use CPP, Var and LangEnabledBy.
(Wmultichar): Likewise.
(Wdate-time): Use C-family languages instead of Common. Use CPP
and Var.
* c-opts.c (c_common_handle_option): Do not handle the above
options here.
(sanitize_cpp_opts): Likewise.
gcc/testsuite/ChangeLog:
2014-08-22 Manuel L?\195?\179pez-Ib?\195?\161?\195?\177ez
<manu@gcc.gnu.org>
* g++.dg/warn/wdate-time.C: Remove.
* gcc.dg/wdate-time.c: Move from here...
* c-c++-common/wdate-time.c: ... to here.
The attached patch fixes these accidents.
Bootstrapped and reg-tested on x86_64-pc-linux-gnu.
I think I can apply this as obvious.
Thanks
Bernd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-testsuite.diff
Type: text/x-patch
Size: 774 bytes
Desc: patch-testsuite.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161020/8a8b2d43/attachment.bin>
More information about the Gcc-patches
mailing list