PR target/25254
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Dec 2005 11:00:50 +0000 (11:00 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Dec 2005 11:00:50 +0000 (11:00 +0000)
commit3307526ced570bfdb232974c1a61ce277b10769a
tree30fc47663bc7fc1421fbecedb0b2c6d00716536e
parent4747ee412af56b4becdc0a27133003889eca6395
PR target/25254
PR target/24188
* config/i386/i386.c (x86_64_elf_select_section): If DECL is not
DECL_P, call get_section rather than get_named_section.  Supply
section flags to it.

* gcc.target/i386/pr25254.c: New test.
* gfortran.dg/PR24188.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108506 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr25254.c [new file with mode: 0644]
gcc/testsuite/gfortran.dg/PR24188.f [new file with mode: 0644]