Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: gcc/gcc/testsuite/gfortran.dg/func_decl_2.f90

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gfortran.dg/ftell_2.f90 ('k') | gcc/gcc/testsuite/gfortran.dg/g77/1832.f » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gfortran.dg/func_decl_2.f90
diff --git a/gcc/gcc/testsuite/gfortran.dg/func_decl_2.f90 b/gcc/gcc/testsuite/gfortran.dg/func_decl_2.f90
index c2cc4403cd6794d2caa6beca55270a9c459cdec8..658883e65e21bd279fc7389195e5a685b4fba3ab 100644
--- a/gcc/gcc/testsuite/gfortran.dg/func_decl_2.f90
+++ b/gcc/gcc/testsuite/gfortran.dg/func_decl_2.f90
@@ -1,8 +1,6 @@
! { dg-do compile }
! Test fix for PR16943 in which the double typing of
-! N caused an error. This is a common extension to the
-! F95 standard, so the error is only thrown for -std=f95
-! or -pedantic.
+! N caused an error.
!
! Contributed by Paul Thomas <pault@gcc.gnu.org>
!
@@ -14,7 +12,7 @@
integer function bugf(M) result (N)
integer, intent (in) :: M
- integer :: N ! { dg-warning "already has basic type of INTEGER" }
+ integer :: N ! { dg-error "already has basic type of INTEGER" }
N = M
return
end function bugf
« no previous file with comments | « gcc/gcc/testsuite/gfortran.dg/ftell_2.f90 ('k') | gcc/gcc/testsuite/gfortran.dg/g77/1832.f » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698