[Bug libobjc/27466] RFE: Support for libobjc equivalent of std::set_unexpected

2006-05-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-07 06:24 --- It will most likely be called objc_set_unexpected like all other libobjc functions and then GNUStep will implement NSSetUncaughtExceptionHandler. -- pinskia at gcc dot gnu dot org changed: What|Re

[Bug fortran/24813] ICE with scalarization LEN of character types

2006-05-06 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2006-05-07 05:46 --- Subject: Bug 24813 Author: pault Date: Sun May 7 05:46:26 2006 New Revision: 113594 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113594 Log: 2006-05-07 Paul Thomas <[EMAIL PROTECTED]> PR fortran/

[Bug libobjc/27466] New: RFE: Support for libobjc equivalent of std::set_unexpected

2006-05-06 Thread landonf at opendarwin dot org
libobjc's exception implementation doesn't support a user-supplied default uncaught exception handler, and this would be a very handy feature to have. With the equivalent of std:set_unexpected, one could implement the NSSetUncaughtExceptionHandler() Foundation API. -- Summary: RFE: S

[Bug tree-optimization/27460] Does not vectorize statements with mixed type COND_EXPRs

2006-05-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-07 03:23 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug target/27421] [4.0/4.1/4.2 regression] ICE with invalid array in struct

2006-05-06 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last re

[Bug c++/27465] [4.0 only] ICE on dependent const folding

2006-05-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-07 03:11 --- This was fixed for sure by PR 23357. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27464] unsuitable aliasing rule warning

2006-05-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-07 02:56 --- You are wrong that pointers is not involved. References are really just pointers. And it is not implemention defined as it still violates C++ aliasing rules. -- pinskia at gcc dot gnu dot org changed:

[Bug c/27273] [4.2 regression] tree check fail for legal code when convert returns a constant from an expression that was not constant

2006-05-06 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-05-07 02:54 --- *** Bug 27462 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/27462] ICE tree-check in c-common.c:1086

2006-05-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-07 02:54 --- *** This bug has been marked as a duplicate of 27273 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/27465] New: ICE on dependent const folding

2006-05-06 Thread tneumann at pi3 dot informatik dot uni-mannheim dot de
Performing constant calculations depending on template parameters causes an internal compiler error. Compile the code below with g++ -c foo.cpp to reproduce. template struct A { static const unsigned a = (sizeof(T[3])-sizeof(T[2])); unsigned foo(unsigned b) { return a*b; } }; I do not get

[Bug c++/27464] New: unsuitable aliasing rule warning

2006-05-06 Thread thor at math dot tu-berlin dot de
Enter the following program and compile with -Wall -fstrict-aliasing int main(int argc,char **argv) { float f = 0.5; return reinterpret_cast(f); } g++ will return the following warning message: warning: dereferencing type-punned pointer will break strict-aliasing rules However, this warnin

[Bug c/25802] VM types of external and internal linkage variables not diagnosed

2006-05-06 Thread mrs at apple dot com
--- Comment #2 from mrs at apple dot com 2006-05-06 21:24 --- I have a fix for this, will post. -- mrs at apple dot com changed: What|Removed |Added CC|

[Bug c/27462] ICE tree-check in c-common.c:1086

2006-05-06 Thread marcus at jet dot franken dot de
--- Comment #1 from marcus at jet dot franken dot de 2006-05-06 20:55 --- Created an attachment (id=11393) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11393&action=view) locale.i gcc -O2 -c locale.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27462

[Bug c/27462] New: ICE tree-check in c-common.c:1086

2006-05-06 Thread marcus at jet dot franken dot de
extracted from WINE: gcc -O2 -c locale.i locale.i: In function 'f': locale.i:3: internal compiler error: tree check: expected class 'constant', have 'binary' (bit_and_expr) in convert_and_check, at c-common.c:1086 Please submit a full bug report, with preprocessed source if appropriate. See http

[Bug c++/27427] [4.0/4.1/4.2 regression] ICE with invalid template parameter

2006-05-06 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2006-05-06 20:48 --- Fixed on mainline, 4.1 branch, and 4.0 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/27427] [4.0/4.1/4.2 regression] ICE with invalid template parameter

2006-05-06 Thread reichelt at gcc dot gnu dot org
--- Comment #6 from reichelt at gcc dot gnu dot org 2006-05-06 20:46 --- Subject: Bug 27427 Author: reichelt Date: Sat May 6 20:45:59 2006 New Revision: 113584 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113584 Log: PR c++/27427 * pt.c (convert_nontype_argum

[Bug c++/27427] [4.0/4.1/4.2 regression] ICE with invalid template parameter

