varasm.c (default_function_rdodata_section): Make sure to pass along a decl for a...
authorMark Mitchell <mark@codesourcery.com>
Wed, 15 Sep 2004 22:16:33 +0000 (22:16 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 15 Sep 2004 22:16:33 +0000 (22:16 +0000)
commit04a751889435ce14f2aca6880add30c2ff3319e3
tree566d466153ee9549192da89f45dbe3df248a8b67
parent9544bea1fa3dc43b43672d76c46cb7354cd18626
varasm.c (default_function_rdodata_section): Make sure to pass along a decl for a link-once section.

* varasm.c (default_function_rdodata_section): Make sure to pass
along a decl for a link-once section.

* g++.dg/opt/switch1.C: New test.

From-SVN: r87569
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/switch1.C [new file with mode: 0644]
gcc/varasm.c