public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/31340]  New: testsuite setjmp-3 and setjmp-4 fail attempting to redefine raise
@ 2007-03-25  0:31 tprince at computer dot org
  2007-03-25  6:11 ` [Bug testsuite/31340] " pinskia at gcc dot gnu dot org
  2007-07-29 20:54 ` tprince at computer dot org
  0 siblings, 2 replies; 3+ messages in thread
From: tprince at computer dot org @ 2007-03-25  0:31 UTC (permalink / raw)
  To: gcc-bugs

<signal.h> is in scope when gcc.dg/setjmp-3.c and setjmp-4.c are compiled.  The
attempt to redefine raise() causes the tests to fail.  Either this should be an
XFAIL, or the test should be changed so as to remove the conflict with
pre-existing definition.  The definition in the testsuite conflicts with Open
Group specification
http://www.opengroup.org/onlinepubs/000095399/functions/raise.html


-- 
           Summary: testsuite setjmp-3 and setjmp-4 fail attempting to
                    redefine raise
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tprince at computer dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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

* [Bug testsuite/31340] testsuite setjmp-3 and setjmp-4 fail attempting to redefine raise
  2007-03-25  0:31 [Bug c/31340] New: testsuite setjmp-3 and setjmp-4 fail attempting to redefine raise tprince at computer dot org
@ 2007-03-25  6:11 ` pinskia at gcc dot gnu dot org
  2007-07-29 20:54 ` tprince at computer dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-25  6:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-03-25 08:11 -------
The name of the function should be changed, it is just a local function name
anyways.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |testsuite


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


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

* [Bug testsuite/31340] testsuite setjmp-3 and setjmp-4 fail attempting to redefine raise
  2007-03-25  0:31 [Bug c/31340] New: testsuite setjmp-3 and setjmp-4 fail attempting to redefine raise tprince at computer dot org
  2007-03-25  6:11 ` [Bug testsuite/31340] " pinskia at gcc dot gnu dot org
@ 2007-07-29 20:54 ` tprince at computer dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tprince at computer dot org @ 2007-07-29 20:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tprince at computer dot org  2007-07-29 20:54 -------
The suggested function name change is in mainline, and this resolves the bug.


-- 

tprince at computer dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-07-29 20:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-25  0:31 [Bug c/31340] New: testsuite setjmp-3 and setjmp-4 fail attempting to redefine raise tprince at computer dot org
2007-03-25  6:11 ` [Bug testsuite/31340] " pinskia at gcc dot gnu dot org
2007-07-29 20:54 ` tprince at computer 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).