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

Unified Diff: gcc/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03

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
Index: gcc/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03
diff --git a/gcc/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03 b/gcc/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03
index ced31a554ba831e897343e6fc89a814d7edc323e..a8cdbdff50c431389a6e7b2452f5f6eee0a5fbdc 100644
--- a/gcc/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03
+++ b/gcc/gcc/testsuite/gfortran.dg/c_kind_tests_2.f03
@@ -4,11 +4,12 @@ module c_kind_tests_2
integer, parameter :: myF = c_float
real(myF), bind(c) :: myCFloat
- integer(myF), bind(c) :: myCInt ! { dg-error "is for type REAL" }
- integer(c_double), bind(c) :: myCInt2 ! { dg-error "is for type REAL" }
+ integer(myF), bind(c) :: myCInt ! { dg-warning "is for type REAL" }
+ integer(c_double), bind(c) :: myCInt2 ! { dg-warning "is for type REAL" }
integer, parameter :: myI = c_int
- real(myI) :: myReal ! { dg-error "is for type INTEGER" }
- real(myI), bind(c) :: myCFloat2 ! { dg-error "is for type INTEGER" }
+ real(myI) :: myReal ! { dg-warning "is for type INTEGER" }
+ real(myI), bind(c) :: myCFloat2 ! { dg-warning "is for type INTEGER" }
real(4), bind(c) :: myFloat ! { dg-warning "may not be a C interoperable" }
end module c_kind_tests_2
+! { dg-final { cleanup-modules "c_kind_tests_2" } }
« no previous file with comments | « gcc/gcc/testsuite/gfortran.dg/c_kind_int128_test2.f03 ('k') | gcc/gcc/testsuite/gfortran.dg/char_pointer_dummy.f90 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698