[7 Regression] gnat bootstrap broken on linux targets with _FORTIFY_SOURCE enabled
Bug #1644888 reported by
Matthias Klose
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Unknown
|
Unknown
|
|||
gcc-snapshot (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
seen with trunk r242874 on all linux architectures, and this patch to enable the build with -D_FORTIFY_
--- a/gcc/c-
+++ b/gcc/c-
@@ -1176,6 +1176,10 @@ c_cpp_builtins (cpp_reader *pfile)
builtin_
builtin_
+ /* Fortify Source enabled by default for optimization levels > 0 */
+ if (optimize)
+ builtin_
+
/* Misc. */
if (flag_gnu89_inline)
cpp_define (pfile, "__GNUC_
Changed in gcc-snapshot (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in gcc-snapshot (Ubuntu): | |
status: | Confirmed → Invalid |
To post a comment you must log in.