Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82266 Details for
Bug 126389
Simplified warn_trampolines patch for gcc-4.1.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Tidier patch to add -Wtrampolines; replacement for 00_all_gcc-trampolinewarn.patch
gcc-4.1.0-trampolinewarn.patch (text/plain), 1.07 KB, created by
Kevin F. Quinn (RETIRED)
on 2006-03-15 23:41:46 UTC
(
hide
)
Description:
Tidier patch to add -Wtrampolines; replacement for 00_all_gcc-trampolinewarn.patch
Filename:
MIME Type:
Creator:
Kevin F. Quinn (RETIRED)
Created:
2006-03-15 23:41:46 UTC
Size:
1.07 KB
patch
obsolete
> This trivial patch causes gcc to emit a warning whenever > it generates a trampoline. These are otherwise hard to > locate. It is rigged to default ON - to have it default > to OFF remove the text 'Init(1)' from the common.opt > patch, leaving just 'Common Var(warn_trampolines)'. > Kevin F. Quinn <kevquinn@gentoo.org> 17 Jan 2006 > >--- gcc/builtins.c.orig 2006-01-17 12:00:38.000000000 +0100 >+++ gcc/builtins.c 2006-01-17 12:01:37.000000000 +0100 >@@ -5225,6 +5225,9 @@ > trampolines_created = 1; > INITIALIZE_TRAMPOLINE (r_tramp, r_func, r_chain); > >+ if (warn_trampolines) >+ warning (0, "generating trampolines in object (requires executable stack)"); >+ > return const0_rtx; > } > >--- gcc/common.opt.orig 2006-01-17 12:17:36.000000000 +0100 >+++ gcc/common.opt 2006-01-17 12:24:32.000000000 +0100 >@@ -141,6 +141,10 @@ > Common Var(warn_system_headers) > Do not suppress warnings from system headers > >+Wtrampolines >+Common Var(warn_trampolines) Init(1) >+Warn whenever a trampoline is generated >+ > Wuninitialized > Common Var(warn_uninitialized) > Warn about uninitialized automatic variables
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126389
: 82266