public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pch/31634] *_SECTION_ASM_OP storage has undocumented constraints
       [not found] <bug-31634-4@http.gcc.gnu.org/bugzilla/>
@ 2014-11-09 14:34 ` amylaar at gcc dot gnu.org
  0 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu.org @ 2014-11-09 14:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31634

--- Comment #4 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> ---
31634 used to be relevant for ARC, but that port has since ceased to
support changing the name if TEXT_SECTION_ASM_OP etc. by command line
option, and uses now a string literal, precisely in order to work around
this bug.
Hence, this no longer blocks other/39363 .


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

* [Bug pch/31634] *_SECTION_ASM_OP storage has undocumented constraints
  2007-04-19 17:57 [Bug pch/31634] New: " amylaar at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-03-04 21:56 ` amylaar at gcc dot gnu dot org
@ 2009-03-05  0:27 ` amylaar at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2009-03-05  0:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from amylaar at gcc dot gnu dot org  2009-03-05 00:27 -------
The patch is here:
http://gcc.gnu.org/ml/gcc-patches/2009-03/msg00243.html


-- 


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


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

* [Bug pch/31634] *_SECTION_ASM_OP storage has undocumented constraints
  2007-04-19 17:57 [Bug pch/31634] New: " amylaar at gcc dot gnu dot org
  2007-04-19 18:27 ` [Bug pch/31634] " amylaar at gcc dot gnu dot org
  2007-05-02 12:43 ` amylaar at gcc dot gnu dot org
@ 2009-03-04 21:56 ` amylaar at gcc dot gnu dot org
  2009-03-05  0:27 ` amylaar at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2009-03-04 21:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|39302                       |
OtherBugsDependingO|                            |39363
              nThis|                            |
         AssignedTo|unassigned at gcc dot gnu   |amylaar at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2009-03-04 21:56:38
               date|                            |


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


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

* [Bug pch/31634] *_SECTION_ASM_OP storage has undocumented constraints
  2007-04-19 17:57 [Bug pch/31634] New: " amylaar at gcc dot gnu dot org
  2007-04-19 18:27 ` [Bug pch/31634] " amylaar at gcc dot gnu dot org
@ 2007-05-02 12:43 ` amylaar at gcc dot gnu dot org
  2009-03-04 21:56 ` amylaar at gcc dot gnu dot org
  2009-03-05  0:27 ` amylaar at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2007-05-02 12:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from amylaar at gcc dot gnu dot org  2007-05-02 13:42 -------
(In reply to comment #1)

Actually, struct unnamed_section is not suitable for garbage collected memory.
The data member is skipped, and the callback member points to a function,
which can change position when address space randomization is in effect.

I think the best solution is not to garbage collect unnamed sections.
If precompiled headers are compatible, we should be using the same set of
unnamed
sections in the compilation that uses the header as in the compilation that
created the precompiled header.


-- 


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


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

* [Bug pch/31634] *_SECTION_ASM_OP storage has undocumented constraints
  2007-04-19 17:57 [Bug pch/31634] New: " amylaar at gcc dot gnu dot org
@ 2007-04-19 18:27 ` amylaar at gcc dot gnu dot org
  2007-05-02 12:43 ` amylaar at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2007-04-19 18:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from amylaar at gcc dot gnu dot org  2007-04-19 19:27 -------
On second thought, the implementation is simpler when NULL is not treated
specially.  But then there is a slight majority of the uses in the
config directory that wants the old behaviour of get_unnamed_section,
so it makes sense to use a new name for the new function - or macro -
which does an ggc_strdup of the third argument.


-- 


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


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

end of thread, other threads:[~2014-11-09 14:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-31634-4@http.gcc.gnu.org/bugzilla/>
2014-11-09 14:34 ` [Bug pch/31634] *_SECTION_ASM_OP storage has undocumented constraints amylaar at gcc dot gnu.org
2007-04-19 17:57 [Bug pch/31634] New: " amylaar at gcc dot gnu dot org
2007-04-19 18:27 ` [Bug pch/31634] " amylaar at gcc dot gnu dot org
2007-05-02 12:43 ` amylaar at gcc dot gnu dot org
2009-03-04 21:56 ` amylaar at gcc dot gnu dot org
2009-03-05  0:27 ` amylaar 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).