[Bug fortran/34079] Bind(C): Character argument/return value problems

2007-11-17 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-11-17 08:08 --- Additional problems, spotted by FX: subroutine foo(x) bind(c) character(len=1) :: x function bar(x) bind(c) character(len=1) :: x, bar These generates: foo (x, _x) bar (__result, .__result, x, _x) Instea

[Bug ada/34098] xgcc: Internal error: Segmentation fault (program gnat1)

2007-11-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2007-11-17 08:16 --- Could you post a full backtrace? -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/34131] New: ICE with demux_lavf.c (mplayer svn)

2007-11-17 Thread gregoire dot favre at gmail dot com
I search for demux_lavf.c and libmpdemux and mplayer and didn't found anything so I hope this wasn't already repported. Trying to compil mplayer svn with gcc -v Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20071116/work/gcc-4.3-200711

[Bug rtl-optimization/34132] New: [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)

2007-11-17 Thread tbm at cyrius dot com
With current trunk on Alpha: (sid)353:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O1 smapi-api_sdm.c (sid)354:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2 smapi-api_sdm.c smapi-api_sdm.c: In function 'SdmOpenMsg': smapi-api_sdm.c:15: error: invalid rtl sharing found in

[Bug rtl-optimization/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)

2007-11-17 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-11-17 11:59 --- Created an attachment (id=14571) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14571&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34132

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2007-11-17 Thread sparc64 at rediffmail dot com
--- Comment #5 from sparc64 at rediffmail dot com 2007-11-17 11:50 --- (In reply to comment #3) > This is invalid as there are no computed gotos in your example so the compiler > does not know it is a target for a goto so it is able to move the label > around. I dont understand why thi

[Bug rtl-optimization/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)

2007-11-17 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2007-11-17 11:59 --- /* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */ static char *sd_msg = "%s%u.msg"; void SdmOpenMsg (short mode, char *msgname, int filemode) { if (mode == 0) { xprintf (msgname, (char *) sd_msg); filemode =

[Bug c++/30988] [4.1/4.2/4.3 Regression] Incorrect "no return statement" warning with __attribute__ ((noreturn)) and __FUNCTION__

2007-11-17 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-11-17 12:33 --- IMNSHO this is not a regression. void f (const char *) #ifdef NORET __attribute__ ((noreturn)) #endif ; template struct A { int g () { #ifdef TEST1 f (__FUNCTION__); #elif defined TEST2 f ((const char*) _

[Bug ada/28305] GNAT bug when inlining instance of a generic subprogram

2007-11-17 Thread sam at rfc1149 dot net
--- Comment #2 from sam at rfc1149 dot net 2007-11-17 12:34 --- Confirmed on 4.3.0 HEAD with a different (and strange) error message. +===GNAT BUG DETECTED==+ | 4.3.0 20071114 (experimental) (i686-pc-linux-gnu) Program_Error sinput.adb

[Bug testsuite/28870] [4.2/4.3 Regression] configuring, over-riding timeout values in testsuite

2007-11-17 Thread rask at gcc dot gnu dot org
--- Comment #16 from rask at gcc dot gnu dot org 2007-11-17 12:19 --- A directive which allows a test to increase the timeout to x times the normal timeout would probably be a good idea. A few of the tests take much longer than most and IMO their timeout should be set based on the defaul

[Bug c++/30988] [4.1/4.2/4.3 Regression] Incorrect "no return statement" warning with __attribute__ ((noreturn)) and __FUNCTION__

2007-11-17 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-11-17 12:35 --- Oops, sorry for the typo (twice -DTEST3, never -DTEST2). But with -DTEST2 the output is always identical to -DTEST3 with all compilers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30988

[Bug c/34131] ICE with demux_lavf.c (mplayer svn)

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-11-17 13:04 --- *** This bug has been marked as a duplicate of 34113 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/34130] [4.1/4.2/4.3 Regression] the builtin abs() gives wrong result when used in some expression

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-11-17 12:46 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned

[Bug middle-end/34130] [4.1/4.2/4.3 Regression] the builtin abs() gives wrong result when used in some expression

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-11-17 12:46 --- Confirmed. int foo(int i) { return -2*__builtin_abs(i-2); } get's folded to return ABS_EXPR <(2 - i) * 2>; doh. -- rguenth at gcc dot gnu dot org changed: What|Removed |

[Bug tree-optimization/34127] ICE: tree-ssa-operands.c:1688

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-11-17 12:40 --- Works for me, this is a dup of PR34113. *** This bug has been marked as a duplicate of 34113 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/34113] [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2007-11-17 12:40 --- *** Bug 34127 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/34123] [4.3 Regression] verify_ssa failed (definition in block 11 does not dominate use in block 7)

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-17 12:37 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug fortran/34133] New: Bind(c): Accepts PROGRAM internal bind(c) procedure

