Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 314218 Details for
Bug 458981
Function template results in internal compiler error (gcc 4.3.0-8)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Preprocessed source stored into /tmp/cc8VyqEJ.out file
cc8VyqEJ.out (text/plain), 1.03 KB, created by
Stas Maximov
on 2008-08-13 15:43:31 UTC
(
hide
)
Description:
Preprocessed source stored into /tmp/cc8VyqEJ.out file
Filename:
MIME Type:
Creator:
Stas Maximov
Created:
2008-08-13 15:43:31 UTC
Size:
1.03 KB
patch
obsolete
>// /usr/libexec/gcc/i386-redhat-linux/4.3.0/cc1plus -quiet -D_GNU_SOURCE ccb_test_main.cpp -quiet -dumpbase ccb_test_main.cpp -mtune=generic -auxbase ccb_test_main -o - -frandom-seed=0 ># 1 "ccb_test_main.cpp" ># 1 "<built-in>" ># 1 "<command-line>" ># 1 "ccb_test_main.cpp" > > > > >extern "C" { > >typedef int (*ccb_callback_f)(void *arg); >void ccb_register(ccb_callback_f, void *arg); >int ccb_run(void); > >} > > > > > >typedef void ccbwrapC_type; >template<class R, class T, R (T::*pmf)(void)> struct ccbwrapC { > static R func(void *arg) { > T *ths = reinterpret_cast<T*>(arg); > return (ths->*pmf)(); > } > static ccbwrapC_type *cast(T *ths) { > return reinterpret_cast<ccbwrapC_type*>(ths); > } >}; > >template <class R, class T> R ( *ccbwrap4(R (T::*pmf)(void)) )(void *) >{ > typedef ccbwrapC<R,T,pmf> gaga; > return gaga::func; >} > >struct C { > int member_cb(void) { > return 0; > } > C(void) { > > ccb_register(ccbwrap4(&C::member_cb),(void*)this); > } >}; > > >int >main() >{ > C gaga; > > ccb_run(); > > return 0; >}
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 Raw
Actions:
View
Attachments on
bug 458981
: 314218