2006-05-06 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2006-05-06 20:43 --- Subject: Bug 27427 Author: reichelt Date: Sat May 6 20:43:07 2006 New Revision: 113583 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113583 Log: PR c++/27427 * pt.c (convert_nontype_argum

[Bug c++/27427] [4.0/4.1/4.2 regression] ICE with invalid template parameter

2006-05-06 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2006-05-06 20:40 --- Subject: Bug 27427 Author: reichelt Date: Sat May 6 20:40:23 2006 New Revision: 113582 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113582 Log: PR c++/27427 * pt.c (convert_nontype_argum

[Bug tree-optimization/27460] New: Does not vectorize statements with mixed type COND_EXPRs

2006-05-06 Thread rguenth at gcc dot gnu dot org
See testsuite/gcc.dg/vect/pr27151.c: float vs_data[75]; void vis_clear_data () { int vis_type, i; for (i = 0; i < 75; i++) { vs_data[i] = (vis_type == 1); } } the loop is not vectorized because the COND_EXPRs condition has a different type than the COND_EXPRs true/false results.

[Bug tree-optimization/27151] [4.1/4.2 Regression] ICE with -ftree-vectorize with mixed types

2006-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-05-06 17:42 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug tree-optimization/27151] [4.1/4.2 Regression] ICE with -ftree-vectorize with mixed types

2006-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-05-06 17:41 --- Subject: Bug 27151 Author: rguenth Date: Sat May 6 17:41:48 2006 New Revision: 113581 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113581 Log: 2006-05-06 Richard Guenther <[EMAIL PROTECTED]> P

[Bug tree-optimization/27151] [4.1/4.2 Regression] ICE with -ftree-vectorize with mixed types

2006-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2006-05-06 17:38 --- Subject: Bug 27151 Author: rguenth Date: Sat May 6 17:37:53 2006 New Revision: 113580 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113580 Log: 2006-05-06 Richard Guenther <[EMAIL PROTECTED]> P

[Bug c++/27456] Compiler allows function not returning value to be used

2006-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-05-06 17:11 --- main returns an int with your declaration. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27456

[Bug c++/27456] Compiler allows function not returning value to be used

2006-05-06 Thread aftli at optonline dot net
--- Comment #2 from aftli at optonline dot net 2006-05-06 16:50 --- Subject: Re: Compiler allows function not returning value to be used You're right, it does give a "warning" if you use -Wall. But on the default warning level, the program has two major errors, which should not be

[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics

2006-05-06 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-05-06 16:29 --- I should note that sind sounds to me sin taking a double precision agrument at least when I read the summary and not the first comment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27452

[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics

2006-05-06 Thread deji_aking at yahoo dot ca
--- Comment #5 from deji_aking at yahoo dot ca 2006-05-06 16:24 --- (In reply to comment #4) > > Which is faster? Multiplying and dividing by a literal constant > directly in your code or a function call to do the trivial work. > Really, I don't know enough about compiler technology t

[Bug fortran/27457] ICE in match_case_eos()

2006-05-06 Thread aldot at gcc dot gnu dot org
--- Comment #2 from aldot at gcc dot gnu dot org 2006-05-06 16:02 --- Known to work: g77-3.4 Known to fail: gfortran >= 4.0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27457

[Bug fortran/27457] ICE in match_case_eos()

2006-05-06 Thread tobi at gcc dot gnu dot org
--- Comment #1 from tobi at gcc dot gnu dot org 2006-05-06 16:01 --- Mine. I'm currently testing a patch -- tobi at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/27457] New: ICE in match_case_eos()

2006-05-06 Thread aldot at gcc dot gnu dot org
$ cat ICE_match_case_eos_1.f ! { dg-do compile } ! { dg-options "-std=gnu" } ! PR fortran implicit none integer(kind=1) :: i real :: r(3) select case (i) case (129) r(4) = 0 end select end (gdb) set args ICE_match_case_eos_1.f -ffixed-form -qu

[Bug c++/27456] Compiler allows function not returning value to be used

2006-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-05-06 14:57 --- It says "warning: control reaches end of non-void function", also the code is not invalid, but undefined, thus you get a segfault. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug c++/27456] New: Compiler allows function not returning value to be used

2006-05-06 Thread aftli at optonline dot net
The following program compiles without error: #include #include std::string f() {} main(){ std::string s(f()); return EXIT_SUCCESS; } The function f() does not return a value, string s is filled with random areas of memory. The program segfaults. gcc -v output from my machine (I tested this o

[Bug middle-end/27302] Fold does not fold (i < j) == (j > i) to 1

2006-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-05-06 13:52 --- Working on a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug fortran/27452] gfortran support for non-standard sind,cosd and friends intrinsics

2006-05-06 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #4 from sgk at troutmask dot apl dot washington dot edu 2006-05-06 13:38 --- Subject: Re: gfortran support for non-standard sind,cosd and friends intrinsics On Sat, May 06, 2006 at 06:32:01AM -, deji_aking at yahoo dot ca wrote: > > > --- Comment #3 from deji_aki

[Bug other/16513] Libiberty doesn't honor the multi-os-directory settings

2006-05-06 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2006-05-06 12:14 --- > what's the status of this one? Unchanged according to my testing: [EMAIL PROTECTED]:~/svn/gcc/gcc> uname -a Linux linux 2.6.8-24-default #1 Wed Oct 6 09:16:23 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux [EMAIL PRO

[Bug c++/17347] C++ FE produces invalid CONSTRUCTOR trees for vtables

2006-05-06 Thread christian dot joensson at gmail dot com
--- Comment #4 from christian dot joensson at gmail dot com 2006-05-06 12:08 --- what's the status of this one? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17347

[Bug other/16513] Libiberty doesn't honor the multi-os-directory settings

2006-05-06 Thread christian dot joensson at gmail dot com
--- Comment #3 from christian dot joensson at gmail dot com 2006-05-06 12:07 --- what's the status of this one? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16513

[Bug libgcj/10353] [4.0/4.1/4.2 regression] Java testsuite failures

2006-05-06 Thread ebotcazou at gcc dot gnu dot org
--- Comment #27 from ebotcazou at gcc dot gnu dot org 2006-05-06 11:46 --- > For sparc/sparc64 linux, the status for 4.2 20060503, from here, > http://gcc.gnu.org/ml/gcc-testresults/2006-05/msg00223.html, is this: Thanks, but this PR is for Solaris so avoid posting results for Linux he

[Bug target/25743] crosscompiler fails to build ada-rts for target platform.

2006-05-06 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2006-05-06 11:42 --- Patches should be posted to [EMAIL PROTECTED] -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libgcj/10353] [4.0/4.1/4.2 regression] Java testsuite failures

