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

Unified Diff: gcc/gcc/testsuite/gfortran.dg/fmt_error_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/fmt_cache_1.f ('k') | gcc/gcc/testsuite/gfortran.dg/fmt_exhaust.f90 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gfortran.dg/fmt_error_2.f90
diff --git a/gcc/gcc/testsuite/gfortran.dg/fmt_error_2.f90 b/gcc/gcc/testsuite/gfortran.dg/fmt_error_2.f90
index 8fdaf9e3f2199118d3ecda5f651e27d61894d807..ae818da7f04952e90d40731ef7294b3afa4eafe3 100644
--- a/gcc/gcc/testsuite/gfortran.dg/fmt_error_2.f90
+++ b/gcc/gcc/testsuite/gfortran.dg/fmt_error_2.f90
@@ -1,4 +1,6 @@
! { dg-do compile }
+! { dg-options "-std=legacy" }
+!
! PR 33269: we used to not simplify format strings before checking if
! they were valid, leading to a missed error.
« no previous file with comments | « gcc/gcc/testsuite/gfortran.dg/fmt_cache_1.f ('k') | gcc/gcc/testsuite/gfortran.dg/fmt_exhaust.f90 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698