public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/21226] New: unix_stream small_buffer unaligned
@ 2005-04-25 23:19 dje at gcc dot gnu dot org
  2005-04-26 16:34 ` [Bug libfortran/21226] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-04-25 23:19 UTC (permalink / raw)
  To: gcc-bugs

Aligning small_buffer in struct unix_stream would help performance.  As an array
of char, it can and does appear with byte alignment.

-- 
           Summary: unix_stream small_buffer unaligned
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: *-*-*
  GCC host triplet: *-*-*
GCC target triplet: *-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21226


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/21226] unix_stream small_buffer unaligned
  2005-04-25 23:19 [Bug libfortran/21226] New: unix_stream small_buffer unaligned dje at gcc dot gnu dot org
@ 2005-04-26 16:34 ` pinskia at gcc dot gnu dot org
  2005-05-11 23:28 ` tobi at gcc dot gnu dot org
  2005-05-12  0:17 ` dje at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-26 16:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-26 16:34 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-26 16:34:27
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21226


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/21226] unix_stream small_buffer unaligned
  2005-04-25 23:19 [Bug libfortran/21226] New: unix_stream small_buffer unaligned dje at gcc dot gnu dot org
  2005-04-26 16:34 ` [Bug libfortran/21226] " pinskia at gcc dot gnu dot org
@ 2005-05-11 23:28 ` tobi at gcc dot gnu dot org
  2005-05-12  0:17 ` dje at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: tobi at gcc dot gnu dot org @ 2005-05-11 23:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2005-05-11 23:28 -------
I don't think so, because it is not small_buffer that is used, but rather a char
* buffer that can point to small_buffer.

Is there a way to say that char * buffer will always be aligned?  In that case
this could still make sense.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tobi at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21226


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/21226] unix_stream small_buffer unaligned
  2005-04-25 23:19 [Bug libfortran/21226] New: unix_stream small_buffer unaligned dje at gcc dot gnu dot org
  2005-04-26 16:34 ` [Bug libfortran/21226] " pinskia at gcc dot gnu dot org
  2005-05-11 23:28 ` tobi at gcc dot gnu dot org
@ 2005-05-12  0:17 ` dje at gcc dot gnu dot org
  2 siblings, 0 replies; 5+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-05-12  0:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dje at gcc dot gnu dot org  2005-05-12 00:17 -------
I believe that one could use a GCC attribute to say that the arena will be 
aligned, but one needs to sprinkle the attribute everywhere that the pointer 
is allocated and passed as an argument, not just aligning the small buffer 
itself.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21226


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/21226] unix_stream small_buffer unaligned
       [not found] <bug-21226-327@http.gcc.gnu.org/bugzilla/>
@ 2007-09-21 19:54 ` fxcoudert at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-09-21 19:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2007-09-21 19:53 -------
Closing. small_buffer will go away when we implement PR 25561 ("Eventually get
rid of the Alloc Stream Facility"). 


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21226


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-21 19:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-25 23:19 [Bug libfortran/21226] New: unix_stream small_buffer unaligned dje at gcc dot gnu dot org
2005-04-26 16:34 ` [Bug libfortran/21226] " pinskia at gcc dot gnu dot org
2005-05-11 23:28 ` tobi at gcc dot gnu dot org
2005-05-12  0:17 ` dje at gcc dot gnu dot org
     [not found] <bug-21226-327@http.gcc.gnu.org/bugzilla/>
2007-09-21 19:54 ` fxcoudert at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).