public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14065] New: tree-ssa generates duplicate definision of invisible sybmbol forward defined
@ 2004-02-07 19:13 fjahanian at apple dot com
  2004-02-07 19:17 ` [Bug optimization/14065] [tree-ssa] [unit-at-a-time] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: fjahanian at apple dot com @ 2004-02-07 19:13 UTC (permalink / raw)
  To: gcc-bugs

This bug was also uncovered building gap of the spec benchmark with tree-ssa. In the
following trivial test case, tree-ssa gcc produces two definition of the locally declaraed extern
which is later defined. Compile with -O2.

/* Bug in tree-ssa, tested on Apple, darwin, ppc. Compile with O2:

mygcct5o -O2 prxxx.c
/var/tmp//ccZZXOy5.s:8:FATAL:Symbol _CPN already defined.

*/


void collect()
{
    extern long         CPN;
}
long         CPN=1;

-- 
           Summary: tree-ssa generates duplicate definision of invisible
                    sybmbol forward defined
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fjahanian at apple dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-apple-darwin7.0.0
GCC target triplet: powerpc-apple-darwin7.0.0


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


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

end of thread, other threads:[~2004-03-27 20:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-07 19:13 [Bug c/14065] New: tree-ssa generates duplicate definision of invisible sybmbol forward defined fjahanian at apple dot com
2004-02-07 19:17 ` [Bug optimization/14065] [tree-ssa] [unit-at-a-time] " pinskia at gcc dot gnu dot org
2004-02-07 19:23 ` pinskia at gcc dot gnu dot org
2004-02-09 22:30 ` [Bug optimization/14065] [tree-ssa] [unit-at-a-time] generates duplicate definition " fjahanian at apple dot com
2004-03-02 18:31 ` dnovillo at gcc dot gnu dot org
2004-03-10 16:54 ` [Bug optimization/14065] [tree-ssa] [unit-at-a-time] generates duplicate definition of invisible symbol forward declared pinskia at gcc dot gnu dot org
2004-03-10 16:55 ` pinskia at gcc dot gnu dot org
2004-03-16 19:10 ` pinskia at gcc dot gnu dot org
2004-03-27 20:34 ` pinskia 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).