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

Unified Diff: gcc/libgfortran/runtime/error.c

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/libgfortran/m4/unpack.m4 ('k') | gcc/libgfortran/runtime/fpu.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/libgfortran/runtime/error.c
diff --git a/gcc/libgfortran/runtime/error.c b/gcc/libgfortran/runtime/error.c
index 07da6df36e490248909124a5957eb98ee9a433f6..2c4b6a6b11dea5b31cb978d302c4e7da03b06260 100644
--- a/gcc/libgfortran/runtime/error.c
+++ b/gcc/libgfortran/runtime/error.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2005, 2006, 2007, 2009
+/* Copyright (C) 2002, 2003, 2005, 2006, 2007, 2009, 2010
Free Software Foundation, Inc.
Contributed by Andy Vaught
@@ -452,13 +452,13 @@ notification_std (int std)
int warning;
if (!compile_options.pedantic)
- return SILENT;
+ return NOTIFICATION_SILENT;
warning = compile_options.warn_std & std;
if ((compile_options.allow_std & std) != 0 && !warning)
- return SILENT;
+ return NOTIFICATION_SILENT;
- return warning ? WARNING : ERROR;
+ return warning ? NOTIFICATION_WARNING : NOTIFICATION_ERROR;
}
« no previous file with comments | « gcc/libgfortran/m4/unpack.m4 ('k') | gcc/libgfortran/runtime/fpu.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698