FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 04-28-2008, 04:28 AM
"mmitchel at gcc dot gnu dot org"
 
Default Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

------- Comment #1 from mmitchel at gcc dot gnu dot org 2008-04-28 04:28 -------
Fortran is not a primary language.


--

mmitchel at gcc dot gnu dot org changed:

What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35658

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-20-2008, 08:50 PM
"sje at cup dot hp dot com"
 
Default Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

------- Comment #2 from sje at cup dot hp dot com 2008-05-20 20:50 -------
I cannot reproduce this error. I have compiled the test case with
various options and always get output that includes

Test# 1 ( C201 ): *** failed ***

and

Test# 1 ( GENT ): *** failed ***

I get this when I use -fno-automatic -O2 -funroll-loops and when I use no
optimization at all. This is with GCC 4.3 released bits and ToT bits on
a Debian 3.1 IA64 system.


--

sje at cup dot hp dot com changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35658

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-21-2008, 03:59 AM
"kmccarty at debian dot org"
 
Default Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

------- Comment #3 from kmccarty at debian dot org 2008-05-21 03:59 -------
(In reply to comment #2)

> Test# 1 ( GENT ): *** failed ***
>
> I get this when I use -fno-automatic -O2 -funroll-loops and when I use no
> optimization at all. This is with GCC 4.3 released bits and ToT bits on
> a Debian 3.1 IA64 system.

I tried again with the version of gcc from the 4.3 release branch (Subversion
branch gcc-4_3-branch downloaded today) and can still reproduce the bug (and
also can still reproduce the successes with no optimization or with
-fno-automatic -O2 but not -funroll-loops).

This is on an up-to-date Debian Sid system. (N.B. are you aware that Debian
3.1 is no longer security-supported?)


--


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35658

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-21-2008, 03:30 PM
"sje at cup dot hp dot com"
 
Default Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

------- Comment #4 from sje at cup dot hp dot com 2008-05-21 15:30 -------
Now I can reproduce it. I don't know if you intended this or not but the clean
target in the Makefile removed the good objects but left the bad one so that
when I rebuilt I still had the old bad object around.


--


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35658

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-22-2008, 06:52 PM
"sje at cup dot hp dot com"
 
Default Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

------- Comment #5 from sje at cup dot hp dot com 2008-05-22 18:52 -------
Created an attachment (id=15672)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15672&action=view)
cutdown test case

This smaller test case requires the same options as the original.


--


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35658

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-22-2008, 06:52 PM
"sje at cup dot hp dot com"
 
Default Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

--

sje at cup dot hp dot com changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-05-22 18:52:59
date| |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35658

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-23-2008, 03:02 PM
"sje at cup dot hp dot com"
 
Default Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

------- Comment #6 from sje at cup dot hp dot com 2008-05-23 15:02 -------
It looks like this is a bug in register renaming. register renaming is turned
on by -floop-unroll. You can reproduce the bug using -frename-registers in
place of -funroll-loops.


--


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35658

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-05-2008, 11:02 PM
"sje at cup dot hp dot com"
 
Default Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

------- Comment #7 from sje at cup dot hp dot com 2008-06-05 23:02 -------
I now think this is a register scheduling bug. If I use -fno-schedule-insns2
then the bug doesn't happen even with "-O2 fno-automatic -frename-registers".

The problem seems to be scheduling the assignment to TEMP2 and assigning TEMP2
to F(K).

In the good code, in C201S I see the following instructions, in this order:

addl r17 = @gprel(temp2.717#), gp - r17 is addr of temp2
stfd [r17] = f0 - zero out temp2
(p11) stfd [r17] = f10 - (maybe) put value (2.0) in temp2
ldfd f9 = [r17] - load temp2
add r16 = r34, r37 - r16 is addr of F(1)
stfd [r16] = f9 - store temp2 in F(1)

In the bad code (with instruction scheduling turned on) I see:


addl r17 = @gprel(temp2.717#), gp - r17 is addr of temp2
add r16 = r34, r37 - r16 is addr of F(1)
ldfd f9 = [r17] - load temp2
stfd [r17] = f0 - zero out temp2
stfd [r16] = f9 - store (old) temp2 in F(1)
(p11) stfd [r17] = f10 - (maybe) put value (2.0) in temp2

The store into F(1) is done before we have put the correct value int temp2.
I don't understand how instruction scheduling could be this broken.


--


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35658

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-06-2008, 02:59 PM
"rguenth at gcc dot gnu dot org"
 
Default Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

------- Comment #8 from rguenth at gcc dot gnu dot org 2008-06-06 14:59 -------
4.3.1 is being released, adjusting target milestone.


--

rguenth at gcc dot gnu dot org changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.1 |4.3.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35658

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 10:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org