public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/19896] New: [treelang] Static variables don't work
@ 2005-02-11 14:48 phython at gcc dot gnu dot org
  2005-02-11 14:48 ` [Bug other/19896] " phython at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: phython at gcc dot gnu dot org @ 2005-02-11 14:48 UTC (permalink / raw)
  To: gcc-bugs

Static variables don't work after the conversion to the new infrastructure. 
This is probably a regression, but I don't have a gcc 3.4 compile with treelang
around to test.

-- 
           Summary: [treelang] Static variables don't work
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: phython at gcc dot gnu dot org
        ReportedBy: phython at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug other/19896] [treelang] Static variables don't work
  2005-02-11 14:48 [Bug other/19896] New: [treelang] Static variables don't work phython at gcc dot gnu dot org
@ 2005-02-11 14:48 ` phython at gcc dot gnu dot org
  2005-02-11 14:56 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: phython at gcc dot gnu dot org @ 2005-02-11 14:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2005-02-11 05:56 -------
http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01970.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug other/19896] [treelang] Static variables don't work
  2005-02-11 14:48 [Bug other/19896] New: [treelang] Static variables don't work phython at gcc dot gnu dot org
  2005-02-11 14:48 ` [Bug other/19896] " phython at gcc dot gnu dot org
@ 2005-02-11 14:56 ` pinskia at gcc dot gnu dot org
  2005-02-13  6:21 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-11 14:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-11 05:58 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-11 05:58:36
               date|                            |


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


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

* [Bug other/19896] [treelang] Static variables don't work
  2005-02-11 14:48 [Bug other/19896] New: [treelang] Static variables don't work phython at gcc dot gnu dot org
  2005-02-11 14:48 ` [Bug other/19896] " phython at gcc dot gnu dot org
  2005-02-11 14:56 ` pinskia at gcc dot gnu dot org
@ 2005-02-13  6:21 ` pinskia at gcc dot gnu dot org
  2005-02-24 20:31 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-13  6:21 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


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


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

* [Bug other/19896] [treelang] Static variables don't work
  2005-02-11 14:48 [Bug other/19896] New: [treelang] Static variables don't work phython at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-02-13  6:21 ` pinskia at gcc dot gnu dot org
@ 2005-02-24 20:31 ` cvs-commit at gcc dot gnu dot org
  2005-02-24 20:35 ` cvs-commit at gcc dot gnu dot org
  2005-02-24 20:42 ` phython at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-24 20:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-24 16:23 -------
Subject: Bug 19896

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	phython@gcc.gnu.org	2005-02-24 16:23:15

Modified files:
	gcc/treelang   : ChangeLog treetree.c 

Log message:
	2005-02-24  James A. Morrison  <phython@gcc.gnu.org>
	
	PR other/19896
	* treetree.c (tree_code_create_variable): Initialize DECL_EXTERNAL,
	TREE_PUBLIC, and TREE_STATIC for var_decl to zero.  Don't call
	rest_of_decl_compilation on static variables.
	(pushdecl): Put DECL_EXPRs into the current BIND_EXPR for automatic
	variables.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/ChangeLog.diff?cvsroot=gcc&r1=1.106&r2=1.107
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/treelang/treetree.c.diff?cvsroot=gcc&r1=1.54&r2=1.55



-- 


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


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

* [Bug other/19896] [treelang] Static variables don't work
  2005-02-11 14:48 [Bug other/19896] New: [treelang] Static variables don't work phython at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-02-24 20:31 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-24 20:35 ` cvs-commit at gcc dot gnu dot org
  2005-02-24 20:42 ` phython at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-24 20:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-24 16:24 -------
Subject: Bug 19896

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	phython@gcc.gnu.org	2005-02-24 16:24:25

Modified files:
	gcc/testsuite/treelang: ChangeLog 
Added files:
	gcc/testsuite/treelang/execute: execute.exp funccall-2.tree 
	                                funccall.tree initial.tree 
	                                main.tree static.tree 

Log message:
	2005-02-24  James A. Morrison  <phython@gcc.gnu.org>
	
	PR other/19896
	* execute/execute.exp: New file.
	* execute/funccall.tree, execute/funccall-2.tree, execute/initial.tree,
	execute/main.tree, execute/static.tree: New tests.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/ChangeLog.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/execute/execute.exp.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/execute/funccall-2.tree.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/execute/funccall.tree.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/execute/initial.tree.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/execute/main.tree.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/treelang/execute/static.tree.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug other/19896] [treelang] Static variables don't work
  2005-02-11 14:48 [Bug other/19896] New: [treelang] Static variables don't work phython at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-02-24 20:35 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-24 20:42 ` phython at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: phython at gcc dot gnu dot org @ 2005-02-24 20:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2005-02-24 16:24 -------
Fixed

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2005-02-24 16:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11 14:48 [Bug other/19896] New: [treelang] Static variables don't work phython at gcc dot gnu dot org
2005-02-11 14:48 ` [Bug other/19896] " phython at gcc dot gnu dot org
2005-02-11 14:56 ` pinskia at gcc dot gnu dot org
2005-02-13  6:21 ` pinskia at gcc dot gnu dot org
2005-02-24 20:31 ` cvs-commit at gcc dot gnu dot org
2005-02-24 20:35 ` cvs-commit at gcc dot gnu dot org
2005-02-24 20:42 ` phython 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).