diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-22 12:32:34 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-22 12:32:34 +0000 |
commit | 10f7f083d5c72bdcc0c54d655458c1f00fc68818 (patch) | |
tree | 3e6d22bb9aa6931a065310c76b938652a0d23638 /gcc/ada/errout.adb | |
parent | 020b6058354f036f9c917340672ec33ad45e7477 (diff) | |
download | gcc-10f7f083d5c72bdcc0c54d655458c1f00fc68818.tar.gz |
2010-06-22 Vincent Celier <celier@adacore.com>
* mlib-prj.adb (Display): In non verbose mode, truncate after fourth
argument.
* mlib-utl.adb (Gcc): In non verbose mode, truncate the display of the
gcc command if it is too long.
2010-06-22 Robert Dewar <dewar@adacore.com>
* errout.adb (Set_Msg_Node): Fix incorrect reference to node.
2010-06-22 Arnaud Charlet <charlet@adacore.com>
* exp_ch6.adb (Expand_Actuals): Use Actual as the related node when
calling Make_Temporary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161170 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/errout.adb')
-rw-r--r-- | gcc/ada/errout.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/errout.adb b/gcc/ada/errout.adb index 20253a5b7df..ff99f5098a9 100644 --- a/gcc/ada/errout.adb +++ b/gcc/ada/errout.adb @@ -2499,7 +2499,7 @@ package body Errout is -- in case, which is the case when we can copy from the source. declare - Src_Loc : constant Source_Ptr := Sloc (Error_Msg_Node_1); + Src_Loc : constant Source_Ptr := Sloc (Node); Sbuffer : Source_Buffer_Ptr; Ref_Ptr : Integer; Src_Ptr : Source_Ptr; |