This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12576] New: [3.3 regression] miscompilation of ide-scsi kernel driver
- From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2003 11:08:26 -0000
- Subject: [Bug optimization/12576] New: [3.3 regression] miscompilation of ide-scsi kernel driver
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12576
Summary: [3.3 regression] miscompilation of ide-scsi kernel
driver
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i486-linux
GCC host triplet: i486-linux
GCC target triplet: i486-linux
[forwarded from http://bugs.debian.org/211783]
gcc 3.3.2 20031005 (and 20030908) break ide-scsi during boot or modprobe of
ide-scsi as seen in message below. The miscompilation is seen with -O2, but not
with -Os. The ide-scsi module is built in the kernel, not built as a module.
Sep 20 17:54:35 art kernel: SCSI subsystem driver Revision: 1.00
Sep 20 17:54:35 art kernel: hdc: attached ide-scsi driver.
Sep 20 17:54:35 art kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI de
vices
Sep 20 17:54:35 art kernel: Vendor: Model: Rev:
Sep 20 17:54:35 art kernel: Type: Direct-Access ANSI SC
SI revision: 03
***************************
gcc 3.3 20030831 does not have this problem as in the message below:
Sep 20 17:00:59 art kernel: SCSI subsystem driver Revision: 1.00
Sep 20 17:00:59 art kernel: hdc: attached ide-scsi driver.
Sep 20 17:00:59 art kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI de
vices
Sep 20 17:00:59 art kernel: Vendor: HP Model: CD-Writer+ 8100 Rev: 1.
0g
Sep 20 17:00:59 art kernel: Type: CD-ROM ANSI SC
SI revision: 02