2007-11-17 Thread burnus at gcc dot gnu dot org
C1237 (R1225) A proc-language-binding-spec shall not be specified for an internal procedure. However, gfortran accepts the following: subroutine foo() contains subroutine bar() bind (c) end subroutine bar end subroutine foo program main use iso_c_binding implicit none contains subrouti

[Bug tree-optimization/34113] [4.3 Regression] ICE in get_addr_dereference_operands, at tree-ssa-operands.c:1746

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2007-11-17 13:04 --- *** Bug 34131 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/30285] gfortran excessive memory usage with COMMON blocks in modules

2007-11-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #25 from fxcoudert at gcc dot gnu dot org 2007-11-17 13:49 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|ASS

[Bug regression/34134] New: [4.1, 4.2, 4.3] regression: ICE when using __builtin_stack_restore

2007-11-17 Thread edwintorok at gmail dot com
Using gcc 4.1, 4.2, or 4.3 I get an ICE when compiling testcase-min.i $ gcc-4.2 testcase-min.i -O1 -c testcase-min.i: In function ‘main’: testcase-min.i:4: warning: return type of ‘main’ is not ‘int’ testcase-min.i:21: internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:165 Ple

[Bug regression/34134] [4.1, 4.2, 4.3] regression: ICE when using __builtin_stack_restore

2007-11-17 Thread edwintorok at gmail dot com
--- Comment #1 from edwintorok at gmail dot com 2007-11-17 14:03 --- Created an attachment (id=14572) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14572&action=view) reduced testcase To reproduce bug run: "gcc -O1 testcase-min.i" I used the delta tool to produce a reduced testcas

[Bug fortran/34079] Bind(C): Character argument/return value problems

2007-11-17 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-11-17 13:49 --- More fun with ENTRY: a) gfortran does not match the BIND(C) suffix for ENTRY, "R1235 entry-stmt is ENTRY entry-name [ ( [ dummy-arg-list ] ) [ suffix ] ]" cf. decl.c: gfc_match_function_decl and gfc_match_entry

[Bug fortran/30285] gfortran excessive memory usage with COMMON blocks in modules

2007-11-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #24 from fxcoudert at gcc dot gnu dot org 2007-11-17 13:47 --- Subject: Bug 30285 Author: fxcoudert Date: Sat Nov 17 13:46:53 2007 New Revision: 130257 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130257 Log: PR fortran/30285 * module.c (struct wri

[Bug middle-end/34130] [4.1/4.2/4.3 Regression] the builtin abs() gives wrong result when used in some expression

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-17 14:22 --- Subject: Bug 34130 Author: rguenth Date: Sat Nov 17 14:22:42 2007 New Revision: 130258 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130258 Log: 2007-11-17 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug regression/34134] [4.1, 4.2, 4.3] regression: ICE when using __builtin_stack_restore

2007-11-17 Thread edwintorok at gmail dot com
--- Comment #2 from edwintorok at gmail dot com 2007-11-17 14:09 --- (In reply to comment #1) > Created an attachment (id=14572) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14572&action=view) [edit] > reduced testcase > > To reproduce bug run: "gcc -O1 testcase-min.i" > I used t

[Bug fortran/34136] New: [g77 regression] Add entry point and symbol for linker

2007-11-17 Thread burnus at gcc dot gnu dot org
As reported by Jack Howarth http://gcc.gnu.org/ml/fortran/2007-11/msg00122.html Analysis by Walter Spector: a) http://gcc.gnu.org/ml/fortran/2007-11/msg00131.html Ah - the old "put block data in a library, and use EXTERNAL to make sure it gets linked in" trick. Many compilers have gotten this w