2006-05-06 Thread christian dot joensson at gmail dot com
--- Comment #26 from christian dot joensson at gmail dot com 2006-05-06 11:30 --- For sparc/sparc64 linux, the status for 4.2 20060503, from here, http://gcc.gnu.org/ml/gcc-testresults/2006-05/msg00223.html, is this: === libjava tests === Running target unix/-m64 FAI

[Bug c/27301] [4.0/4.1/4.2 Regression] ICE on convoluted inline asm with "m" (statement expression and vla)

2006-05-06 Thread enrico dot scholz at informatik dot tu-chemnitz dot de
--- Comment #4 from enrico dot scholz at informatik dot tu-chemnitz dot de 2006-05-06 11:00 --- fwiw (I reported the issue in the RH bugzilla, which was then forwarded by Jakub): I toke this syntax out of the gcc documentation: info gcc -> g Extended Asm | As an example, if you access

[Bug target/25743] crosscompiler fails to build ada-rts for target platform.

2006-05-06 Thread christian dot joensson at gmail dot com
--- Comment #5 from christian dot joensson at gmail dot com 2006-05-06 10:58 --- There may be connections with this PR to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20035 especially the http://gcc.gnu.org/bugzilla/attachment.cgi?id=8217 which I would suggest be named sparc64 instead o

[Bug gcov/profile/27453] gcov opens files with O_RDWR

2006-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-05-06 10:43 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug testsuite/27376] treelang testsuite fails on cygwin

2006-05-06 Thread christian dot joensson at gmail dot com
--- Comment #1 from christian dot joensson at gmail dot com 2006-05-06 10:30 --- hmm, must be the EXEEXT thing -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27376

[Bug gcov/profile/27453] New: gcov opens files with O_RDWR

2006-05-06 Thread debian-gcc at lists dot debian dot org
[forwarded from http://bugs.debian.org/365123] gcov opens it's data files *.gcda and *.gcno with O_RDWR. This fails if these files were created by another user, and the current user only has read access to those files. -- Summary: gcov opens files with O_RDWR Product: gcc

[Bug fortran/17298] gfortran ICE: Not Implemented: Scalarization of non-elemental intrinsic: __transfer1

2006-05-06 Thread paulthomas2 at wanadoo dot fr
--- Comment #24 from paulthomas2 at wanadoo dot fr 2006-05-06 08:02 --- Subject: Re: gfortran ICE: Not Implemented: Scalarization of non-elemental intrinsic: __transfer1 >I'm unfamiliar with Bugzilla, so if I annoy anyone, apologies. > > You made a serious comment... you won't upse