diff options
| author | Robert Dewar <dewar@adacore.com> | 2007-12-13 11:26:56 +0100 |
|---|---|---|
| committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-12-13 11:26:56 +0100 |
| commit | 36fcf362ce30d24b353f5ece90fb8d760af8626c (patch) | |
| tree | 6fafce247886d6e5a58f5c2bc6f8f0bd92df7c43 /libjava/classpath/lib/java/sql/SQLInput.class | |
| parent | c8b92217c730612a4e07b1c351fa21ce7e102d21 (diff) | |
exp_prag.adb (Expand_Pragma_Assert): Recognize new warning flag for assert fail
2007-12-06 Robert Dewar <dewar@adacore.com>
Ed Schonberg <schonberg@adacore.com>
* exp_prag.adb (Expand_Pragma_Assert): Recognize new warning flag for
assert fail
* ug_words: Add entries for -gnatw.a -gnatw.A
* sem_res.adb (Set_String_Literal_Subtype): If the context of the
literal is a subtype with non-static constraints, use the base type of
the context as the base of the string subtype, to prevent type
mismatches in gigi.
(Resolve_Actuals): If the actual is an entity name, generate a
reference before the actual is resolved and expanded, to prevent
spurious warnings on formals of enclosing protected operations.
(Analyze_Overloaded_Selected_Component): If type of prefix if
class-wide, use visible components of base type.
(Resolve_Selected_Component): Ditto.
(Resolve_Short_Circuit): Detect case of pragma Assert argument
evaluating to False, and issue warning message.
* usage.adb: Add lines for -gnatw.a and -gnatw.A
From-SVN: r130838
Diffstat (limited to 'libjava/classpath/lib/java/sql/SQLInput.class')
0 files changed, 0 insertions, 0 deletions