[Bug middle-end/34130] [4.1/4.2 Regression] the builtin abs() gives wrong result when used in some expression

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-11-17 14:23 --- Fixed on the trunk. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug fortran/34135] New: bind(c)

2007-11-17 Thread burnus at gcc dot gnu dot org
As reported by Dominique, http://gcc.gnu.org/ml/fortran/2007-11/msg00105.html Christopher D. Rickett replied: > (3) gfortran.dg/bind_c_coms.f90 which fails because of the warnings: > ld: warning alignment lost in merging tentative definition _f03_com2 > ld: warning alignment lost in merging tentat

[Bug fortran/34136] [g77 regression] Add entry point and symbol for linker

2007-11-17 Thread w6ws at earthlink dot net
--- Comment #1 from w6ws at earthlink dot net 2007-11-17 15:34 --- First, the problem is described, and a full test case available, at: http://www.ncl.ucar.edu/Download/build_from_src.shtml#CompilersNeeded Second, I am not sure if part b (changing the name from BSS to TEXT) is stri

[Bug tree-optimization/33453] ICE in build2_stat, at tree.c:3110 with -ftree-parallelize-loops=4 -ftree-vectorize

2007-11-17 Thread tbm at cyrius dot com
--- Comment #3 from tbm at cyrius dot com 2007-11-17 16:09 --- I get this ICE too and the backtrace looks suspiciously similar. My testcase needs -O3: /* Testcase by Martin Michlmayr <[EMAIL PROTECTED]> */ struct User { char username[10]; }; void auth_set_username (struct User *user

[Bug tree-optimization/33453] ICE in build2_stat, at tree.c:3110 with -ftree-parallelize-loops=4 -ftree-vectorize

2007-11-17 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2007-11-17 16:12 --- Just that I have PLUS_EXPR rather than MULT_EXPR but it also points to pointer plus. pinskia, were you going to take a look at this? #0 fancy_abort (file=0xb867e8 "gcc/tree.c", line=3110, function=0xb899de "build2_stat

[Bug bootstrap/34126] [4.3 regression] bootstrap: build/genmodes missing

2007-11-17 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-11-17 16:48 --- Apparently, I had run "configure" and "make" in the gcc source directory, which caused this strange behavior. Interestingly, this broke the build in the bin directory, later. Checking out a fresh tree, "configure"i

[Bug fortran/25252] ICE on invalid code

2007-11-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #17 from fxcoudert at gcc dot gnu dot org 2007-11-17 16:55 --- Mine, I have posted a patch. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34040] relation between kinds and C types (for math builtins) shouldn't be hardcoded

2007-11-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2007-11-17 17:10 --- First, a question: what are the math functions that should be used for DFmode on sh with -m2e? For example, what function should we use for copysign(DFmode, DFmode): is that copysignl? After talking about it on

[Bug fortran/31213] ICE on valid code with gfortran

