public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/9844] Segmentation fault using function with return value with attribute for mode
       [not found] <20030225052600.9844.wittman@acm.org>
@ 2003-07-20 13:59 ` pinskia at physics dot uc dot edu
  2003-08-24 18:09 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-20 13:59 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|2003-05-04 00:00:00         |2003-07-20 13:59:24
               date|                            |
            Summary|[x86] Segmentation fault    |Segmentation fault using
                   |using operator function with|function with return value
                   |intrinsics                  |with attribute for mode


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-20 13:59 -------
This bug has nothing to do with vectors at all, it can be reproduced with:
class si
{
   operator int __attribute__ ((mode(SI))) ();
};

In fact it has nothing to do with classes at all as this can reproduced with:
__attribute__ ((mode (SI))) int f ();

I have seen a bug like this before (bug 8960 but that is for c).


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/9844] Segmentation fault using function with return value with attribute for mode
       [not found] <20030225052600.9844.wittman@acm.org>
  2003-07-20 13:59 ` [Bug c++/9844] Segmentation fault using function with return value with attribute for mode pinskia at physics dot uc dot edu
@ 2003-08-24 18:09 ` pinskia at gcc dot gnu dot org
  2003-12-28 22:13 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-24 18:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2003-07-20 13:59:24         |2003-08-24 18:09:54
               date|                            |


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/9844] Segmentation fault using function with return value with attribute for mode
       [not found] <20030225052600.9844.wittman@acm.org>
  2003-07-20 13:59 ` [Bug c++/9844] Segmentation fault using function with return value with attribute for mode pinskia at physics dot uc dot edu
  2003-08-24 18:09 ` pinskia at gcc dot gnu dot org
@ 2003-12-28 22:13 ` pinskia at gcc dot gnu dot org
  2004-02-03 11:38 ` giovannibajo at libero dot it
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-28 22:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-28 22:04 -------
Most likely the same analysis for bug 8960 is true for the C++ case also.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-11-03 04:13:39         |2003-12-28 22:04:28
               date|                            |


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/9844] Segmentation fault using function with return value with attribute for mode
       [not found] <20030225052600.9844.wittman@acm.org>
                   ` (2 preceding siblings ...)
  2003-12-28 22:13 ` pinskia at gcc dot gnu dot org
@ 2004-02-03 11:38 ` giovannibajo at libero dot it
  2004-06-18  4:16 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: giovannibajo at libero dot it @ 2004-02-03 11:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-02-03 11:38 -------
Yes, cplus_decl_attributes merely forwards the call to decl_attributes in the 
common code. But let's keep this around to be 100% sure it gets fixed as well.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |8960


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/9844] Segmentation fault using function with return value with attribute for mode
       [not found] <20030225052600.9844.wittman@acm.org>
                   ` (3 preceding siblings ...)
  2004-02-03 11:38 ` giovannibajo at libero dot it
@ 2004-06-18  4:16 ` pinskia at gcc dot gnu dot org
  2004-09-23 18:22 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-18  4:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-18 04:16 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01467.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/9844] Segmentation fault using function with return value with attribute for mode
       [not found] <20030225052600.9844.wittman@acm.org>
                   ` (4 preceding siblings ...)
  2004-06-18  4:16 ` pinskia at gcc dot gnu dot org
@ 2004-09-23 18:22 ` cvs-commit at gcc dot gnu dot org
  2004-09-23 18:26 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-09-23 18:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-09-23 18:22 -------
Subject: Bug 9844

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	fjahanian@gcc.gnu.org	2004-09-23 18:22:27

Modified files:
	gcc            : ChangeLog tree.c 
	gcc/config/rs6000: rs6000.c 
	gcc/cp         : cvt.c decl.c parser.c 
Added files:
	gcc/testsuite/g++.dg/ext: attribute-test-1.C attribute-test-2.C 
	                          attribute-test-3.C attribute-test-4.C 

Log message:
	PR c++/9844, PR c++/13989
	Reviewed by Mark Mitchel.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5587&r2=2.5588
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&r1=1.434&r2=1.435
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.714&r2=1.715
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cvt.c.diff?cvsroot=gcc&r1=1.164&r2=1.165
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1303&r2=1.1304
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.253&r2=1.254
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/attribute-test-1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/attribute-test-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/attribute-test-3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/attribute-test-4.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/9844] Segmentation fault using function with return value with attribute for mode
       [not found] <20030225052600.9844.wittman@acm.org>
                   ` (5 preceding siblings ...)
  2004-09-23 18:22 ` cvs-commit at gcc dot gnu dot org
@ 2004-09-23 18:26 ` pinskia at gcc dot gnu dot org
  2005-09-09 10:17 ` rguenth at gcc dot gnu dot org
  2005-09-09 12:32 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-23 18:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-23 18:26 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/9844] Segmentation fault using function with return value with attribute for mode
       [not found] <20030225052600.9844.wittman@acm.org>
                   ` (6 preceding siblings ...)
  2004-09-23 18:26 ` pinskia at gcc dot gnu dot org
@ 2005-09-09 10:17 ` rguenth at gcc dot gnu dot org
  2005-09-09 12:32 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-09-09 10:17 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 9844 depends on bug 8960, which changed state.

Bug 8960 Summary: Segfault with __attribute__ ((mode (...))) in start_function:5702
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8960

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug c++/9844] Segmentation fault using function with return value with attribute for mode
       [not found] <20030225052600.9844.wittman@acm.org>
                   ` (7 preceding siblings ...)
  2005-09-09 10:17 ` rguenth at gcc dot gnu dot org
@ 2005-09-09 12:32 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-09 12:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 9844 depends on bug 8960, which changed state.

Bug 8960 Summary: Segfault with __attribute__ ((mode (...))) in start_function:5702
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8960

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-09-09 12:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030225052600.9844.wittman@acm.org>
2003-07-20 13:59 ` [Bug c++/9844] Segmentation fault using function with return value with attribute for mode pinskia at physics dot uc dot edu
2003-08-24 18:09 ` pinskia at gcc dot gnu dot org
2003-12-28 22:13 ` pinskia at gcc dot gnu dot org
2004-02-03 11:38 ` giovannibajo at libero dot it
2004-06-18  4:16 ` pinskia at gcc dot gnu dot org
2004-09-23 18:22 ` cvs-commit at gcc dot gnu dot org
2004-09-23 18:26 ` pinskia at gcc dot gnu dot org
2005-09-09 10:17 ` rguenth at gcc dot gnu dot org
2005-09-09 12:32 ` 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).