This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24188] [4.1/4.2 Regression] WRITE(6,*) causes an ICE with -mcmodel=medium
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2005 11:01:23 -0000
- Subject: [Bug target/24188] [4.1/4.2 Regression] WRITE(6,*) causes an ICE with -mcmodel=medium
- References: <bug-24188-10744@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jakub at gcc dot gnu dot org 2005-12-14 11:01 -------
Subject: Bug 24188
Author: jakub
Date: Wed Dec 14 11:01:15 2005
New Revision: 108507
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108507
Log:
PR target/25254
PR target/24188
* config/i386/i386.c (x86_64_elf_select_section): If DECL is not
DECL_P, call named_section_flags rather than named_section. Supply
section flags to it.
* gcc.target/i386/pr25254.c: New test.
* gfortran.dg/PR24188.f: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.target/i386/pr25254.c
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/PR24188.f
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/i386/i386.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24188