[Bug c++/8680] g++ doesn't warn when passing a C++ funcptr instead of extern "C" funcptr

2005-08-19 Thread dbaron at dbaron dot org
--- Additional Comments From dbaron at dbaron dot org 2005-08-20 04:33 --- As I wrote in https://bugzilla.mozilla.org/show_bug.cgi?id=81385#c9 : Looking at the C++ standard (the out-of-date 1998 version, I admit), as far as I can tell a conformant compiler is required to give a diagnost

[Bug c++/15097] code generator problem with ::delete and multiple inheritance and virtual deconstructs

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 02:43 --- Here is a self contained testcase for this: struct B1 { virtual ~B1 () throw(){} B1 (){} int x; }; struct B2 { virtual ~B2 () throw(){} B2 (){} int x; }; struct D : B1, B2 { D (){

[Bug c++/23480] default-initializing variable size array new expression for basic types does not work

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 02:37 --- 3.2.3 and 3.0.4 rejected the code: t.cc: In function `void f(int)': t.cc:4: variable-sized object of type `int[n]' may not be initialized No recent (from 2.95.3 and above) GCC version got this right (well a

[Bug c++/23480] default-initializing variable size array new expression for basic types does not work

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 02:30 --- Testcase which was attached on PR 20427: #include void f(int n) { int * a = new int [n] () ; for (int i = 0; i < n; ++i) { std::cout << a[i]++ << ' '; } std::cout << '\n';

[Bug c++/20427] [3.4 Regression] 'new int [2] ()' not default initialized

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 02:29 --- (In reply to comment #6) > Should I file a different bug, or is this the same problem but unseen until > now > on 4.x? There is a PR about this issue, PR 23480. I will attach your testcase. -- http://

[Bug rtl-optimization/23490] [3.4/4.0/4.1 Regression] Long compile time for array initializer with inlined constructor

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 02:26 --- earth:~>time gcc -O1 t.cc -S 5.993u 0.056s 0:06.18 97.7% 0+0k 0+0io 0pf+0w earth:~>time gcc -O1 t.cc -S -O2 11.529u 0.058s 0:11.84 97.7%0+0k 0+0io 0pf+0w earth:~>time gcc t.cc -S 0.426u 0.012s 0:00.

[Bug c++/23491] [4.0/4.1 Regression] new declarator with constant expression gives "error: invalid use of array with unspecified bounds"

2005-08-19 Thread pinskia at gcc dot gnu dot org
ith: /home/peshtigo/pinskia/src/gnu/gcc/src/configure --target=i686-pc-linux-gnu -- host=i686-pc-linux-gnu --enable-__cxa_atexit --enable-languages=c++,objc,java,f95 --prefix=/ home/gates/pinskia/linux --enable-threads=posix --enable-shared Thread model: posix gcc version 4.1.0 20050819 (experimen

[Bug libgcj/21692] [4.1 Regression] unexpected java.lang.NoClassDefFoundError

2005-08-19 Thread danglin at gcc dot gnu dot org
--- Additional Comments From danglin at gcc dot gnu dot org 2005-08-20 02:14 --- Richard's change didn't fix the failures on the PA. I think we need our own version of UNWRAP_FUNCTION_DESCRIPTOR as function pointers don't always point to a function descriptor in the 32-bit runtime. --

[Bug middle-end/8743] receiving result from __builtin_return_address() beyond stack top causes segfault

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |minor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8743

[Bug middle-end/8743] receiving result from __builtin_return_address() beyond stack top causes segfault

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 00:57 --- This is just a doc problem really. Also note __builtin_return_address for other than 0 is just for debuging puposes. -- What|Removed |Added ---

[Bug rtl-optimization/8335] problems with __builtin_frame_address when -fomit-frame-pointer used

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-20 00:55 --- Fixed for 4.1 by: +2005-08-19 James E Wilson <[EMAIL PROTECTED]> + + * builtins.c (expand_builtin_return_addr): Set + current_function_accesses_prior_frames when count != 0. Use + frame_

[Bug target/23488] [4.1 Regression] extra reads from static variable

2005-08-19 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-08-20 00:54 --- I'm going to look at this a bit more... -- What|Removed |Added AssignedTo|unassigned

[Bug target/23070] CALL_V4_CLEAR_FP_ARGS flag not properly set

2005-08-19 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2005-08-20 00:21 --- http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01201.html -- What|Removed |Added K

[Bug target/23488] [4.1 Regression] extra reads from static variable

2005-08-19 Thread dann at godzilla dot ics dot uci dot edu
--- Additional Comments From dann at godzilla dot ics dot uci dot edu 2005-08-19 23:37 --- It's strange that the load(*) does not get optimized, given that it's in the same BB as the store that precedes it... movl%eax, result.1282 (*)movlresult.1282, %eax

[Bug target/23488] [4.1 Regression] extra reads from static variable

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 23:31 --- (In reply to comment #3) > I am surprised that gcse.c load PRE can't already handle this situation. Is > something broken, or is it really just not able to handle this? What does > the > RTL look like w

[Bug target/23488] [4.1 Regression] extra reads from static variable

2005-08-19 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-08-19 23:26 --- I am surprised that gcse.c load PRE can't already handle this situation. Is something broken, or is it really just not able to handle this? What does the RTL look like when we are in GCSE? -- htt

[Bug rtl-optimization/23490] Long compile time for array initializer with inlined constructor

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 23:03 --- (In reply to comment #1) > The only things in your profile which is tree based: > 479 1.9601 is_gimple_stmt > 327 1.3381 walk_tree Oh and those are most likely just checking and nothing more.

[Bug rtl-optimization/23490] Long compile time for array initializer with inlined constructor

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 23:01 --- The only things in your profile which is tree based: 479 1.9601 is_gimple_stmt 327 1.3381 walk_tree The rest are rtl based. So this is a RTL issue. -- What|Removed

[Bug ada/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 23:01 --- As mentioned the patch is the wrong approach. And also the C++ front-end have the same issue, see PR 23171. -- What|Removed |Added -

[Bug c++/23491] New: new declarator with constant expression gives "error: invalid use of array with unspecified bounds"

2005-08-19 Thread redi at gcc dot gnu dot org
--enable-threads=posix --enable-__cxa_atexit --disable-checking --enable-concept-checks --enable-pch --enable-libstdcxx-debug Thread model: posix gcc version 4.1.0 20050819 (experimental) The error is only given if the array length is a positive constant expression. Negative or zero constant expressions

[Bug tree-optimization/23490] New: Long compile time for array initializer with inlined constructor

2005-08-19 Thread falk at debian dot org
GNU C++ version 4.1.0 20050810 This little program: struct qd_real { double x[4]; inline qd_real(double x0, double x1, double x2, double x3) { x[0] = x0; x[1] = x1; x[2] = x2; x[3] = x3; } }; #define TWO(x) x, x const qd_real sin_table[] = { TWO(

[Bug ada/22533] [4.1 regression] ada / raised STORAGE_ERROR : stack overflow (or erroneous memory access)

2005-08-19 Thread laurent at guerby dot net
--- Additional Comments From laurent at guerby dot net 2005-08-19 22:43 --- Still there as of 20050819 http://gcc.gnu.org/ml/gcc/2005-08/msg00538.html +===GNAT BUG DETECTED==+ | 4.1.0 20050819 (experimental) (powerpc-apple

[Bug target/23488] [4.1 Regression] extra reads from static variable

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 22:35 --- Further reduced testcase: int xtermEnvEncoding(void) { static int result; if (result == 0) result = 2; return result; } Basicially the issue is that the if is emitted as cmp 0, result instead of w

[Bug c++/20427] [3.4 Regression] 'new int [2] ()' not default initialized

2005-08-19 Thread redi at gcc dot gnu dot org
--- Additional Comments From redi at gcc dot gnu dot org 2005-08-19 22:06 --- I see a similar problem with uninitialized elements of an array with a new initializer, but on mainline and 4.0. #include void f(int n) { int * a = new int [n] () ; for (int i = 0; i < n; ++i) {

[Bug target/23153] [4.1 Regression] [meta-bug] code size regression from 4.0 on x86

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 21:54 --- (In reply to comment #5) > Is there any reason that this PR is still in "UNCONFIRMED" state? Because this really a meta-bug now. And it looks like all the remaining issues are caused by: 2005-07-30 Jan Hu

[Bug tree-optimization/23153] [4.1 Regression] code size regression from 4.0 on x86

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added BugsThisDependsOn||23488 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23153

[Bug target/23488] [4.1 Regression] extra reads from static variable

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 21:50 --- Confirmed. There are two issues here. First the regression was caused by: 2005-07-30 Jan Hubicka <[EMAIL PROTECTED]> * expr.c (expand_expr_real_1): Do not load mem targets into register.

[Bug tree-optimization/23153] [4.1 Regression] code size regression from 4.0 on x86

2005-08-19 Thread dann at godzilla dot ics dot uci dot edu
--- Additional Comments From dann at godzilla dot ics dot uci dot edu 2005-08-19 21:47 --- Is there any reason that this PR is still in "UNCONFIRMED" state? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23153

[Bug rtl-optimization/23488] New: extra reads from static variable

2005-08-19 Thread dann at godzilla dot ics dot uci dot edu
typedef int nl_item; extern char *nl_langinfo (nl_item __item) __attribute__ ((__nothrow__)); char * xtermEnvEncoding(void) { static char *result; if (result == 0) { result = nl_langinfo(1); ; } return result; } Compile the above code with -march=i686 -O2 4.1 generates extra r

[Bug tree-optimization/23486] [4.1 Regression] ICE in execute_todo, at passes.c:677

2005-08-19 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-08-19 20:18 --- breaks bootstrap with BOOT_CFLAGS=-O3 . -- What|Removed |Added Severity

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 20:12 --- Errr, my surname is missing n at the end... 2005-08-19 Vaclav Haisman <[EMAIL PROTECTED]> * init.c (FreeBSD's __gnat_install_handler): Cast __gnat_error_handler to proper type.

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 20:11 --- 2005-08-19 Vaclav Haisma <[EMAIL PROTECTED]> * init.c (FreeBSD's __gnat_install_handler): Cast __gnat_error_handler to proper type. * link.c (FreeBSD's __gnat_object_file_opti

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 19:57 --- More of the same: *** link.c.~1.16.~ Fri Jul 8 12:45:47 2005 --- link.c Fri Aug 19 21:55:40 2005 *** *** 154,166 const char *__gnat_object_library_extension = ".a"; #

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
--- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 19:51 --- According to FreeBSD man page for sigaction (http://www.freebsd.org/cgi/man.cgi?query=sigaction&apropos=0&sektion=0&manpath=FreeBSD+5.4-RELEASE+and+Ports&format=html) the following looks like it should

[Bug rtl-optimization/23453] [4.0/4.1 regression] miscompilation of PARI/GP on x86 with gcse after reload

2005-08-19 Thread belyshev at depni dot sinp dot msu dot ru
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-08-19 19:51 --- gcse after reload may move loads from stack around stack pointer changes. here is simple workaround, it is supposed to prevent gcse after reload from touching expressions containing stack pointer

[Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 19:28 --- This is a bug in the freebsd specific section in init.c. -- What|Removed |Added Com

[Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap

2005-08-19 Thread v dot haisman at sh dot cvut dot cz
stage1/xgcc -Bstage1/ -B/home/4/wilx/i386-unknown-freebsd4.10/bin/ -c -O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes-Werror -fno-common -DHAVE_CONFIG_H\ -I/home/4/wilx/include -I. -Iada -I../../srcdir/gcc -I../../srcdi

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-08-19 19:16 --- I have a preliminary fix, will work on testcases now, then test it thoroughly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23484

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-19 19:14 --- Maybe. I think you'll find that most of the time these edges *are* critical. I don't think it's worth bothering to make the distinction. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23478

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-08-19 19:10 --- Subject: Re: Implement binary constants with a "0b" prefix On Fri, 19 Aug 2005, j at uriah dot heep dot sax dot de wrote: > > The patch is missing testcases. > > Is there a tutorial anywhere how to run

[Bug tree-optimization/23486] [4.1 Regression] ICE in execute_todo, at passes.c:677

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 19:07 --- Confirmed. Testcase: struct v { int n; }; void bar (int b, void *p, int *q) { struct v *v; for (;;) { v = b?p:0; q [v->n ++] = 0; } } Compile at -O1 -funswitch-loops. --

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 19:00 --- It can be confirmed on x86 with: extern void abort (void); #undef memcpy #define memcpy(dst, src, len) \ __builtin___memcpy_chk (dst, src, len, __builtin_object_size (dst, 0)) int main (void) { static

[Bug tree-optimization/23486] New: ICE in execute_todo, at passes.c:677

2005-08-19 Thread belyshev at depni dot sinp dot msu dot ru
// compile with -O3 struct v { int n; }; foo (struct v *v, int *q) { q [v->n ++] = 0; } bar (int b, void *p, int *q) { for (;;) foo (b ? p : 0, q); } // t2.c: In function ‘bar’: t2.c:7: internal compiler error

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2005-08-19 18:55 --- (In reply to comment #9) Thank you very much for the useful comments. > The patch does not document how the types of binary constants are > determined. I suppose the rules are the same as for octal an

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:55 --- (In reply to comment #1) Ignore that comment, I am stupid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23484

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:54 --- Hmm, let look at the source: memcpy (&tmp, s, natint ? sizeof(tmp) : 4); natint will be zero so we get -- What|Removed |Added ---

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-08-19 18:51 --- It can't be inserted just on abnormal critical edges: gcc_assert (!((e->flags & EDGE_ABNORMAL) && EDGE_CRITICAL_P (e))); So I guess we could insert it on the EH edges if !EDGE_CRITICAL_P and only only avoid caller-

[Bug libffi/21943] O32 libffi.so fails to link on IRIX 6

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:43 --- Fixed als in 4.0.2. -- What|Removed |Added Status|ASSIGNED|R

[Bug c++/22454] [4.0/4.1 Regression] ICE with operator in default argument in template class

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 18:37 --- Even shorter testcase: === template struct A { A(void* = &operator new); }; === -- What|Removed |Added

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-19 18:34 --- More, since you cannot insert insns on the abnormal EH edge, the fix to caller-save needs to be of the form "don't caller-save this variable". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23478

[Bug tree-optimization/23048] [4.1 Regression] ICE in get_loop_body with -O1 -ftree-vectorize on 4.1.x

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:32 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-08-19 18:32 --- I think it's caller-save's bug. The use of fixup_abnormal_edges in reload and reg-stack is to move output reloads to the fallthru edge. Well, the output reloads are not used on the eh edge, because by definiti

[Bug target/23485] [ia64]: Integer dvide by zero doesn't raise a signal

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 18:26 --- I don't see why this is a bug really as on some targets (PPC) divide by zero does not raise any thing and the result is undefined. You might want to test your patch's performance as it could cause a lot o

[Bug tree-optimization/22320] -ftree-dominator-opts documentation is the same as -ftree-dce

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22320

[Bug target/23485] [ia64]: Integer dvide by zero doesn't raise a signal

2005-08-19 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-08-19 18:21 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01172.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23485

[Bug tree-optimization/22320] -ftree-dominator-opts documentation is the same as -ftree-dce

2005-08-19 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-08-19 18:20 --- Fixed. http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01168.html. -- What|Removed |Added

[Bug target/23485] New: [ia64]: Integer dvide by zero doesn't raise a signal

2005-08-19 Thread hjl at lucon dot org
[EMAIL PROTECTED] zero]$ cat x.c int foo (int y, int x) { return y/x; } [EMAIL PROTECTED] zero]$ cat y.c #include extern int foo (int, int); int main () { printf ("(10/0) = %d\n", foo (10, 0)); return 0; } [EMAIL PROTECTED] zero]$ gcc x.c y.c [EMAIL PROTECTED] zero]$ ./a.out (10/0) = 0 It

[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-08-19 18:10 --- Fixed. http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01150.html. -- What|Removed |Added

[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 18:09 --- Subject: Bug 23476 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-19 18:08:56 Modified files: gcc: ChangeLog tree-cfgcleanup.c

[Bug c++/23437] [3.4/4.0/4.1 Regression] error: ... cannot appear in a constant-expression

2005-08-19 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-08-19 18:06 --- Patch posted, waiting for review: http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01169.html -- What|Removed |Added --

[Bug tree-optimization/23048] [4.1 Regression] ICE in get_loop_body with -O1 -ftree-vectorize on 4.1.x

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 17:54 --- Subject: Bug 23048 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-08-19 17:54:16 Modified files: gcc: ChangeLog tree-if-conv.c gcc

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-08-19 17:28 --- Subject: Re: New: Implement binary constants with a "0b" prefix The patch does not document how the types of binary constants are determined. I suppose the rules are the same as for octal and hexadecima

[Bug middle-end/23484] __builtin___memcpy_chk miscompilation

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|critical|normal Component|c |middle-end GCC host triplet|x86_64-unknown-linux-gnu

[Bug target/23482] g++ crash building for m5307 arch

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Component|c++ |target Keywords||ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug

[Bug target/19421] [4.0/4.1 regression] ICE with soft-float on m68k

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 16:49 --- (In reply to comment #12) > Subject: Re: [4.0/4.1 regression] ICE with soft-float on > m68k > Why did you turn this from m68k-* to m68k-rtems? > It was reported against m68k-rtems but would have > be dupli

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23065

[Bug c/23484] New: __builtin___memcpy_chk miscompilation

2005-08-19 Thread gbeauchesne at mandriva dot com
Hi, Compiling ruby on x86_64 with -D_FORTIFY_SOURCE=2 will cause failure in the testsuite. This can be reproduced with GNU C version 4.1.0 20050819 (experimental) (x86_64-unknown-linux-gnu) Here is a simplified testcase. extern void abort (void); #undef memcpy #define memcpy(dst, src, len

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-08-19 16:28 --- If there was a voting system in this Bugzilla, I'd vote for this. It's a very useful feature in embedded programming. I also believe that it could be enabled by default in GNU C, since it's really easy and

[Bug libfortran/23483] New: [mingw32] Fortran runtime I/O error on correct program

2005-08-19 Thread dir at lanl dot gov
The program runs with out problem with g77, but fails with gfortran - [EMAIL PROTECTED] /d/Docume~1/rantad/mydocu~1/tests $ g77 -o write01 write01.f [EMAIL PROTECTED] /d/Docume~1/rantad/mydocu~1/tests $ write01 [EMAIL PROTECTED] /d/Docume~1/rantad/mydocu~1/tests $ gfortran -o write01 write01.f

[Bug libgcj/23466] Double.toString(0.0010) ---> "0.001" ISO "0.0010"

2005-08-19 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-08-19 16:20 --- I agree that this is most likely not a libgcj bug. Ronald, why do you think the _dtoa call ought to be changed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23466

[Bug c++/23482] New: g++ crash building for m5307 arch

2005-08-19 Thread keith dot nicewarner at spacedev dot com
I reported this to the uClinux developer list (where I got my gcc cross-compiler toolchain), and they recommended that I report it here. I'm getting a compiler crash building a 3rd-party C++ lib (ACE) for uClinux. The lib compiles with g++ for every other platform known to man, so I'm sure the co

[Bug target/19421] [4.0/4.1 regression] ICE with soft-float on m68k

2005-08-19 Thread joel at oarcorp dot com
--- Additional Comments From joel at oarcorp dot com 2005-08-19 16:02 --- Subject: Re: [4.0/4.1 regression] ICE with soft-float on m68k Why did you turn this from m68k-* to m68k-rtems? It was reported against m68k-rtems but would have be duplicated on at least m68k-elf if not any oth

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread tobi at gcc dot gnu dot org
--- Additional Comments From tobi at gcc dot gnu dot org 2005-08-19 15:51 --- Fixed. -- What|Removed |Added CC||tobi at gcc dot g

[Bug target/21824] [meta-bug] bootstrap bugs for *-gnu*

2005-08-19 Thread tobi at gcc dot gnu dot org
-- Bug 21824 depends on bug 23065, which changed state. Bug 23065 Summary: MAXPATHLEN usage in fortran/{scanner,module}.c http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23065 What|Old Value |New Value ---

[Bug fortran/23065] MAXPATHLEN usage in fortran/{scanner,module}.c

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 15:50 --- Subject: Bug 23065 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-19 15:50:43 Modified files: gcc/fortran: Change

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2005-08-19 15:18 --- Additional remark: GAS also recognizes 0bXXX constants. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479

[Bug libgcj/21943] O32 libffi.so fails to link on IRIX 6

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 14:54 --- Subject: Bug 21943 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-19 14:53:02 Modified files: libffi : Change

[Bug libfortran/15266] libgfortran doesn't compile on IRIX 5.3

2005-08-19 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-19 14:51 --- Subject: Bug 15266 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-08-19 14:50:27 Modified files: fixincludes: Change

[Bug libmudflap/18885] linker does not link libmudflap automatically with -fmudflap

2005-08-19 Thread ppluzhnikov at charter dot net
--- Additional Comments From ppluzhnikov at charter dot net 2005-08-19 14:48 --- Note that threaded programs need -lmudflapth instead of -lmudflap. The driver should add correct version of libmudflap automatically, or you'll get bug reports from users who link the wrong version in. Alt

[Bug tree-optimization/21859] ICE with -ftree-vectorize and -O2 or higher

2005-08-19 Thread reichelt at gcc dot gnu dot org
-- Bug 21859 depends on bug 8, which changed state. Bug 8 Summary: [4.1 regression] ICE with -ftree-vectorize in verify_ssa http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8 What|Old Value |New Value -

[Bug tree-optimization/23352] ICE with vectorizer: verify_ssa failed - definition does not dominate use

2005-08-19 Thread reichelt at gcc dot gnu dot org
-- Bug 23352 depends on bug 8, which changed state. Bug 8 Summary: [4.1 regression] ICE with -ftree-vectorize in verify_ssa http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8 What|Old Value |New Value -

[Bug tree-optimization/22228] [4.1 regression] ICE with -ftree-vectorize in verify_ssa

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:47 --- Fixed on mainline. Btw, this fixes also the ICE from PR 23352 for me. -- What|Removed |Added ---

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread fritz dot ganter at gmail dot com
--- Additional Comments From fritz dot ganter at gmail dot com 2005-08-19 14:46 --- I think this is realy a needed feature for mikrocontroller programing. Please implement it. Thanks! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479

[Bug tree-optimization/22543] [4.1 regression] ICE: verify_ssa failed with -ftree-vectorize

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:44 --- Just for the record: This was really fixed by the patch in PR8. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22543

[Bug c++/23357] [4.1 Regression] ICE with __alignof__ on template arguments

2005-08-19 Thread reichelt at gcc dot gnu dot org
-- What|Removed |Added Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23357

[Bug c++/23357] [4.1 Regression] ICE with __alignof__ on template arguments

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:35 --- Confirmed. Similar testcase from PR 23481: = template bool foo() { const long int i = sizeof(T) > 1 ? sizeof(T) : 0; return i > 0; }

[Bug c++/23481] [4.1 regression] ICE with long int and sizeof in template

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:34 --- Indeed. Sorry for the dupe. I'll attach the testcase there, too. *** This bug has been marked as a duplicate of 23357 *** -- What|Removed |Added --

[Bug c++/23357] [4.1 Regression] ICE with __alignof__ on template arguments

2005-08-19 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-19 14:34 --- *** Bug 23481 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/23481] [4.1 regression] ICE with long int and sizeof in template

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23481

[Bug c++/23481] [4.1 regression] ICE with long int and sizeof in template

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 14:29 --- This is most likely the same bug as PR 23357. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23481

[Bug c++/23481] New: [4.1 regression] ICE with long int and sizeof in template

2005-08-19 Thread reichelt at gcc dot gnu dot org
The following code snippet causes a segfault in fold-const.c on mainline: = template bool foo() { const long int i = sizeof(T) > 1 ? sizeof(T) : 0; return i > 0; } = Maybe a fro

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2005-08-19 14:24 --- (In reply to comment #4) > The main reason is because adding extensions are bad now adays. We > are removing extensions which are not used that much and hard to > keep working. OK, I accept that. But

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 14:12 --- (In reply to comment #3) > Curious: why? > > There are more than two dozen GCC language extensions enabled by > default, most of them would allow GCC to accept a program that will > not be accepted by a dif

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread j at uriah dot heep dot sax dot de
--- Additional Comments From j at uriah dot heep dot sax dot de 2005-08-19 13:57 --- (In reply to comment #2) > Confirmed, note I would actually disable binary constants by default > instead of what the patch currently does, pedwarns about them. Curious: why? There are more than two d

[Bug rtl-optimization/23478] [3.4 regression] Miscompilation due to reloading of a var that is also used in EH pad

2005-08-19 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2005-08-19 13:36 --- caller-save.c inserts the restore insns after the can_throw_internal () CALL_INSN and as the rest of reload excepts fixup_abnormal_edges to fix the mess up. But, fixup_abnormal_edges only inserts the instructions

[Bug tree-optimization/23476] [4.1 Regression] ICE in VRP, remove_range_assertions

2005-08-19 Thread dnovillo at gcc dot gnu dot org
--- Additional Comments From dnovillo at gcc dot gnu dot org 2005-08-19 13:27 --- Testing patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23476

[Bug middle-end/23467] alignment of member doesn't always carry over to alignment of struct.

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 13:24 --- Confirmed. Do you know if this is a regression? -- What|Removed |Added Status|U

[Bug preprocessor/23479] Implement binary constants with a "0b" prefix

2005-08-19 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 13:22 --- Confirmed, note I would actually disable binary constants by default instead of what the patch currently does, pedwarns about them. Or maybe pedwarn about them by default with an option to turn off that

[Bug c++/23480] default-initializing variable size array new expression for basic types does not work

2005-08-19 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Summary|default-initializing|default-initializing |variable size array new |variable size array new

[Bug target/23473] [4.1 Regression] ICE at config/arm/arm.c:3280

2005-08-19 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-08-19 13:17 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED

  1   2   >