public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
       [not found] <bug-41209-4@http.gcc.gnu.org/bugzilla/>
@ 2011-06-10 10:17 ` roucaries.bastien+bugs at gmail dot com
  2011-06-22  5:18 ` stevenj at alum dot mit.edu
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: roucaries.bastien+bugs at gmail dot com @ 2011-06-10 10:17 UTC (permalink / raw)
  To: gcc-bugs

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

Bastien ROUCARIES <roucaries.bastien+bugs at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roucaries.bastien+bugs at
                   |                            |gmail dot com

--- Comment #6 from Bastien ROUCARIES <roucaries.bastien+bugs at gmail dot com> 2011-06-10 10:16:51 UTC ---
Please not that bug #35827 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35827)
depend of this bug.


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

* [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
       [not found] <bug-41209-4@http.gcc.gnu.org/bugzilla/>
  2011-06-10 10:17 ` [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...) roucaries.bastien+bugs at gmail dot com
@ 2011-06-22  5:18 ` stevenj at alum dot mit.edu
  2011-09-11 14:25 ` tkoenig at gcc dot gnu.org
  2013-08-28  6:34 ` burnus at gcc dot gnu.org
  3 siblings, 0 replies; 9+ messages in thread
From: stevenj at alum dot mit.edu @ 2011-06-22  5:18 UTC (permalink / raw)
  To: gcc-bugs

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

stevenj at alum dot mit.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stevenj at alum dot mit.edu

--- Comment #7 from stevenj at alum dot mit.edu 2011-06-22 05:17:45 UTC ---
Note that Bug 49501 (requesting at least ATTRIBUTES ALIGN) is also related to
this one.


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

* [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
       [not found] <bug-41209-4@http.gcc.gnu.org/bugzilla/>
  2011-06-10 10:17 ` [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...) roucaries.bastien+bugs at gmail dot com
  2011-06-22  5:18 ` stevenj at alum dot mit.edu
@ 2011-09-11 14:25 ` tkoenig at gcc dot gnu.org
  2013-08-28  6:34 ` burnus at gcc dot gnu.org
  3 siblings, 0 replies; 9+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2011-09-11 14:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-09-11 12:06:48 UTC ---
*** Bug 49501 has been marked as a duplicate of this bug. ***


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

* [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
       [not found] <bug-41209-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-09-11 14:25 ` tkoenig at gcc dot gnu.org
@ 2013-08-28  6:34 ` burnus at gcc dot gnu.org
  3 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-08-28  6:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> ---
For ALIGN, we should consider following Intel's compiler by also using it for
ALLOCATE and not only for static arrays; cf.
http://software.intel.com/en-us/articles/data-alignment-to-assist-vectorization
(That has to be explicitly spelled out as for C/C++ the aligned attribute -
obviously - does not have this effect.)


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

* [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
  2009-09-01  9:35 [Bug fortran/41209] New: " burnus at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-02-18 16:19 ` burnus at gcc dot gnu dot org
@ 2010-08-24 14:38 ` burnus at gcc dot gnu dot org
  4 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-08-24 14:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from burnus at gcc dot gnu dot org  2010-08-24 14:38 -------
This feature is also useful for the test suite, e.g. to force no inlining.

TODO 3:
Some attributes need to be moved out of c-family/c-common.c to be available for
Fortran.


-- 


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


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

* [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
  2009-09-01  9:35 [Bug fortran/41209] New: " burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-12-04 23:33 ` dfranke at gcc dot gnu dot org
@ 2010-02-18 16:19 ` burnus at gcc dot gnu dot org
  2010-08-24 14:38 ` burnus at gcc dot gnu dot org
  4 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-02-18 16:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from burnus at gcc dot gnu dot org  2010-02-18 16:19 -------
Another request for this feature:
  http://gcc.gnu.org/ml/fortran/2010-02/msg00144.html


-- 


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


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

* [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
  2009-09-01  9:35 [Bug fortran/41209] New: " burnus at gcc dot gnu dot org
  2009-09-01 13:30 ` [Bug fortran/41209] " burnus at gcc dot gnu dot org
  2009-09-01 17:39 ` burnus at gcc dot gnu dot org
@ 2009-12-04 23:33 ` dfranke at gcc dot gnu dot org
  2010-02-18 16:19 ` burnus at gcc dot gnu dot org
  2010-08-24 14:38 ` burnus at gcc dot gnu dot org
  4 siblings, 0 replies; 9+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2009-12-04 23:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dfranke at gcc dot gnu dot org  2009-12-04 23:33 -------
Confirmed and marked as enhancement.
(I'd like to eventually be able to use the attribute DEPRECATED.)


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dfranke at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-04 23:33:29
               date|                            |


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


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

* [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
  2009-09-01  9:35 [Bug fortran/41209] New: " burnus at gcc dot gnu dot org
  2009-09-01 13:30 ` [Bug fortran/41209] " burnus at gcc dot gnu dot org
@ 2009-09-01 17:39 ` burnus at gcc dot gnu dot org
  2009-12-04 23:33 ` dfranke at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-09-01 17:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from burnus at gcc dot gnu dot org  2009-09-01 17:39 -------
Created an attachment (id=18463)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18463&action=view)
Draft patch - first steps but incomplete & will not work

Draft patch (not really work yet).

TODO:
a) Copy attributes properly and free them at the end
b) Write/read them from the .mod file
c) Use an ENUM for stdcall etc.? Requires a check whether they are already set
but those options are orthogonal thus that makes sense.

TODO 2: Check whether derived types are properly handled: bind(C) vs. sequence
vs. extensible types. And attributes to components vs. attributes to the type
as a whole.
Plus checking whether we set some attributes by default which clash with user
settings.
Plus: Are additional front-end checks needed besides stdcall etc. conformance
for proc-pointers?


-- 


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


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

* [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...)
  2009-09-01  9:35 [Bug fortran/41209] New: " burnus at gcc dot gnu dot org
@ 2009-09-01 13:30 ` burnus at gcc dot gnu dot org
  2009-09-01 17:39 ` burnus at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-09-01 13:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2009-09-01 13:29 -------
As fun one can think of supporting also alignment within a TYPE, similarly to
C's:
   struct foo { int x[2] __attribute__ ((aligned (8))); };

See http://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html for details.


-- 


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


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

end of thread, other threads:[~2013-08-28  6:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-41209-4@http.gcc.gnu.org/bugzilla/>
2011-06-10 10:17 ` [Bug fortran/41209] Add full ATTRIBUTE support to gfortran (ALIGN, (WEAK)ALIAS, ...) roucaries.bastien+bugs at gmail dot com
2011-06-22  5:18 ` stevenj at alum dot mit.edu
2011-09-11 14:25 ` tkoenig at gcc dot gnu.org
2013-08-28  6:34 ` burnus at gcc dot gnu.org
2009-09-01  9:35 [Bug fortran/41209] New: " burnus at gcc dot gnu dot org
2009-09-01 13:30 ` [Bug fortran/41209] " burnus at gcc dot gnu dot org
2009-09-01 17:39 ` burnus at gcc dot gnu dot org
2009-12-04 23:33 ` dfranke at gcc dot gnu dot org
2010-02-18 16:19 ` burnus at gcc dot gnu dot org
2010-08-24 14:38 ` burnus 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).