back_end.adb (Call_Back_End): Pass the maximum logical line number instead of the...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 20 Oct 2011 10:56:08 +0000 (10:56 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 20 Oct 2011 10:56:08 +0000 (10:56 +0000)
commitb7562769594e07afe277cd93bff32740c79522f5
treed9bd48a25fe74857f4b658b9278b9f09aa41a36a
parent687adac02dad2cd7f2e175dabd2156925bf81e45
back_end.adb (Call_Back_End): Pass the maximum logical line number instead of the maximum physical line...

* 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.

From-SVN: r180242
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]