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 158563 Details for
Bug 246800
gcc: please add arm support
[?]
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.
[patch]
PR30384 fix.
gcc41-pr30384.patch (text/plain), 1.38 KB, created by
Lennert Buytenhek
on 2007-07-05 00:05:52 UTC
(
hide
)
Description:
PR30384 fix.
Filename:
MIME Type:
Creator:
Lennert Buytenhek
Created:
2007-07-05 00:05:52 UTC
Size:
1.38 KB
patch
obsolete
>http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01010.html > > >Subject: Segfault on arm-linux-gnueabi > >The patch below fixes a crash building libgfortran on arm-linux-gnueabi. > >This target doesn't really have a 128-bit integer type, however it does use >TImode to represent the return value of certain special ABI defined library >functions. This results in type_for_size(TImode) being called. > >Because TImode deosn't correspond to any gfortran integer kind >gfc_type_for_size returns NULL and we segfault shortly after. > >The patch below fixes this by making gfc_type_for_size handle TImode in the >same way as the C frontend. > >Tested on x86_64-linux and arm-linux-gnueabi. >Applied to trunk. > >Paul > >2007-05-15 Paul Brook <paul@codesourcery.com> > > gcc/fortran/ > * trans-types.c (gfc_type_for_size): Handle signed TImode. > >Index: gcc/fortran/trans-types.c >=================================================================== >--- gcc/fortran/trans-types.c >+++ gcc/fortran/trans-types.c >@@ -1783,6 +1783,13 @@ gfc_type_for_size (unsigned bits, int un > if (type && bits == TYPE_PRECISION (type)) > return type; > } >+ >+ /* Handle TImode as a special case because it is used by some backends >+ (eg. ARM) even though it is not available for normal use. */ >+#if HOST_BITS_PER_WIDE_INT >= 64 >+ if (bits == TYPE_PRECISION (intTI_type_node)) >+ return intTI_type_node; >+#endif > } > else > {
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 246800
:
158560
|
158561
|
158562
| 158563 |
158564
|
158565
|
241781
|
243621
|
250151
|
250521