diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-13 10:26:56 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-13 10:26:56 +0000 |
commit | 87027bccd47eaa00b241cb14371aa786336b4625 (patch) | |
tree | 6fafce247886d6e5a58f5c2bc6f8f0bd92df7c43 /gcc/ada/s-finroo.adb | |
parent | 97ca3f7631d847bf60fc2df43db30b0c2bf721d2 (diff) | |
download | gcc-87027bccd47eaa00b241cb14371aa786336b4625.tar.gz |
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130838 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-finroo.adb')
0 files changed, 0 insertions, 0 deletions