This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Tested on i686-linux, committed on trunk When specifying an object file to the compiler using switch -o, it was possible to specify a base name different from the base name of the source being compiled. This patch ensures that the base name of the specified object file is the same as the base name of the source being compiled. The test for this is to attempt to compile a source titi.ads with: gcc -c -o ouistiti.o titi.ads The compilation should fail with gnat1: incorrect object file name 2007-06-06 Vincent Celier <celier@adacore.com> * osinte-c.ads, osint-c.adb (Set_Library_Info_Name): Fail if base name of specified object file is not equal to base name of source.
Attachment:
difs
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |