public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/11687] New: xstormy16-elf build fails in libf2c
@ 2003-07-27 18:46 dhazeghi at yahoo dot com
2003-07-27 18:47 ` [Bug fortran/11687] " dhazeghi at yahoo dot com
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-27 18:46 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=11687
Summary: xstormy16-elf build fails in libf2c
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dhazeghi at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: xstormy16-elf
/tmp/branch/objdir/gcc/xgcc -B/tmp/branch/objdir/gcc/ -nostdinc -B/tmp/branch/objdir/
xstormy16-elf/newlib/ -isystem /tmp/branch/objdir/xstormy16-elf/newlib/targ-include -
isystem /tmp/branch/combined/newlib/libc/include -B/usr/local/xstormy16-elf/bin/ -B/usr/
local/xstormy16-elf/lib/ -isystem /usr/local/xstormy16-elf/include -L/tmp/branch/objdir/ld -c
-DSkip_f2c_Undefs -DAllow_TYQUAD -I. -I../../../../combined/libf2c/libI77 -I.. -I../../../../
combined/libf2c/libI77/.. -DHAVE_CONFIG_H -W -Wall -O2 -g -O2 ../../../../combined/libf2c/
libI77/iio.c -o iio.o
../../../../combined/libf2c/libI77/iio.c: In function `c_si':
../../../../combined/libf2c/libI77/iio.c:67: error: insn does not satisfy its constraints:
(insn 185 125 126 7 (nil) (set (reg:SI 7 r7 [78])
(mem/s:SI (plus:HI (reg/v/f:HI 10 r10 [25])
(const_int 16 [0x10])) [5 <variable>.icirnum+0 S4 A16])) 6 {*movsi_internal} (nil)
(nil))
../../../../combined/libf2c/libI77/iio.c:67: internal compiler error: in
reload_cse_simplify_operands, at reload1.c:8345
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [iio.lo] Error 1
make[2]: Leaving directory `/tmp/branch/objdir/xstormy16-elf/libf2c/libI77'
make[1]: *** [i77] Error 2
make[1]: Leaving directory `/tmp/branch/objdir/xstormy16-elf/libf2c'
make: *** [all-target-libf2c] Error 2
Here's the reduced failing testcase:
typedef __g77_integer flag;
typedef __g77_integer ftnint;
typedef struct
{ flag icierr;
char *iciunit;
ftnint icirlen;
ftnint icirnum;
} icilist;
extern char *f__icptr;
char *f__icend;
void
c_si (icilist * a)
{
f__icend = f__icptr + a->icirlen * a->icirnum;
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/11687] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
@ 2003-07-27 18:47 ` dhazeghi at yahoo dot com
2003-07-27 18:48 ` [Bug target/11687] " dhazeghi at yahoo dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-27 18:47 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=11687
------- Additional Comments From dhazeghi at yahoo dot com 2003-07-27 18:47 -------
Oops the testcase didn't quite copy over...
typedef __g77_integer flag;
typedef __g77_integer ftnint;
typedef struct
{ flag icierr;
char *iciunit;
ftnint icirlen;
ftnint icirnum;
} icilist;
extern char *f__icptr;
char *f__icend;
void
c_si (icilist * a)
{
f__icend = f__icptr + a->icirlen * a->icirnum;
}
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11687] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
2003-07-27 18:47 ` [Bug fortran/11687] " dhazeghi at yahoo dot com
@ 2003-07-27 18:48 ` dhazeghi at yahoo dot com
2003-07-27 18:49 ` dhazeghi at yahoo dot com
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-27 18:48 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=11687
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|fortran |target
------- Additional Comments From dhazeghi at yahoo dot com 2003-07-27 18:48 -------
Should be in target...
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11687] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
2003-07-27 18:47 ` [Bug fortran/11687] " dhazeghi at yahoo dot com
2003-07-27 18:48 ` [Bug target/11687] " dhazeghi at yahoo dot com
@ 2003-07-27 18:49 ` dhazeghi at yahoo dot com
2003-07-27 18:57 ` [Bug optimization/11687] " pinskia at physics dot uc dot edu
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-27 18:49 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=11687
------- Additional Comments From dhazeghi at yahoo dot com 2003-07-27 18:49 -------
*** Bug 11688 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (2 preceding siblings ...)
2003-07-27 18:49 ` dhazeghi at yahoo dot com
@ 2003-07-27 18:57 ` pinskia at physics dot uc dot edu
2003-07-27 19:19 ` [Bug optimization/11687] [3.3 only] " pinskia at physics dot uc dot edu
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 18:57 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=11687
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |optimization
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] [3.3 only] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (4 preceding siblings ...)
2003-07-27 19:19 ` [Bug optimization/11687] [3.3 only] " pinskia at physics dot uc dot edu
@ 2003-07-27 19:19 ` pinskia at physics dot uc dot edu
2003-07-27 19:23 ` pinskia at physics dot uc dot edu
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 19:19 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=11687
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|xstormy16-elf build fails in|[3.3 only] xstormy16-elf
|libf2c |build fails in libf2c
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-27 19:19 -------
I could not reproduce this on the mainline (20030727), most likely only 3.3 problem.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] [3.3 only] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (3 preceding siblings ...)
2003-07-27 18:57 ` [Bug optimization/11687] " pinskia at physics dot uc dot edu
@ 2003-07-27 19:19 ` pinskia at physics dot uc dot edu
2003-07-27 19:19 ` pinskia at physics dot uc dot edu
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 19:19 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=11687
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |3.3.2
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] [3.3 only] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (5 preceding siblings ...)
2003-07-27 19:19 ` pinskia at physics dot uc dot edu
@ 2003-07-27 19:23 ` pinskia at physics dot uc dot edu
2003-07-27 19:37 ` pinskia at physics dot uc dot edu
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 19:23 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=11687
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] [3.3 only] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (6 preceding siblings ...)
2003-07-27 19:23 ` pinskia at physics dot uc dot edu
@ 2003-07-27 19:37 ` pinskia at physics dot uc dot edu
2003-07-27 19:48 ` pinskia at physics dot uc dot edu
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 19:37 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=11687
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-07-27 19:37:01
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-27 19:37 -------
I can confirm this on 3.3.1 (20030714).
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] [3.3 only] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (7 preceding siblings ...)
2003-07-27 19:37 ` pinskia at physics dot uc dot edu
@ 2003-07-27 19:48 ` pinskia at physics dot uc dot edu
2003-07-27 20:00 ` pinskia at physics dot uc dot edu
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 19:48 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=11687
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-27 19:48 -------
It also happens in 3.2.3.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] [3.3 only] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (8 preceding siblings ...)
2003-07-27 19:48 ` pinskia at physics dot uc dot edu
@ 2003-07-27 20:00 ` pinskia at physics dot uc dot edu
2003-07-27 20:05 ` pinskia at physics dot uc dot edu
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 20:00 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=11687
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-27 20:00 -------
It also happens in 3.1 .
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] [3.3 only] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (9 preceding siblings ...)
2003-07-27 20:00 ` pinskia at physics dot uc dot edu
@ 2003-07-27 20:05 ` pinskia at physics dot uc dot edu
2003-09-07 4:10 ` cvs-commit at gcc dot gnu dot org
2003-09-07 4:15 ` cvs-commit at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 20:05 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=11687
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-27 20:05 -------
Since this has been happening since stormy16 (or xstormy16 was added) and is already
fixed on the mainline:
2001-08-22 Geoffrey Keating
* config.gcc: Add stormy16-*-elf case.
* config/stormy16/stormy-abi: New file.
* config/stormy16/stormy16-lib2.c: New file.
* config/stormy16/stormy16-protos.h: New file.
* config/stormy16/stormy16.c: New file.
* config/stormy16/stormy16.h: New file.
* config/stormy16/stormy16.md: New file.
* config/stormy16/t-stormy16: New file.
Closing as fixed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] [3.3 only] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (10 preceding siblings ...)
2003-07-27 20:05 ` pinskia at physics dot uc dot edu
@ 2003-09-07 4:10 ` cvs-commit at gcc dot gnu dot org
2003-09-07 4:15 ` cvs-commit at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-07 4:10 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=11687
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-09-07 04:10 -------
Subject: Bug 11687
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2003-09-07 04:10:10
Modified files:
gcc/cp : ChangeLog call.c typeck.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/expr: static_cast5.C
Log message:
PR c++/11687
* call.c (standard_conversion): Improve comments.
(perform_direct_initialization): Make sure we return an expression
of the correct type.
* typeck.c (build_static_cast): Check for ambiguity and
accessibility when performing conversions.
PR c++/11687
* g++.dg/expr/static_cast5.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3654&r2=1.3655
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&r1=1.431&r2=1.432
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.500&r2=1.501
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3031&r2=1.3032
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/static_cast5.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug optimization/11687] [3.3 only] xstormy16-elf build fails in libf2c
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
` (11 preceding siblings ...)
2003-09-07 4:10 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-07 4:15 ` cvs-commit at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-07 4:15 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=11687
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-09-07 04:15 -------
Subject: Bug 11687
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: mmitchel@gcc.gnu.org 2003-09-07 04:14:57
Modified files:
gcc/cp : ChangeLog call.c typeck.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/expr: static_cast5.C
Log message:
PR c++/11687
* call.c (standard_conversion): Improve comments.
(perform_direct_initialization): Make sure we return an expression
of the correct type.
* typeck.c (build_static_cast): Check for ambiguity and
accessibility when performing conversions.
PR c++/11687
* g++.dg/expr/static_cast5.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.199&r2=1.3076.2.200
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.341.2.31&r2=1.341.2.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.436.2.13&r2=1.436.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.267&r2=1.2261.2.268
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/expr/static_cast5.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2003-09-07 4:15 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-27 18:46 [Bug fortran/11687] New: xstormy16-elf build fails in libf2c dhazeghi at yahoo dot com
2003-07-27 18:47 ` [Bug fortran/11687] " dhazeghi at yahoo dot com
2003-07-27 18:48 ` [Bug target/11687] " dhazeghi at yahoo dot com
2003-07-27 18:49 ` dhazeghi at yahoo dot com
2003-07-27 18:57 ` [Bug optimization/11687] " pinskia at physics dot uc dot edu
2003-07-27 19:19 ` [Bug optimization/11687] [3.3 only] " pinskia at physics dot uc dot edu
2003-07-27 19:19 ` pinskia at physics dot uc dot edu
2003-07-27 19:23 ` pinskia at physics dot uc dot edu
2003-07-27 19:37 ` pinskia at physics dot uc dot edu
2003-07-27 19:48 ` pinskia at physics dot uc dot edu
2003-07-27 20:00 ` pinskia at physics dot uc dot edu
2003-07-27 20:05 ` pinskia at physics dot uc dot edu
2003-09-07 4:10 ` cvs-commit at gcc dot gnu dot org
2003-09-07 4:15 ` cvs-commit 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).