]> gcc.gnu.org Git - gcc.git/commit
decl.c (expand_static_init): Build cleanups before entering the anonymous function...
authorMark Mitchell <mark@markmitchell.com>
Fri, 16 Oct 1998 14:06:24 +0000 (14:06 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 16 Oct 1998 14:06:24 +0000 (14:06 +0000)
commit7cfac5953a129fe78668db20cdf2533125349dea
treeffa08c0a95e67f0e44a6a971e67c65936e47ad1f
parent588c2d1c2f7303efadc5159cab5af58d78d1c405
decl.c (expand_static_init): Build cleanups before entering the anonymous function used to do them to avoid...

* decl.c (expand_static_init): Build cleanups before entering the
anonymous function used to do them to avoid access-checking
confusion.
* decl.c (grokfndecl): Add back call to cplus_decl_attributes
accidentally removed by previous change, and make DECL_RTL here.
* class.c (add_method): Don't make DECL_RTL here.

From-SVN: r23138
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl.c
gcc/testsuite/g++.old-deja/g++.other/static3.C [new file with mode: 0644]
This page took 0.060858 seconds and 5 git commands to generate.