diff options
| author | Jason Merrill <jason@redhat.com> | 2012-11-22 09:42:00 -0500 |
|---|---|---|
| committer | Jason Merrill <jason@gcc.gnu.org> | 2012-11-22 09:42:00 -0500 |
| commit | 81ede53ad7a6db16eee9e9d8896949e928c04d5c (patch) | |
| tree | 9c24e24f889471d133a7807f725c04c202a351bc /libjava/classpath/java/sql/SQLWarning.java | |
| parent | 0c0cba54e8c87f02ee4ff2bea9b746f09ef1c8ba (diff) | |
re PR c++/55137 (Unexpected static structure initialization)
PR c++/55137
* semantics.c (verify_constant): Track overflow separately.
(reduced_constant_expression_p): Don't check it here.
(cxx_eval_constant_expression): Check it on CSTs.
(cxx_eval_outermost_constant_expr): Treat overflows as non-constant
at this point, but still return the folded version.
(potential_constant_expression_1): Don't check overflow.
From-SVN: r193727
Diffstat (limited to 'libjava/classpath/java/sql/SQLWarning.java')
0 files changed, 0 insertions, 0 deletions
