public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2
@ 2004-03-30 7:39 tausq at debian dot org
2004-04-07 3:22 ` [Bug optimization/14782] [3.3/3.4 Regression] produces an unaligned data access " pinskia at gcc dot gnu dot org
` (17 more replies)
0 siblings, 18 replies; 19+ messages in thread
From: tausq at debian dot org @ 2004-03-30 7:39 UTC (permalink / raw)
To: gcc-bugs
The attached code when compiled with gcc-3.3 or 3.4 at -O2 generates a "ldd -23
(%r3),%r19" sequence which is wrong. Compiling with -O1 or -O2 -fno-gcse works
around the problem. The offending asm seems to be generated from the if-
statement in loop_unregister_transfer(). Removing the up/down calls make the
problem go away. This test case was derived from the linux kernel,
drivers/block/loop.c.
thanks, randolph
-------- 8< cut here 8< -------------
#define __PA_LDCW_ALIGNMENT 16
#define __ldcw_align(a) ({ \
unsigned long __ret = (unsigned long) a; \
__ret = (__ret + __PA_LDCW_ALIGNMENT - 1) & ~(__PA_LDCW_ALIGNMENT - 1); \
(volatile unsigned int *) __ret; \
})
#define __ldcw(a) ({ \
unsigned __ret; \
__asm__ __volatile__("ldcw 0(%1),%0" : "=r" (__ret) : "r" (a)); \
__ret; \
})
typedef struct {
volatile unsigned int lock[4];
} spinlock_t;
struct semaphore
{
spinlock_t sentry;
int count;
};
struct loop_device
{
struct loop_func_table *lo_encryption;
struct semaphore lo_ctl_mutex;
};
static int max_loop = 8;
static struct loop_device *loop_dev;
void __down (struct semaphore *sem);
void __up (struct semaphore *sem);
static inline void _raw_spin_lock (spinlock_t * x)
{
volatile unsigned int *a = __ldcw_align(&x->lock[0]);
while (__ldcw(a) == 0)
while (*a == 0);
}
static inline void _raw_spin_unlock (spinlock_t * x)
{
volatile unsigned int *a = __ldcw_align(&x->lock[0]);
*a = 1;
}
inline void down (struct semaphore *sem)
{
_raw_spin_lock (&sem->sentry);
if (sem->count > 0) { sem->count--; }
else { __down (sem); }
_raw_spin_unlock (&sem->sentry);
}
inline void up (struct semaphore *sem)
{
_raw_spin_lock (&sem->sentry);
if (sem->count < 0) { __up (sem); }
else { sem->count++; }
_raw_spin_unlock (&sem->sentry);
}
int
loop_unregister_transfer (int number)
{
struct loop_device *lo = &loop_dev[0];
for (lo = &loop_dev[0]; lo < &loop_dev[max_loop]; lo++)
{
down (&lo->lo_ctl_mutex);
if (lo->lo_encryption == 0)
loop_release_xfer (lo);
up (&lo->lo_ctl_mutex);
}
return 0;
}
-------- 8< cut here 8< -------------
--
Summary: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -
O2
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tausq at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: hppa-linux
GCC host triplet: hppa-linux
GCC target triplet: hppa64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug optimization/14782] [3.3/3.4 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
@ 2004-04-07 3:22 ` pinskia at gcc dot gnu dot org
2004-04-07 4:19 ` tausq at debian dot org
` (16 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-07 3:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-07 03:22 -------
Does -fno-strict-aliasing help?
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Summary|[3.3/3.4/hppa64-linux] gcc |[3.3/3.4 Regression]
|inlines code incorrectly at |produces an unaligned data
|-O2 |access at -O2
Target Milestone|--- |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug optimization/14782] [3.3/3.4 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
2004-04-07 3:22 ` [Bug optimization/14782] [3.3/3.4 Regression] produces an unaligned data access " pinskia at gcc dot gnu dot org
@ 2004-04-07 4:19 ` tausq at debian dot org
2004-04-07 4:22 ` [Bug optimization/14782] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
` (15 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: tausq at debian dot org @ 2004-04-07 4:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tausq at debian dot org 2004-04-07 04:19 -------
Nope, sorry
legolas[20:55] /tmp% hppa64-linux-gcc -v
Reading specs from /usr/lib/gcc-lib/hppa64-linux/3.3.3/specs
Configured with: ../src/configure --enable-languages=c --prefix=/usr --disable-
shared --disable-nls --enable-sjlj-exceptions --disable-threads --
includedir=/usr/hppa64-linux/include --with-as=/usr/bin/hppa64-linux-as --with-
ld=/usr/bin/hppa64-linux-ld --host=hppa-linux --build=hppa-linux --
target=hppa64-linux
Thread model: single
gcc version 3.3.3 (Debian 20040306)
legolas[20:55] /tmp% hppa64-linux-gcc -O2 -fno-strict-aliasing -c bug.c
/tmp/cc91TVyq.s: Assembler messages:
/tmp/cc91TVyq.s:67: Error: Field not properly aligned [8] (-23).
/tmp/cc91TVyq.s:67: Error: Invalid operands
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
2004-04-07 3:22 ` [Bug optimization/14782] [3.3/3.4 Regression] produces an unaligned data access " pinskia at gcc dot gnu dot org
2004-04-07 4:19 ` tausq at debian dot org
@ 2004-04-07 4:22 ` pinskia at gcc dot gnu dot org
2004-06-08 19:25 ` [Bug rtl-optimization/14782] " pinskia at gcc dot gnu dot org
` (14 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-07 4:22 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.3/3.4 Regression] |[3.3/3.4/3.5 Regression]
|produces an unaligned data |produces an unaligned data
|access at -O2 |access at -O2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (2 preceding siblings ...)
2004-04-07 4:22 ` [Bug optimization/14782] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
@ 2004-06-08 19:25 ` pinskia at gcc dot gnu dot org
2004-06-11 5:36 ` tausq at debian dot org
` (13 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-08 19:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-08 19:25 -------
Retargeting as this is a regression for 3.4.0 also.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at gcc dot gnu dot org
Target Milestone|3.3.4 |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (3 preceding siblings ...)
2004-06-08 19:25 ` [Bug rtl-optimization/14782] " pinskia at gcc dot gnu dot org
@ 2004-06-11 5:36 ` tausq at debian dot org
2004-06-13 10:26 ` debian-gcc at lists dot debian dot org
` (12 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: tausq at debian dot org @ 2004-06-11 5:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tausq at debian dot org 2004-06-11 05:36 -------
Created an attachment (id=6515)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6515&action=view)
Another test case
One more test case that triggers the bug. Hope it helps ;-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (4 preceding siblings ...)
2004-06-11 5:36 ` tausq at debian dot org
@ 2004-06-13 10:26 ` debian-gcc at lists dot debian dot org
2004-06-19 20:20 ` carlos at baldric dot uwo dot ca
` (11 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-06-13 10:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From debian-gcc at lists dot debian dot org 2004-06-13 10:26 -------
[adding off topic information, that the bug was submitted to the Debian BTS as
well as http://bugs.debian.org/253883 ]
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |debian-gcc at lists dot
| |debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (5 preceding siblings ...)
2004-06-13 10:26 ` debian-gcc at lists dot debian dot org
@ 2004-06-19 20:20 ` carlos at baldric dot uwo dot ca
2004-06-19 21:20 ` danglin at gcc dot gnu dot org
` (10 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: carlos at baldric dot uwo dot ca @ 2004-06-19 20:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From carlos at baldric dot uwo dot ca 2004-06-19 20:20 -------
Created an attachment (id=6576)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6576&action=view)
Triggers code generation of unaligned load.
Attached is a simpler testcase than the original, I'm triggering the bug in
3.3. I'm using the compiler right now for 64-bit kernel compilations and some
initial 64-bit userspace bring-up. If there is anything I can do to help please
ask. This bug is a pain for hppa64 users :(
Thanks for all the help!
Cheers,
Carlos.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (6 preceding siblings ...)
2004-06-19 20:20 ` carlos at baldric dot uwo dot ca
@ 2004-06-19 21:20 ` danglin at gcc dot gnu dot org
2004-06-20 0:08 ` danglin at gcc dot gnu dot org
` (9 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-06-19 21:20 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (7 preceding siblings ...)
2004-06-19 21:20 ` danglin at gcc dot gnu dot org
@ 2004-06-20 0:08 ` danglin at gcc dot gnu dot org
2004-06-20 1:20 ` danglin at gcc dot gnu dot org
` (8 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-06-20 0:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From danglin at gcc dot gnu dot org 2004-06-20 00:08 -------
With Carlos's testcase at -O2, the initial insns in the function bug are:
ldi 0,%r20
ldo 1(%r26),%r26
ldo 1(%r20),%r20
ldd 23(%r26),%r21
This appears to be a bug in the PA GO_IF_LEGITIMATE_ADDRESS macro. It should
reject 14-bit offsets for DImode loads that aren't properly aligned as ldd
doesn't support them. ldd differs from ldb/ldh/ldw in this respect. It
needs both the base and displacement aligned.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (8 preceding siblings ...)
2004-06-20 0:08 ` danglin at gcc dot gnu dot org
@ 2004-06-20 1:20 ` danglin at gcc dot gnu dot org
2004-06-20 6:07 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-06-20 1:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From danglin at gcc dot gnu dot org 2004-06-20 01:20 -------
Created an attachment (id=6577)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6577&action=view)
Possible fix.
Applies against 3.5.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (9 preceding siblings ...)
2004-06-20 1:20 ` danglin at gcc dot gnu dot org
@ 2004-06-20 6:07 ` pinskia at gcc dot gnu dot org
2004-06-20 19:23 ` debian-gcc at lists dot debian dot org
` (6 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-20 6:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-20 06:07 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-20 06:07:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (10 preceding siblings ...)
2004-06-20 6:07 ` pinskia at gcc dot gnu dot org
@ 2004-06-20 19:23 ` debian-gcc at lists dot debian dot org
2004-06-21 21:13 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-06-20 19:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From debian-gcc at lists dot debian dot org 2004-06-20 19:23 -------
bootstrapped 3.3 branch for hpux-linux with no regressions compared to a
boostrap with without this patch.
Matthias
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (11 preceding siblings ...)
2004-06-20 19:23 ` debian-gcc at lists dot debian dot org
@ 2004-06-21 21:13 ` mmitchel at gcc dot gnu dot org
2004-06-21 23:49 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-06-21 21:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-06-21 21:13 -------
This is OK for 3.4.1; please apply.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (12 preceding siblings ...)
2004-06-21 21:13 ` mmitchel at gcc dot gnu dot org
@ 2004-06-21 23:49 ` cvs-commit at gcc dot gnu dot org
2004-06-22 0:18 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-21 23:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-21 23:49 -------
Subject: Bug 14782
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: danglin@gcc.gnu.org 2004-06-21 23:49:05
Modified files:
gcc : ChangeLog
gcc/config/pa : pa.c pa.h
Log message:
PR rtl-optimization/14782
* pa.c (emit_move_sequence): Use SFmode for 4-byte modes when doing
the address checks for secondary reloads for loads from and stores
to floating-point registers.
* pa.h (EXTRA_CONSTRAINT, case T): Use SFmode for 4-byte modes
in the address check. Move work around for ELF32 targets to
GO_IF_LEGITIMATE_ADDRESS.
(GO_IF_LEGITIMATE_ADDRESS): Require constant offsets to be
correctly aligned for DImode loads and stores. Don't allow long
SFmode displacements on ELF32.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4071&r2=2.4072
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&r1=1.251&r2=1.252
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&r1=1.218&r2=1.219
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (13 preceding siblings ...)
2004-06-21 23:49 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-22 0:18 ` cvs-commit at gcc dot gnu dot org
2004-06-22 1:45 ` danglin at gcc dot gnu dot org
` (2 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-22 0:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-22 00:18 -------
Subject: Bug 14782
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: danglin@gcc.gnu.org 2004-06-22 00:18:09
Modified files:
gcc : ChangeLog
gcc/config/pa : pa.c pa.h
Log message:
PR rtl-optimization/14782
* pa.c (emit_move_sequence): Use SFmode for 4-byte modes when doing
the address checks for secondary reloads for loads from and stores
to floating-point registers.
* pa.h (EXTRA_CONSTRAINT, case T): Use SFmode for 4-byte modes
in the address check. Move work around for ELF32 targets to
GO_IF_LEGITIMATE_ADDRESS.
(GO_IF_LEGITIMATE_ADDRESS): Require constant offsets to be
correctly aligned for DImode loads and stores. Don't allow long
SFmode displacements on ELF32.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.517&r2=2.2326.2.518
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.235.4.4&r2=1.235.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.208.4.5&r2=1.208.4.6
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (14 preceding siblings ...)
2004-06-22 0:18 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-22 1:45 ` danglin at gcc dot gnu dot org
2004-07-25 18:53 ` cvs-commit at gcc dot gnu dot org
2004-07-25 19:05 ` pinskia at gcc dot gnu dot org
17 siblings, 0 replies; 19+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-06-22 1:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From danglin at gcc dot gnu dot org 2004-06-22 01:45 -------
Fixed in 3.4 and 3.5 branches.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (15 preceding siblings ...)
2004-06-22 1:45 ` danglin at gcc dot gnu dot org
@ 2004-07-25 18:53 ` cvs-commit at gcc dot gnu dot org
2004-07-25 19:05 ` pinskia at gcc dot gnu dot org
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-25 18:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-25 18:53 -------
Subject: Bug 14782
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: doko@gcc.gnu.org 2004-07-25 18:53:32
Modified files:
gcc : ChangeLog
gcc/config/pa : pa.c pa.h
Log message:
2004-06-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR rtl-optimization/14782
* pa.c (emit_move_sequence): Use SFmode for 4-byte modes when doing
the address checks for secondary reloads for loads from and stores
to floating-point registers.
* pa.h (EXTRA_CONSTRAINT, case T): Use SFmode for 4-byte modes
in the address check. Move work around for ELF32 targets to
GO_IF_LEGITIMATE_ADDRESS.
(GO_IF_LEGITIMATE_ADDRESS): Require constant offsets to be
correctly aligned for DImode loads and stores. Don't allow long
SFmode displacements on ELF32.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.1004&r2=1.16114.2.1005
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.188.2.15&r2=1.188.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.178.2.6&r2=1.178.2.7
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
` (16 preceding siblings ...)
2004-07-25 18:53 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-25 19:05 ` pinskia at gcc dot gnu dot org
17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-25 19:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-25 19:05 -------
Fixed in 3.3.5 also.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |3.3.5 3.4.1 3.5.0
Target Milestone|3.4.1 |3.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2004-07-25 19:05 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-30 7:39 [Bug optimization/14782] New: [3.3/3.4/hppa64-linux] gcc inlines code incorrectly at -O2 tausq at debian dot org
2004-04-07 3:22 ` [Bug optimization/14782] [3.3/3.4 Regression] produces an unaligned data access " pinskia at gcc dot gnu dot org
2004-04-07 4:19 ` tausq at debian dot org
2004-04-07 4:22 ` [Bug optimization/14782] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
2004-06-08 19:25 ` [Bug rtl-optimization/14782] " pinskia at gcc dot gnu dot org
2004-06-11 5:36 ` tausq at debian dot org
2004-06-13 10:26 ` debian-gcc at lists dot debian dot org
2004-06-19 20:20 ` carlos at baldric dot uwo dot ca
2004-06-19 21:20 ` danglin at gcc dot gnu dot org
2004-06-20 0:08 ` danglin at gcc dot gnu dot org
2004-06-20 1:20 ` danglin at gcc dot gnu dot org
2004-06-20 6:07 ` pinskia at gcc dot gnu dot org
2004-06-20 19:23 ` debian-gcc at lists dot debian dot org
2004-06-21 21:13 ` mmitchel at gcc dot gnu dot org
2004-06-21 23:49 ` cvs-commit at gcc dot gnu dot org
2004-06-22 0:18 ` cvs-commit at gcc dot gnu dot org
2004-06-22 1:45 ` danglin at gcc dot gnu dot org
2004-07-25 18:53 ` cvs-commit at gcc dot gnu dot org
2004-07-25 19:05 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).