diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-02-20 10:18:58 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-02-20 10:18:58 +0000 |
commit | 4e2bae26bfa2eab9678a125a7701291fe3dd7153 (patch) | |
tree | fa32faad84393dfa336f79b8f5cfeab5bd3aad7b /libjava/java/util/concurrent/SynchronousQueue$TransferStack.h | |
parent | 6bdcc60c754f23ad4cdaa61df43ef5acb1c5465b (diff) | |
download | gcc-4e2bae26bfa2eab9678a125a7701291fe3dd7153.zip gcc-4e2bae26bfa2eab9678a125a7701291fe3dd7153.tar.gz gcc-4e2bae26bfa2eab9678a125a7701291fe3dd7153.tar.bz2 |
re PR other/30824 (-Werror -Wfatal-errors should stop after the first warning)
2007-02-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
DJ Delorie <dj@redhat.com>
PR other/30824
* diagnostic.c (diagnostic_count_diagnostic): Move -Werror
logic to...
(diagnostic_report_diagnostic): ... here, and turn them into
real errors. If warnings are inhibited, no need to do
anything.
testsuite/
* gcc.dg/Wfatal.c: New.
* gcc.dg/Wfatal-2.c: New.
* gcc.dg/Werror-1.c: Adjust expectations.
* gcc.dg/Werror-5.c: Likewise.
* gcc.dg/Werror-7.c: Likewise.
* gcc.dg/Werror-10.c: Likewise.
* gcc.dg/Werror-11.c: Likewise.
Co-Authored-By: DJ Delorie <dj@redhat.com>
From-SVN: r122159
Diffstat (limited to 'libjava/java/util/concurrent/SynchronousQueue$TransferStack.h')
0 files changed, 0 insertions, 0 deletions