OSDN Git Service

* back_end.adb (Call_Back_End): Pass the maximum logical line number
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2011 10:56:08 +0000 (10:56 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Oct 2011 10:56:08 +0000 (10:56 +0000)
commit165bab47895aec8bedad5678b669f98facbe5595
treed9bd48a25fe74857f4b658b9278b9f09aa41a36a
parent99cdda4b1a9a22cd9dd95397ac66d08f1d5a518e
* back_end.adb (Call_Back_End): Pass the maximum logical line number
instead of the maximum physical line number to gigi.
* gcc-interface/trans.c (Sloc_to_locus): Cope with line zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180242 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/back_end.adb
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/source_ref1.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/source_ref2.adb [new file with mode: 0644]