template-params-7.C: Removed.

2009-10-16  H.J. Lu  <hongjiu.lu@intel.com>

	* g++.dg/debug/dwarf2/template-params-7.C: Removed.
	* gfortran.dg/fmt_error_9.f: Likewise.

From-SVN: r152901
This commit is contained in:
H.J. Lu 2009-10-16 13:44:50 +00:00 committed by H.J. Lu
parent 49b42d8539
commit c845765a2c
3 changed files with 5 additions and 50 deletions

View File

@ -1,3 +1,8 @@
2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
* g++.dg/debug/dwarf2/template-params-7.C: Removed.
* gfortran.dg/fmt_error_9.f: Likewise.
2009-10-15 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:

View File

@ -1,21 +0,0 @@
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin PR debug/30161
// { dg-options "-std=c++0x -g -dA -fno-merge-debug-strings" }
// The type M<> should have one DW_TAG_GNU_template_parameter_pack DIE,
// with no DW_AT_name attribute. We don't test the fact that it has no
// DW_AT_name though.
// { dg-final { scan-assembler-times "DIE \\(0x.*?\\) DW_TAG_GNU_template_parameter_pack" 1 } }
template <typename...>
struct M
{
};
struct R :
M<>
{
};
R r;

View File

@ -1,29 +0,0 @@
! { dg-do run }
! { dg-options "-std=gnu" }
! PR38439 I/O PD edit descriptor inconsistency
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
character(len=25) :: str
character(len=132) :: msg, line
str = '(1pd24.15e6)'
line = "initial string"
x = 555.25
write (line,str,iostat=istat, iomsg=msg) 1.0d0, 1.234
if (istat.ne.5006 .or. msg(1:15).ne."Period required") call abort
if (line.ne."initial string") call abort
str = '(1pf0.15)'
write (line,str,iostat=istat, iomsg=msg) 1.0d0
if (istat.ne.0) call abort
read (*,str,iostat=istat, iomsg=msg) x
if (istat.ne.5006 .or. msg(1:15).ne."Positive width ") call abort
if (x.ne.555.25) call abort
write (line,'(1pd24.15e11.3)') 1.0d0, 1.234
if (line.ne." 1.000000000000000D+00 1.234E+00") call abort
str = '(1p2d24.15)'
msg = " 1.000000000000000D+00 1.233999967575073D+00That's it!"
write (line,'(1p2d24.15a)') 1.0d0, 1.234, "That's it!"
if (line.ne.msg) print *, msg
end