aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.cc
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2022-03-23 10:27:44 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-17 08:25:46 +0000
commitb81c9e4f9f48f6e65d2e7e02d928e31f24a37c63 (patch)
treef6b19b887f4e0078bf67a6e13725bcdba23b0550 /gcc/fortran/trans-openmp.cc
parenta2bcadcef01990526712d07b4cbcdd6e47ad3da9 (diff)
downloadgcc-b81c9e4f9f48f6e65d2e7e02d928e31f24a37c63.zip
gcc-b81c9e4f9f48f6e65d2e7e02d928e31f24a37c63.tar.gz
gcc-b81c9e4f9f48f6e65d2e7e02d928e31f24a37c63.tar.bz2
[Ada] Output.w always writes to stderr
There are several debugging procedures called Output.w, and some output-redirection features. This patch modifies Output.w so their output is not redirected; it always goes to standard error. Otherwise, debugging output can get mixed in with some "real" output (perhaps to a file), which causes confusion and in some cases failure to build. gcc/ada/ * output.adb (Pop_Output, Set_Output): Unconditionally flush output when switching from one output destination to another. Otherwise buffering can cause garbled output. (w): Push/pop the current settings, and temporarily Set_Standard_Error during these procedures.
Diffstat (limited to 'gcc/fortran/trans-openmp.cc')
0 files changed, 0 insertions, 0 deletions