2007-11-17 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2007-11-17 17:18 --- (In reply to comment #7) > Ah! ubound.51 is not declared anywhere in spec_test. This comes about because the character length for 'tricky' depends on a characteristic of a variable, declared in tricky, that is not a d

[Bug regression/34134] [4.1/4.2/4.3 Regression] ICE when using __builtin_stack_restore

2007-11-17 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-11-17 17:33 --- LLVM got the pointer type wrong. Anyway, we shouldn't ICE on this. Testing a fix. -- jakub at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/33998] ICE in make_decl_rtl, at varasm.c:1263

2007-11-17 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-11-17 17:07 --- (In reply to comment #2) > > I do not see any alternative but to rewrite the interface routines and put > them in resolve.c. This maybe a bit alarmist but not by much. Certainly, 33888 needs a bit of help from resolv

[Bug fortran/25252] ICE on invalid code

2007-11-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #18 from fxcoudert at gcc dot gnu dot org 2007-11-17 17:49 --- Subject: Bug 25252 Author: fxcoudert Date: Sat Nov 17 17:49:45 2007 New Revision: 130259 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130259 Log: PR fortran/25252 * interface.c (gfc_cu

[Bug fortran/25252] ICE on invalid code

2007-11-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #19 from fxcoudert at gcc dot gnu dot org 2007-11-17 17:54 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|ASS

[Bug fortran/34133] Bind(c): Accepts PROGRAM internal bind(c) procedure

2007-11-17 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-11-17 18:19 --- Subject: Bug 34133 Author: burnus Date: Sat Nov 17 18:19:16 2007 New Revision: 130260 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130260 Log: 2007-11-17 Tobias Burnus <[EMAIL PROTECTED]> PR fort

[Bug middle-end/34134] [4.1/4.2/4.3 Regression] ICE when using __builtin_stack_restore

2007-11-17 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-11-17 18:20 --- (In reply to comment #3) > LLVM got the pointer type wrong. Anyway, we shouldn't ICE on this. > Testing a fix. really these functions should not be exposed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34134

[Bug c/31128] __builtin_stack_restore/__builtin_stack_save should not be exposed to the user

2007-11-17 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2007-11-17 18:21 --- *** Bug 34134 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/34134] [4.1/4.2/4.3 Regression] ICE when using __builtin_stack_restore

2007-11-17 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-11-17 18:21 --- *** This bug has been marked as a duplicate of 31128 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/34133] Bind(c): Accepts PROGRAM internal bind(c) procedure

2007-11-17 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-11-17 18:21 --- FIXED on the trunk (4.3.0). (Not part of any branch.) -- burnus at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/33317] CSHIFT/EOSHIFT: Rejects optional dummy for DIM=

2007-11-17 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-11-17 18:22 --- The problem here is that when we resolve cshift and eoshift we convert dim from a EXPR_VARIABLE to a EXPR_FUNCTION that converts the type to match up with the runtime function. Later in trans-expr.c, code is not

[Bug target/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)

2007-11-17 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c/31128] __builtin_stack_restore/__builtin_stack_save should not be exposed to the user

2007-11-17 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2007-11-17 19:25 --- Created an attachment (id=14573) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14573&action=view) gcc43-pr34134.patch Patch to avoid the ICE. I don't mind the patch which disables these builtins either, but 1)

[Bug tree-optimization/33092] [4.3 Regrsssion] Using -O1 -fno-tree-salias results in ICE

