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 07-09-2011, 05:36 PM
"doko at ubuntu dot com"
 
Default ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1019

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

Matthias Klose <doko at ubuntu dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |debian-gcc at lists dot
| |debian.org

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/bug-49690-5724-ac8MGpnDA2@http.gcc.gnu.org/bugzilla/
 
Old 07-09-2011, 06:12 PM
"burnus at gcc dot gnu.org"
 
Default ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1019

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

--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-09 18:11:42 UTC ---
Draft patch.

As both integer arguments and function-pointer arguments are pointers, using a
generic "void *" (BT_VOID) is the simplest. A more cumbersome alternative would
be to split the generated decl in one for
int signal_func (int *number, void (*handler)(int))
and one for
int signal_func_int (int *number, int *handler)

--- a/gcc/fortran/intrinsic.c
+++ b/gcc/fortran/intrinsic.c
@@ -2594,7 +2594,7 @@ add_functions (void)

add_sym_2 ("signal", GFC_ISYM_SIGNAL, CLASS_IMPURE, ACTUAL_NO, BT_INTEGER,
di, GFC_STD_GNU, gfc_check_signal, NULL, gfc_resolve_signal,
- num, BT_INTEGER, di, REQUIRED, han, BT_UNKNOWN, 0, REQUIRED);
+ num, BT_INTEGER, di, REQUIRED, han, BT_VOID, 0, REQUIRED);

make_generic ("signal", GFC_ISYM_SIGNAL, GFC_STD_GNU);

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/bug-49690-5724-VKbBaeMYna@http.gcc.gnu.org/bugzilla/
 
Old 07-10-2011, 02:29 PM
"burnus at gcc dot gnu.org"
 
Default ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1019

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

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-10 14:28:51 UTC ---
Author: burnus
Date: Sun Jul 10 14:28:48 2011
New Revision: 176121

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176121
Log:
2011-07-10 Tobias Burnus <burnus@net-b.de>

PR fortran/49690
* intrinsic.c (add_functions): Use BT_VOID for 2nd argument of
* SIGNAL.

2011-07-10 Tobias Burnus <burnus@net-b.de>

PR fortran/49690
* gfortran.dg/intrinsic_signal.f90: New.


Added:
trunk/gcc/testsuite/gfortran.dg/intrinsic_signal.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/intrinsic.c
trunk/gcc/testsuite/ChangeLog

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/bug-49690-5724-cZGb0tkAzF@http.gcc.gnu.org/bugzilla/
 
Old 07-10-2011, 06:27 PM
"burnus at gcc dot gnu.org"
 
Default ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1019

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

--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-10 18:27:17 UTC ---
Author: burnus
Date: Sun Jul 10 18:27:12 2011
New Revision: 176126

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176126
Log:
2011-07-10 Tobias Burnus <burnus@net-b.de>

PR fortran/49690
* intrinsic.c (add_functions): Use BT_VOID for 2nd argument of
* SIGNAL.

2011-07-10 Tobias Burnus <burnus@net-b.de>

PR fortran/49690
* gfortran.dg/intrinsic_signal.f90: New.


Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/intrinsic_signal.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/intrinsic.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/bug-49690-5724-BmbdZdAEPU@http.gcc.gnu.org/bugzilla/
 
Old 07-10-2011, 06:30 PM
"burnus at gcc dot gnu.org"
 
Default ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1019

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED

--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-07-10 18:30:00 UTC ---
FIXED on the trunk and on the 4.6 branch (for 4.6.2).

Thanks, Matthias, for the GCC bugreport - and thanks to Alastair for the
original bugreport (at bugs.debian.org).

--
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/bug-49690-5724-cE448DfvcF@http.gcc.gnu.org/bugzilla/
 

Thread Tools




All times are GMT. The time now is 02:39 AM.

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