https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661
--- Comment #13 from Andreas Krebbel ---
Created attachment 35723
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35723&action=edit
Experimental fix
The attached patch fixes the problem for me.
There appear to be two problems:
1. When par
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661
Andrew Pinski changed:
What|Removed |Added
CC||krebbel at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661
--- Comment #11 from Adam Lackorzynski ---
Confirming issue still exists for 4.7.4, 4.8.4, 4.9.2 and 5.0 (tested on
x86_64).
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661
--- Comment #10 from Aleksandrs Saveljevs 2012-05-31 08:16:41 UTC ---
Confirming that the bug still exists on ARM, x86 and x86_64 as of GCC 4.6.3.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661
Stefan Schuh changed:
What|Removed |Added
CC||s.schuh85 at gmail dot com
--- Comment #9
--- Comment #8 from adam at os dot inf dot tu-dresden dot de 2008-04-30
20:22 ---
(In reply to comment #7)
> This is not a regression, however it is a bug, it has to be fixed. Inline
> assembly coupled with templates is very powerful, however because of this bug
> it is unusable :-(
I
--- Comment #7 from vincent dot riviere at freesbee dot fr 2008-04-30
15:32 ---
This is not a regression, however it is a bug, it has to be fixed. Inline
assembly coupled with templates is very powerful, however because of this bug
it is unusable :-(
If I remember well, a workaround is
--- Comment #6 from adam at os dot inf dot tu-dresden dot de 2008-04-30
13:34 ---
Even if this is not a regression it would be very helpful if g++ would emit a
warning that the register allocation will be ignored. Those bugs are subtle.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?i
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-04-29 17:09 ---
*** Bug 36080 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #4 from vincent dot riviere at freesbee dot fr 2008-02-05
19:56 ---
Same problem with GCC 4.3-20080201 on target i686-pc-linux-gnu
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-05 10:28 ---
This works for me on x86_64 with 4.3.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33661
--- Comment #2 from vincent dot riviere at freesbee dot fr 2008-02-02
20:48 ---
Still fails in GCC release 4.2.3
--
vincent dot riviere at freesbee dot fr changed:
What|Removed |Added
---
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-10 01:55 ---
Confirmed,
It also fails with 3.3 so this is not a regression.
A testcase for PPC:
template
class Tpl
{
public:
static long* MySysCall()
{
register long retval __asm__("r3");
13 matches
Mail list logo