public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11218] New: [tree-ssa] symbol already defined
@ 2003-06-17  8:19 marcus@jet.franken.de
  2003-06-17  8:20 ` [Bug c/11218] " marcus@jet.franken.de
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: marcus@jet.franken.de @ 2003-06-17  8:19 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [tree-ssa] symbol already defined
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: marcus@jet.franken.de
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

attached .i file compiles with tree-ssa branch, version 
 
gcc-Version 3.5-tree-ssa 20030616 (merged 20030525) 
 
gcc -O2 -c casemap.i  
/tmp/ccvSVeh0.s: Assembler messages: 
/tmp/ccvSVeh0.s:13: Error: symbol `t' is already defined 
 
this works in earlier gcc versions.


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
@ 2003-06-17  8:20 ` marcus@jet.franken.de
  2003-06-17 15:12 ` pinskia@physics.uc.edu
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: marcus@jet.franken.de @ 2003-06-17  8:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From marcus@jet.franken.de  2003-06-17 08:20 -------
Created an attachment (id=4232)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4232&action=view)
sample preprocessed code


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
  2003-06-17  8:20 ` [Bug c/11218] " marcus@jet.franken.de
@ 2003-06-17 15:12 ` pinskia@physics.uc.edu
  2003-06-17 16:58 ` pinskia@physics.uc.edu
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-17 15:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-17 15:12:33
               date|                            |
            Summary|[tree-ssa] symbol already   |[tree-ssa] symbol already
                   |defined                     |defined


------- Additional Comments From pinskia@physics.uc.edu  2003-06-17 15:12 -------
I see the same thing on powerpc-apple-darwin6.6 with tree-ssa 20030615 (merged 20030525). I 
am compiling a new compiler right now to see if I see it on 20030617 (merged 20030525). Some 
how between Generic and Gimple the symbol gets changed to a static variable inside f:

*.t03.generic:
;; Function f (f)
f ()
{
  extern int t[];
  (void)0
}

*.t05.gimple:
;; Function f (f)
f ()
{
  static int t[1] = <<< error >>>;
  (void)0
}


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
  2003-06-17  8:20 ` [Bug c/11218] " marcus@jet.franken.de
  2003-06-17 15:12 ` pinskia@physics.uc.edu
@ 2003-06-17 16:58 ` pinskia@physics.uc.edu
  2003-06-21  1:31 ` bangerth at dealii dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-17 16:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia@physics.uc.edu  2003-06-17 16:58 -------
Yep it still happens on 20030617 (merged 20030525).


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
                   ` (2 preceding siblings ...)
  2003-06-17 16:58 ` pinskia@physics.uc.edu
@ 2003-06-21  1:31 ` bangerth at dealii dot org
  2003-07-18 23:00 ` dhazeghi at yahoo dot com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bangerth at dealii dot org @ 2003-06-21  1:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |tree-ssa


------- Additional Comments From bangerth at dealii dot org  2003-06-21 01:28 -------
Bulk switch target milestone for all PRs with [tree-ssa] in the summary to
have milestone=tree-ssa.
W.


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
                   ` (3 preceding siblings ...)
  2003-06-21  1:31 ` bangerth at dealii dot org
@ 2003-07-18 23:00 ` dhazeghi at yahoo dot com
  2003-08-15  3:38 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-18 23:00 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
   Last reconfirmed|2003-07-07 01:27:23         |2003-07-18 23:00:52
               date|                            |


------- Additional Comments From dhazeghi at yahoo dot com  2003-07-18 23:00 -------
Still present (20030717).


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
                   ` (4 preceding siblings ...)
  2003-07-18 23:00 ` dhazeghi at yahoo dot com
@ 2003-08-15  3:38 ` pinskia at gcc dot gnu dot org
  2003-09-08  5:11 ` steven at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-15  3:38 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
   Last reconfirmed|2003-08-03 19:34:16         |2003-08-15 03:38:04
               date|                            |


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
                   ` (5 preceding siblings ...)
  2003-08-15  3:38 ` pinskia at gcc dot gnu dot org
@ 2003-09-08  5:11 ` steven at gcc dot gnu dot org
  2003-09-08  6:18 ` steven at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-09-08  5:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From steven at gcc dot gnu dot org  2003-09-08 05:11 -------
this only happens when flag_inline_trees != 0


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
                   ` (6 preceding siblings ...)
  2003-09-08  5:11 ` steven at gcc dot gnu dot org
@ 2003-09-08  6:18 ` steven at gcc dot gnu dot org
  2003-09-29  9:43 ` steven at gcc dot gnu dot org
  2003-09-29 15:48 ` marcus at jet dot franken dot de
  9 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-09-08  6:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From steven at gcc dot gnu dot org  2003-09-08 06:18 -------
This fails:
------------------------------
inline void f(void) {
    extern int t[];
}
 
int t[1] = {0};
------------------------------

but this works:
------------------------------
int t[1] = {0};

inline void f(void) {
    extern int t[];
}
------------------------------

It always works with g++, and it always works with -fdisable-gimple. The
function is already munged before we get to t_r_o_c...

And I still haven't found out what the problem is :-(


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
                   ` (7 preceding siblings ...)
  2003-09-08  6:18 ` steven at gcc dot gnu dot org
@ 2003-09-29  9:43 ` steven at gcc dot gnu dot org
  2003-09-29 15:48 ` marcus at jet dot franken dot de
  9 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-09-29  9:43 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From steven at gcc dot gnu dot org  2003-09-29 08:58 -------
I don't see this one anymore.  Apparently fixed with recent merge from mainline???


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

* [Bug c/11218] [tree-ssa] symbol already defined
  2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
                   ` (8 preceding siblings ...)
  2003-09-29  9:43 ` steven at gcc dot gnu dot org
@ 2003-09-29 15:48 ` marcus at jet dot franken dot de
  9 siblings, 0 replies; 11+ messages in thread
From: marcus at jet dot franken dot de @ 2003-09-29 15:48 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


marcus at jet dot franken dot de changed:

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


------- Additional Comments From marcus at jet dot franken dot de  2003-09-29 15:41 -------
yes, wine now passes the code pieces that were faulting earlier.


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

end of thread, other threads:[~2003-09-29 15:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-17  8:19 [Bug c/11218] New: [tree-ssa] symbol already defined marcus@jet.franken.de
2003-06-17  8:20 ` [Bug c/11218] " marcus@jet.franken.de
2003-06-17 15:12 ` pinskia@physics.uc.edu
2003-06-17 16:58 ` pinskia@physics.uc.edu
2003-06-21  1:31 ` bangerth at dealii dot org
2003-07-18 23:00 ` dhazeghi at yahoo dot com
2003-08-15  3:38 ` pinskia at gcc dot gnu dot org
2003-09-08  5:11 ` steven at gcc dot gnu dot org
2003-09-08  6:18 ` steven at gcc dot gnu dot org
2003-09-29  9:43 ` steven at gcc dot gnu dot org
2003-09-29 15:48 ` marcus at jet dot franken dot de

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).