2007-11-17 Thread rob dot quill at gmail dot com
--- Comment #7 from rob dot quill at gmail dot com 2007-11-17 19:27 --- I believe I have this done, just checking there are no regressions. Rob -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33092

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2007-11-17 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-11-17 20:36 --- (In reply to comment #5) > I dont understand why this bug is invalid. When I use "&&label", I intend to > load the address where I point to in my code -- not where the compiler wants > to > move it around. No, th

[Bug bootstrap/34126] [4.3 regression] bootstrap: build/genmodes missing

2007-11-17 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-11-17 20:38 --- Well this is invalid if you did a configure/make in the gcc source directory and now trying to build in another directory without doing make distclean. -- pinskia at gcc dot gnu dot org changed: What

[Bug ada/34098] xgcc: Internal error: Segmentation fault (program gnat1)

2007-11-17 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2007-11-17 21:42 --- Subject: Re: xgcc: Internal error: Segmentation fault (program gnat1) > Could you post a full backtrace? Program received signal SIGSEGV, Segmentation fault. 0x00ef4ce0 in linemap_lookup (set=0x7aedc000,

[Bug ada/34098] xgcc: Internal error: Segmentation fault (program gnat1)

2007-11-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-11-17 21:46 --- > Program received signal SIGSEGV, Segmentation fault. > 0x00ef4ce0 in linemap_lookup (set=0x7aedc000, line=2) > at ../../gcc/libcpp/line-map.c:282 > 282 if (line >= cached->start_location) > (gdb) bt >

[Bug middle-end/34093] [4.3 Regression] ICE in ssa_operand_alloc, at tree-ssa-operands.c:484

2007-11-17 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-11-17 21:48 --- Note that instead of PR31976 where this ICE probably happens because of bad luck, this testcase is a recipie to create a VOP with N operands that will never be partitioned (due to the PR33870 fix) and thus reliably t

[Bug ada/34098] xgcc: Internal error: Segmentation fault (program gnat1)

2007-11-17 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2007-11-17 22:05 --- Hardware watchpoint 6: (int) preinit_symbols Old value = 0 New value = 2061380416 dbxout_symbol (decl=0x7adf60d0, local=0) at ../../gcc/gcc/dbxout.c:2494 2494 DBXOUT_DECR_NESTING_AND_RETURN (0); (gdb) bt #0

[Bug ada/34098] xgcc: Internal error: Segmentation fault (program gnat1)

2007-11-17 Thread danglin at gcc dot gnu dot org
--- Comment #7 from danglin at gcc dot gnu dot org 2007-11-17 22:07 --- This is decl. gdb crashes when I use print_tree: (gdb) p debug_tree (decl) unit size align 32 symtab 0 alias set -1 canonical type 7aded6e8 precision 32 min max > VOID Program received signa

[Bug ada/34098] xgcc: Internal error: Segmentation fault (program gnat1)

2007-11-17 Thread danglin at gcc dot gnu dot org
--- Comment #8 from danglin at gcc dot gnu dot org 2007-11-17 22:13 --- (gdb) p *set $3 = {maps = 0x0, allocated = 0, used = 0, cache = 0, last_listed = -1, depth = 0, trace_includes = 0 '\0', highest_location = 0, highest_line = 0, max_column_hint = 0, reallocator = @0x40057d72: 0

[Bug ada/34098] xgcc: Internal error: Segmentation fault (program gnat1)

2007-11-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2007-11-17 22:15 --- Fixing. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added CC|ebo

[Bug fortran/34128] slow gfortran 4.x (library?) compared to g77 3.4

2007-11-17 Thread bdavis at gcc dot gnu dot org
--- Comment #2 from bdavis at gcc dot gnu dot org 2007-11-17 22:35 --- here is what i got on a P4, running FC8. [EMAIL PROTECTED] gfc]$ /usr/bin/gfortran -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/us

[Bug fortran/34128] slow gfortran 4.x (library?) compared to g77 3.4

2007-11-17 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-11-17 22:42 --- It's 64-bit only, and it appears to be a glibc bug: with glibc on x86_64, sinf((float) integer_variable) is slower than (float)sin((double) integer_variable). Paul Brook looked into it a bit, and said that while g

[Bug tree-optimization/34127] ICE: tree-ssa-operands.c:1688

2007-11-17 Thread rwgk at yahoo dot com
--- Comment #3 from rwgk at yahoo dot com 2007-11-18 02:54 --- (In reply to comment #2) > Works for me, this is a dup of PR34113. > > *** This bug has been marked as a duplicate of 34113 *** > This is not the case. My original bug report was based on svn revision 130232, which include

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2007-11-17 Thread sparc64 at rediffmail dot com
--- Comment #7 from sparc64 at rediffmail dot com 2007-11-18 06:41 --- > No, this extension is not designed that way. It is only designed for computed > goto's. So, Are programmers expected to see their code work differently with optimization enabled ? I dont think so. > Please read:

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2007-11-17 Thread sparc64 at rediffmail dot com
--- Comment #8 from sparc64 at rediffmail dot com 2007-11-18 07:25 --- Ok, Continued : The "goto" statement works fine with optimization unless that "goto" is needless (like "goto" to next C statement) in which case, usage of "labels" as addresses in other places (like printf) takes a b

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2007-11-17 Thread sparc64 at rediffmail dot com
--- Comment #9 from sparc64 at rediffmail dot com 2007-11-18 07:28 --- I must have said "architectural hurdles" not "limitations..." especially because I have quoted "harvard cache" as an example. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28581

[Bug rtl-optimization/34085] ICE with -freorder-blocks-and-partition

2007-11-17 Thread eres at il dot ibm dot com
--- Comment #17 from eres at il dot ibm dot com 2007-11-18 07:32 --- I reproduced the ICE on x86_64-linux running tmp.c testcase with r130196. (please make sure you are running tmp.c testcase and not test.c testcase that was uploaded by mistake). GCC configured with: ../gcc/configure -