This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/78529] [7 Regression] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Dec 2016 12:33:23 +0000
- Subject: [Bug tree-optimization/78529] [7 Regression] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2
- Auto-submitted: auto-generated
- References: <bug-78529-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Unless you do something very nasty in the spec files (in which case you should
just avoid those tests), the user specified objects should always appear before
stuff coming from -lc unless -lc is specified first on the command line.