Re: [Bug target/40473] -mno-sched-prolog breaks function parameter debug location lists

2009-06-17 Thread Andrew Thomas Pinski
This option should just be removed. Sent from my iPhone On Jun 17, 2009, at 2:21 AM, "amodra at bigpond dot net dot au" > wrote: --- Comment #1 from amodra at bigpond dot net dot au 2009-06-17 09:21 --- See http://sourceware.org/bugzilla/show_bug.cgi?id=10231 -- http://gcc.g

Re: [Bug c/40366] New: Array + XOR swap fails

2009-06-07 Thread Andrew Thomas Pinski
Both of these are undefined. Look up about sequence point rules. Sent from my iPhone On Jun 7, 2009, at 12:15 AM, "ashutosh dot sharma dot 0204 at gmail dot com" wrote: Compiler Version: gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3) Copyright (C) 2007 Free Software Foundation, Inc. This is free

Re: [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used

2009-04-29 Thread Andrew Thomas Pinski
Looks like this failson non elf hosts (well darwin supports dlopen so I don't understand why it fails on darwin). Sent from my iPhone On Apr 29, 2009, at 10:19 AM, "dominiq at lps dot ens dot fr" > wrote: Yet another bootstrap error on i686-apple-darwin9: ... /opt/gcc/i686-darwin/./prev-gc

Re: [Bug libgcj/39747] [4.4/4.5 Regression] libjavamath is linking against libgmp

2009-04-27 Thread Andrew Thomas Pinski
Sent from my iPhone On Apr 26, 2009, at 11:54 PM, "jakub at gcc dot gnu dot org" > wrote: --- Comment #3 from jakub at gcc dot gnu dot org 2009-04-27 06:54 --- This doesn't look like a GCC bug, but user error. It is a gcc bug as this dependency is not documented this way. At

Re: [Bug middle-end/39840] Non-optimal (or wrong) implementation of SSE intrinsics

2009-04-21 Thread Andrew Thomas Pinski
Gcc 4.4 and above supports different target options on the function level but not on a basic block level. So you can create an interneral version for AVX. Sent from my iPhone On Apr 21, 2009, at 12:37 PM, "drepper at redhat dot com" > wrote: --- Comment #2 from drepper at redhat dot

Re: [Bug c++/39751] New: ICE in cp_lexer_new_from_tokens, at cp/parser.c:342

2009-04-13 Thread Andrew Thomas Pinski
Sent from my iPhone On Apr 13, 2009, at 7:43 AM, "gcc at abeckmann dot de" > wrote: This is a 4.5.0 regression on invalid code: == 8< == template < typename > struct A { A < struct { f () : == >8 == -- 4.5.0 -- $ x86_64-linux-gnu-g++-trunk -v

Re: [Bug c/39504] New: Incorrect code at -O2 and -O3

2009-03-19 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 19, 2009, at 8:38 AM, "jk500500 at yahoo dot com" > wrote: The attached test program -- which I extracted and simplified from the '176.gcc' SPEC2000 benchmark -- is compiled incorrectly at -O2 and -O3. The code is correct at -O1 and -O0. The bad code I am rep

Re: [Bug c/39493] New: [Mips] No space for arguments when implicitely calling __get_tls_addr

2009-03-18 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 18, 2009, at 7:05 AM, "joel dot porquet at gmail dot com" > wrote: Mips ABI specifies to let the space for 4 arguments in stack when calling a function. This is not respected when accessing tls variable with a dynamic model: gcc implicitely calls __get_tls_addr

Re: [Bug tree-optimization/39455] [4.3/4.4 Regression] ICE : in compare_values_warnv, at tree-vrp.c:1073

2009-03-16 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 16, 2009, at 1:15 AM, "jakub at gcc dot gnu dot org" > wrote: --- Comment #7 from jakub at gcc dot gnu dot org 2009-03-16 08:15 --- Reduced testcase: /* { dg-do compile } */ /* { dg-options "-O2 -fprefetch-loop-arrays" } */ void foo (char *x, unsign

Re: [Bug libfortran/39467] New: [4.4 regression] __iso_c_binding_c_f_procpoin...@gfortran_1.0 missing in libgfortran

2009-03-15 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 15, 2009, at 2:02 PM, "doko at ubuntu dot com" > wrote: The shared library libgfortran.so.3 in 4.3.x has the __iso_c_binding_c_f_procpoin...@gfortran_1.0 symbol exported. This symbol is missing in 4.4.0 20090315. I think this symbol was never used (from the fo

Re: [Bug driver/39439] The Driver hides "undefined reference" messages from shared libs (but not object files) in linker phase

2009-03-13 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 13, 2009, at 8:54 PM, "rob1weld at aol dot com" > wrote: --- Comment #2 from rob1weld at aol dot com 2009-03-14 03:54 --- (In reply to comment #1) Subject: Re: New: The Driver hides "undefined reference" messages from shared libs (but not object

Re: [Bug middle-end/39460] New: strange aliasing warnings compiling pymol under gcc 4.4

2009-03-13 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 13, 2009, at 9:11 PM, "howarth at nitro dot med dot uc dot edu" wrote: There are a number of aliasing warnings coming out of tree-ssa- structalias.c when compiling code in pymol which uses their endianswap.h header at -O3 -Wall. The warnings are of the form..

Re: [Bug driver/39439] New: The Driver hides "undefined reference" messages from shared libs (but not object files) in linker phase

2009-03-11 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 11, 2009, at 9:27 PM, "rob1weld at aol dot com" > wrote: The Driver hides "undefined reference" messages from shared libs but not from object files. This seems inconsistent and is not helpful. Why do you think the driver is doing instead of the linker? When co

Re: [Bug c++/39407] Parse error in when user declares template-name c

2009-03-09 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 9, 2009, at 8:40 AM, "rguenth at gcc dot gnu dot org" > wrote: --- Comment #7 from rguenth at gcc dot gnu dot org 2009-03-09 15:40 --- I think this is more likely a C++ frontend issue. At least I cannot believe this behavior is mandated by the std

Re: [Bug c/39403] Excessive optimization issue

2009-03-09 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 9, 2009, at 8:36 AM, "rguenth at gcc dot gnu dot org" > wrote: --- Comment #1 from rguenth at gcc dot gnu dot org 2009-03-09 15:36 --- You need to specify that the registers are clobbered by the asm. The only way to do that is to use output constrai

Re: [Bug other/39400] New: Dist tarball missing file gengtype-lex.c

2009-03-08 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 8, 2009, at 1:28 PM, "skunk at iskunk dot org" > wrote: Bootstrapping gcc-4.4-20090306(.tar.bz2) on Tru64 fails with This is a snapshot so it does not have all of generated files that a release will have. So this bug is invalid. flex -ogengtype-lex.c /tmp

Re: [Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used

2009-03-06 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 6, 2009, at 8:30 PM, "galtgendo at o2 dot pl" > wrote: --- Comment #16 from galtgendo at o2 dot pl 2009-03-07 04:30 --- OK, I've done a little test and I'd like to know, if it's results actually mean anything: I've compiled freeciv with CFLAGS="-O2 -f

Re: [Bug middle-end/39298] Optimize away only set but not used variable

2009-02-25 Thread Andrew Thomas Pinski
Sent from my iPhone On Feb 25, 2009, at 1:43 AM, "rguenth at gcc dot gnu dot org" > wrote: --- Comment #1 from rguenth at gcc dot gnu dot org 2009-02-25 09:43 --- Is there a reason the Fortran frontend gives function local variables static storage duration? Yes, it is larg

Re: [Bug target/39226] New: [4.4 Regression] gcc_assert (verify_initial_elim_offsets ()); ICE

2009-02-18 Thread Andrew Thomas Pinski
This is mostly likely due to my no micro code patch. I see what causes it tommorow. Sent from my iPhone On Feb 17, 2009, at 11:55 PM, "jakub at gcc dot gnu dot org" > wrote: /* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-options "-O2 -mtune=cell -mminimal-toc" { target { powerpc

Re: [Bug c++/39208] New: Incorrect mangled name for function as template argument

2009-02-16 Thread Andrew Thomas Pinski
Yes this known I forgot the bug number but try with -fabi-version=0. Sent from my iPhone On Feb 16, 2009, at 2:07 PM, "dgregor at gcc dot gnu dot org" > wrote: Given the following code: template struct X { }; int f(int, int) { } void g(X) { } GCC produces the mangled name: _Z1g1XILZ1fi

Re: [Bug c++/36607] [4.3/4.4 Regression] Incorrect type diagnostic on substracting casted char pointers

2009-02-03 Thread Andrew Thomas Pinski
Sent from my iPhone On Feb 3, 2009, at 5:56 AM, "bonzini at gnu dot org" > wrote: --- Comment #7 from bonzini at gnu dot org 2009-02-03 13:56 --- ping? The patch was just approved last night and I will be applying it when I get into work today. -- bonzini at gnu dot

Re: [Bug libfortran/39083] stage 3 libgfortran build fails

2009-02-02 Thread Andrew Thomas Pinski
Sent from my iPhone On Feb 2, 2009, at 8:33 PM, "tony_eckert at umsl dot edu" > wrote: --- Comment #1 from tony_eckert at umsl dot edu 2009-02-03 04:33 --- appears similar to bug 37865, but without --enable-intermodule. Only departure from defaults is --prefix Are you buildin

Re: [Bug c/39036] New: Decimal floating-point exception flags done wrong

2009-01-29 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 29, 2009, at 6:00 PM, "tydeman at tybor dot com" > wrote: Using gcc 4.3.2-7 on Intel Pentium 4 running Linux Fedora Core 10 and -std=gnu99 There were some dfp fixes on the trunk relating to fp exceptions so you should try the trunk before reporting any more bug

Re: [Bug middle-end/39015] [4.3 regression] wrong code building libgsf

2009-01-29 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 29, 2009, at 2:01 AM, "rguenth at gcc dot gnu dot org" > wrote: --- Comment #3 from rguenth at gcc dot gnu dot org 2009-01-29 10:01 --- The best option would be to revert that patch on the branch. Except it alone could not cause wrong code. Some ot

Re: [Bug tree-optimization/38985] New: [4.2/4.3/4.4 Regression] missing constraints for pointers accessed directly via their address

2009-01-27 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 27, 2009, at 3:15 AM, "bonzini at gnu dot org" > wrote: This testcase fails: /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ int f(int *p) { int a = *p; int *q = (int *)0xDEADBEE0; *q = 5; return *p == a; } /* { dg-final { scan-tree-

Re: [Bug tree-optimization/38984] [4.2/4.3/4.4 Regression] NULL pointers always considered distinct by PTA, even with -fno-delete-null-pointer-checks

2009-01-27 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 27, 2009, at 3:02 AM, "bonzini at gnu dot org" > wrote: --- Comment #1 from bonzini at gnu dot org 2009-01-27 11:02 --- This simple patch is not enough: Index: tree-ssa-structalias.c ===

Re: [Bug c/38961] if () block not true but a command in it is still in effect

2009-01-24 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 24, 2009, at 2:24 PM, "jellegeerts at gmail dot com" > wrote: --- Comment #6 from jellegeerts at gmail dot com 2009-01-24 22:24 --- Seems reasonable, though I'd vote for -Wall to include -Winit-self. I actually discovered this because of a bug I foun

Re: [Bug target/38941] CX isn't preserved with shift

2009-01-22 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 22, 2009, at 8:34 PM, "hjl dot tools at gmail dot com" > wrote: --- Comment #2 from hjl dot tools at gmail dot com 2009-01-23 04:34 --- How about this one: --- extern void abort (void); void foo (int x) { if (x != 8) abort (); } void bar (int g

Re: [Bug target/38941] New: CX isn't preserved with shift

2009-01-22 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 22, 2009, at 5:54 PM, "hjl dot tools at gmail dot com" > wrote: On x86, CX is used for shift. If CX is used for a variable, it may not be preserved with shift: [...@gnu-9 reg-1]$ cat r.c extern void abort (void); void foo (int x) { if (x != 8) abort (); } vo

Re: [Bug middle-end/38932] ICE in set_value_range, at tree-vrp.c:398

2009-01-22 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 22, 2009, at 1:00 AM, "bonzini at gnu dot org" > wrote: --- Comment #4 from bonzini at gnu dot org 2009-01-22 09:00 --- In PRE there is a fold_convert_const_int_from_int call simplifying "(signed char) 249" to -7, but setting the TREE_OVERFLOW flag

Re: [Bug middle-end/38856] loop iv detection failure

2009-01-16 Thread Andrew Thomas Pinski
Sent from my iPhone On Jan 16, 2009, at 1:57 AM, "rguenth at gcc dot gnu dot org" > wrote: --- Comment #5 from rguenth at gcc dot gnu dot org 2009-01-16 09:57 --- I think this boils down to the usual POINTER_PLUS fallout. It failed in 4.1 also so nope :). -- http://gcc

Re: [Bug java/38827] New: gcj emitting incorrect code

2009-01-13 Thread Andrew Thomas Pinski
On Jan 13, 2009, at 8:03 AM, "tschwinge at gcc dot gnu dot org" > wrote: I originally found this problem when trying to compile a Java package written by the Universität Stuttgart's institute IKR. I was using Debian's gcj package, version 4.3.2-2, but can likewise reproduce this using SVN

Re: [Bug fortran/38823] New: Diagnose and treat (-2.0)**2.0 properly

2009-01-13 Thread Andrew Thomas Pinski
On Jan 13, 2009, at 3:08 AM, "burnus at gcc dot gnu dot org" > wrote: Found at: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/0f1d7da66fa015c2 print *, (-2.0)**2.0 end is invalid. gfortran should print a diagnostic for -std=f95/f2003/ f2008 as NAG f95 does: Error: N

Re: [Bug bootstrap/35211] Dist tarball is missing (Bison-generated) java/parse-scan.c

2009-01-10 Thread Andrew Thomas Pinski
On Jan 10, 2009, at 3:59 PM, "rob1weld at aol dot com" > wrote: --- Comment #3 from rob1weld at aol dot com 2009-01-10 23:59 --- (In reply to comment #1) Is this still true in newer GCC releases? Also this was removed in 4.3 and above. Yes, on trunk. Searching for dupe befor

Re: [Bug c++/38764] New: bogus 'changes meaning' error?

2009-01-08 Thread Andrew Thomas Pinski
On Jan 8, 2009, at 4:22 AM, "pluto at agmk dot net" > wrote: following code snipet is reducted testcase from external application. g++ and comeau online accept/reject source differently. template < class T > struct A { }; template < class U > struct B { #if 1 typedef A< float > A; // <

Re: [Bug other/38768] man page: -fschedule-insns documentation

2009-01-08 Thread Andrew Thomas Pinski
On Jan 8, 2009, at 9:44 AM, "tim at klingt dot org" > wrote: --- Comment #1 from tim at klingt dot org 2009-01-08 17:44 --- Created an attachment (id=17057) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17057&action=view) proposed patch This patch is incorrect as -fsched

Re: [Bug c++/38761] New: %s substituted with regular word can't be properly translated

2009-01-07 Thread Andrew Thomas Pinski
Well template here might be consider the keyword template. So we either have template argument or just argument. Translating template might cause more confusion. Sent from my iPhone On Jan 7, 2009, at 1:34 PM, "goeran at uddeborg dot se" > wrote: In gcc/cp/parser.c there is this code in

Re: [Bug c++/38759] New: Incorrect warning/error when compiling with a typedef'ed ptr return type

2009-01-07 Thread Andrew Thomas Pinski
On Jan 7, 2009, at 12:44 PM, "gnu at bluedreamer dot com" > wrote: When a pointer to type is typedef'ed to a new type gcc incorrectly warns about const modifier if new typedef is used in function return type. gcc info: dluadrianc:/home/adrianc> gcc -v Using built-in specs. Target: i686-pc-

Re: [Bug bootstrap/38693] gcc 4.4.0 20090101 - gcc/config/i386/sol2-10.h uses "USE_GAS" which is undefined

2009-01-05 Thread Andrew Thomas Pinski
On Jan 5, 2009, at 7:01 PM, "rob1weld at aol dot com" > wrote: --- Comment #4 from rob1weld at aol dot com 2009-01-06 03:01 --- (In reply to comment #3) And this is documented in the installation documentation. (Confusion may also result if the compiler finds the GNU assembler

Re: [Bug target/38496] Gcc misaligns arrays when stack is forced follow the x8632 ABI

2008-12-15 Thread Andrew Thomas Pinski
Sent from my iPhone On Dec 15, 2008, at 1:33 PM, "whaley at cs dot utsa dot edu" > wrote: --- Comment #15 from whaley at cs dot utsa dot edu 2008-12-15 21:32 --- GCC chose to change the *unwritten* standard for the ABI in use for IA32 GNU/Linux. This is not true. Prior to t

Re: [Bug c/38453] Output code optimisation excessive use of builtins

2008-12-10 Thread Andrew Thomas Pinski
Sent from my iPhone On Dec 10, 2008, at 2:51 AM, "steven at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #3 from steven at gcc dot gnu dot org 2008-12-10 10:51 --- Investigating. There is no reason to investigate. The reason why this change happened was bec

Re: [Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2008-11-30 Thread Andrew Thomas Pinski
I think this bug is invalid since the type can change via a placement new which will change the vtable. Sent from my iPhone On Nov 30, 2008, at 4:09 AM, "rguenth at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-30 12:09

Re: [Bug c/25509] can't disable __attribute__((warn_unused_result))

2008-11-22 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 22, 2008, at 7:42 AM, "thomas at mich dot com" <[EMAIL PROTECTED] > wrote: --- Comment #20 from thomas at mich dot com 2008-11-22 15:42 --- There minimally needs to be a way of turning this warning off in GCC. GCC should not be trying to micromanage

Re: [Bug fortran/38188] New: Inconsistent function results depending on irrelevant write statement

2008-11-19 Thread Andrew Thomas Pinski
I don't think INF is the same as infinity. It is most like implict declared variable with an undefined value. Sent from my iPhone On Nov 19, 2008, at 10:52 PM, "dojo at masterleep dot com" <[EMAIL PROTECTED] > wrote: I am getting unreliable results from a small function using the latest pr

Re: [Bug rtl-optimization/38139] --enable-checking=all times out during bootstrap

2008-11-15 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 15, 2008, at 1:59 PM, "edwintorok at gmail dot com" <[EMAIL PROTECTED] > wrote: --- Comment #2 from edwintorok at gmail dot com 2008-11-15 21:59 --- (In reply to comment #1) Subject: Re: New: --enable-checking=all times out during bootstrap Sen

Re: [Bug rtl-optimization/38139] New: --enable-checking=all times out during bootstrap

2008-11-15 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 15, 2008, at 1:27 PM, "edwintorok at gmail dot com" <[EMAIL PROTECTED] > wrote: I tried to build a gcc 4.4.0 with --enable-checking=all but it timed out: Since --enable-checking=all enables gc all the time then yes It will take a long time. Maybe even days. Mar

Re: [Bug c/38136] New: vim crashes on startup when compiled with -O3 but works with -O2

2008-11-15 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 15, 2008, at 10:05 AM, "dominique dot pelle at gmail dot com" <[EMAIL PROTECTED] > wrote: Vim (at least current version vim-7.2.40) crashes on start up when compiled with optimization option -O3 using gcc-4.3.2 (that's the default version that comes with Ubuntu

Re: [Bug c/37995] using fails if gcc invoked in a directory which has a subdirectory called "gcc"

2008-11-14 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 14, 2008, at 5:01 PM, "mvanier at cs dot caltech dot edu" <[EMAIL PROTECTED] > wrote: --- Comment #10 from mvanier at cs dot caltech dot edu 2008-11-15 01:01 --- (In reply to comment #9) (In reply to comment #8) Is "." in your PATH environment varia

Re: [Bug libstdc++/38107] gcc source contains a struct with no data members (actually 1 byte in size) and compiler does not initialize it, resulting in IBM Rational Purify reporting an Uninitialized M

2008-11-14 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 14, 2008, at 9:05 AM, "efinger at us dot ibm dot com" <[EMAIL PROTECTED] > wrote: --- Comment #4 from efinger at us dot ibm dot com 2008-11-14 17:05 --- (In reply to comment #2) There are going to be other holes in structs in general due to alignme

Re: [Bug debug/38101] New: dbxout_expand_expr() doesn't check return value of DECL_VALUE_EXPR()

2008-11-12 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 12, 2008, at 8:11 PM, "d dot g dot gorbachev at gmail dot com" <[EMAIL PROTECTED] > wrote: tree.c: tree decl_value_expr_lookup (tree from) { ... return NULL_TREE; } tree.h: #define DECL_VALUE_EXPR(NODE) \ (decl_value_expr_lookup (DECL_WRTL_CHECK (NODE))) db

Re: [Bug libstdc++/38000] [4.3/4.4 Regression] System header files not found once -isystem /usr/include is used

2008-11-12 Thread Andrew Thomas Pinski
Hmm, shouldn't the preprocessor just mark the include as a duplicate? Sent from my iPhone On Nov 12, 2008, at 8:50 AM, "paolo dot carlini at oracle dot com" <[EMAIL PROTECTED] > wrote: -- paolo dot carlini at oracle dot com changed: What|Removed |Added

Re: [Bug preprocessor/38013] New: Option to turn off usage of any precompiled header

2008-11-04 Thread Andrew Thomas Pinski
You can also just do -Dineednopchreallyidont :). Sent from my iPhone On Nov 4, 2008, at 8:23 AM, "rguenth at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: There is no option to turn off the use of precompiled headers. This makes generating preprocessed source for bugs harder than necess

Re: [Bug c++/35652] [4.2/4.3/4.4 Regression] offset warning should be given in the front-end

2008-11-02 Thread Andrew Thomas Pinski
Sent from my iPhone On Nov 2, 2008, at 4:53 AM, "manu at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #10 from manu at gcc dot gnu dot org 2008-11-02 12:53 --- (In reply to comment #9) This is my current patch and it works in this testcase. However, it also

Re: [Bug rtl-optimization/37948] [4.4 Regression] IRA generates slower code for -mtune=core2

2008-10-29 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 29, 2008, at 12:17 AM, "bonzini at gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #2 from bonzini at gnu dot org 2008-10-29 07:17 --- Subject: Re: [4.4 Regression] IRA generates slower code for -mtune=core2 hjl dot tools at gmail dot com wrot

Re: [Bug c/37873] ICE in extract_bit_field_1

2008-10-19 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 19, 2008, at 7:39 AM, "bernard at brenda-arkle dot me dot uk" <[EMAIL PROTECTED] > wrote: --- Comment #1 from bernard at brenda-arkle dot me dot uk 2008-10-19 14:39 --- I'm really sorry - requesting the form after network problems apparently submit

Re: [Bug target/37845] gcc ignores FP_CONTRACT pragma set to OFF

2008-10-16 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 16, 2008, at 2:42 AM, "rguenth at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #2 from rguenth at gcc dot gnu dot org 2008-10-16 09:42 --- The fma patterns on ia64 are not guarded properly. They should be off as long as flag_unsafe_m

Re: misusing placement new OR possible cxx bug

2008-10-13 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 13, 2008, at 9:10 AM, "Ralovich, Kristóf" <[EMAIL PROTECTED] m> wrote: Hi GCC developers, I have a c++ source, that I think is wrong (wrt the c++ standard), but accepted by g++ (and msvc too)! int main(int argc, char** a

Re: [Bug c++/37804] New: Nested type leaks to global scope

2008-10-11 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 11, 2008, at 5:28 AM, "therealfroggey at gmail dot com" <[EMAIL PROTECTED] > wrote: GCC versions used: gcc version 4.1.2 gcc version 4.4.0 20081011 (experimental) (GCC) svn revision 141055 Command line used: g++ -Wall -Wextra bug.cc The following code should fail

Re: [Bug c++/37773] -Wfatal-errors aborts too early

2008-10-08 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 8, 2008, at 9:48 AM, "carlo at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #1 from carlo at gcc dot gnu dot org 2008-10-08 16:48 --- Here's another one: This expected behaviour of this option. It was not designed for users really

Re: [Bug c++/37762] Member variable of empty base optimized (EBO) class appears on wrong offset

2008-10-07 Thread Andrew Thomas Pinski
Iirc there are some pod vs non pod issues here dealing wit padding and the c++ standard and not even the abi. Sent from my iPhone On Oct 7, 2008, at 2:31 AM, "david dot rosenborg at pantor dot com" <[EMAIL PROTECTED] > wrote: --- Comment #3 from david dot rosenborg at pantor dot com

Re: gcc generates prolog without rsp decrementing, i.e. allocates locals and parameters in free stack without privatising this stack

2008-10-06 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 6, 2008, at 5:09 AM, Denis <[EMAIL PROTECTED]> wrote: Hi, I use gcc: [EMAIL PROTECTED] ~]$ gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr -- with-local-prefix=/usr/local --infodir=/usr/

Re: [Bug c++/37728] New: if scoping for declarations

2008-10-03 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 3, 2008, at 11:10 AM, "mrs at apple dot com" <[EMAIL PROTECTED] > wrote: In: http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-October/017449.html we were discussing possible bugs in g++ scoping for if statements. $ cat t.cc void foo() { if (int x = 0) { int

Re: [Bug c++/37721] Segmentation fault

2008-10-03 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 3, 2008, at 1:38 AM, "ivranos at freemail dot gr" <[EMAIL PROTECTED] > wrote: --- Comment #9 from ivranos at freemail dot gr 2008-10-03 08:38 --- I am sorry but you are not right/specific. At first there is no struct in the code, only class. In C+

Re: [Bug c++/37715] New: Different class sizes with public/private and alignments

2008-10-02 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 2, 2008, at 2:09 AM, "adam at os dot inf dot tu-dresden dot de" <[EMAIL PROTECTED]> wrote: I've been experiencing some (for me) rather unexpected behavior with some C++ code. The following is a very reduced test case: This comes down to non pod vs pod and tai

Re: [Bug c++/37685] New: C++ over-eager optimization when working with a pointer

2008-09-30 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 30, 2008, at 10:26 AM, "jrenggli at gmail dot com" <[EMAIL PROTECTED] > wrote: The following code results in an error when optimized using -O2 or - O3 flag, but works fine with -O1. I've also been able to "confuse" the optimizer by adding some code just after or

Re: [Bug c++/37671] New: can't use iostream library

2008-09-28 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 28, 2008, at 7:44 PM, "hadmanysons at gmail dot com" <[EMAIL PROTECTED] > wrote: Whenever I try to compile something using the iostream library, gcc pumps out a lot of errors. Here's the gcc -v -save-temps screen: Using built-in specs. Target: i386-redhat-linux

Re: Increment/decrement operator bugs

2008-09-25 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 25, 2008, at 10:39 AM, "Miguel A. Quintans" <[EMAIL PROTECTED] > wrote: Hello The result of an expression using pre-decrement or pre-increment such as: y = x * n * --n; Try turning on warnings. That is -Wsquence-points. The above is specified behavi

Re: [Bug c/37609] New: Pointer arithmetic yields strange result

2008-09-21 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 21, 2008, at 9:00 AM, "john dot spelis at 3dlabs dot com" <[EMAIL PROTECTED] > wrote: An expression using ptr arithmetic yields an unusual result unless a cast is applied; The problematic expression; MaxTimings = ((EDIDDetailed *) &pExt->checksum) - pDTD; That i

Re: [Bug c++/36959] [4.2/4.3/4.4 Regression] C++ front-end causing a static inline function to be emitted

2008-09-20 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 20, 2008, at 8:26 AM, "rguenth at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #1 from rguenth at gcc dot gnu dot org 2008-09-20 15:26 --- What happens if you remove this piece of code? I suspect we merely need to keep the function

Re: [Bug c++/37590] New: g++ should emit different debug info for variable's type

2008-09-19 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 19, 2008, at 10:58 AM, "tromey at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: Consider this code: #include std::string s; I compiled this with -g and examined the resulting dwarf. 's' is represented as: <1><24e8>: Abbrev Number: 63 (DW_TAG_variable) <24e

Re: [Bug inline-asm/37562] New: [4.2] -funroll-loops destroys inline asm code von powerpc

2008-09-17 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 17, 2008, at 8:42 AM, "rbuergel at web dot de" <[EMAIL PROTECTED] > wrote: typedef unsigned int UInt32; typedef unsigned char UInt8; struct Data { UInt8 data[16]; const UInt8* getData() const { return data + 4; } }; struct Value { UInt32 value; static

Re: [Bug preprocessor/37549] New: gcc -E -dD prints predefined macros, contrary to docs

2008-09-16 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 16, 2008, at 7:25 PM, "martinrb at google dot com" <[EMAIL PROTECTED] > wrote: The docs for preprocessor -dD flag states `D' Like `M' except in two respects: it does _not_ include the predefined macros I think what it means by predefines ar

Re: [Bug preprocessor/37550] New: Please document predefined sub-architecture support macros

2008-09-16 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 16, 2008, at 7:35 PM, "martinrb at google dot com" <[EMAIL PROTECTED] > wrote: The preprocessor symbol __MMX__ indicates whether this gcc includes mmx support. This is extremely useful, but undocumented. I only found out by finding the symbol in other peoples' co

Re: [Bug driver/37551] New: gcc help should provide subarchitecture details

2008-09-16 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 16, 2008, at 7:44 PM, "martinrb at google dot com" <[EMAIL PROTECTED] > wrote: How do I find out whether a particular gcc supports a particular subarchitecture, e.g. MMX instructions, by default? If the gcc has been configured --with-arch=, I can get that valu

Re: [Bug tree-optimization/37526] [4.4 Regression] ICE using --combine -O2

2008-09-16 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 16, 2008, at 6:20 AM, "rguenth at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #7 from rguenth at gcc dot gnu dot org 2008-09-16 13:20 --- ./cc1 -quiet -O2 t1.i t2.i t2.i: In function 'Node_print': t2.i:2: error: non-trivial conversio

Re: [Bug c++/37518] New: preprocessor failure

2008-09-13 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 13, 2008, at 11:02 PM, "rwgk at yahoo dot com" <[EMAIL PROTECTED] > wrote: Platform: Fedora release 8 (Werewolf) Linux chevy.lbl.gov 2.6.23.15-137.fc8 #1 SMP Sun Feb 10 17:03:13 EST 2008 x86_64 x86_64 x86_64 GNU/Linux % g++ -v Using built-in specs. Target:

Re: [Bug c++/37511] ice for simple legal C++ code

2008-09-13 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 13, 2008, at 12:58 PM, "rguenth at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #2 from rguenth at gcc dot gnu dot org 2008-09-13 19:58 --- works for me. Honza, I guess you fixed this recently? I think this was fixed by the pt.c ch

Re: [Bug c/37506] New: attribute section is not working with constant strings

2008-09-13 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 13, 2008, at 2:04 AM, "nm127 at freemail dot hu" <[EMAIL PROTECTED] > wrote: With the __attribute__ __section__ it is possible to allocate variables to different section than the default ( http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html ). In case o

Re: [Bug rtl-optimization/37408] New: [4.3/4.4 regression] Invalid insn scheduling

2008-09-07 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 7, 2008, at 9:47, "schwab at suse dot de" <[EMAIL PROTECTED] > wrote: This is broken during sched2 pass. Compiled with -m64 -O2. lwz 10,1492(7) # nargs,<--- uninitialized std 9,1272(7)# specpdl.19, li 9,16 # iftmp.21,

Re: [Bug target/37390] wrong-code on i486-linux-gnu with -O[12], -O0 works

2008-09-06 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 6, 2008, at 10:42, "niklaus at gmail dot com" <[EMAIL PROTECTED] > wrote: --- Comment #4 from niklaus at gmail dot com 2008-09-06 17:42 --- On the below version of gcc on cygwin (winXP SP3) i don't have any problems with optimization on or off. They

Re: [Bug tree-optimization/37312] -Os significantly faster than -O2 on test case

2008-09-01 Thread Andrew Thomas Pinski
This is mostly because of extra register moves that IRA some times introduces. There is another bug about Inline-asm and the return register. Sent from my iPhone On Sep 1, 2008, at 7:36, "rguenth at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #4 from rguenth at gcc

Re: [Bug bootstrap/37308] bootstrap hangs in libstdc++

2008-09-01 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 1, 2008, at 3:25, "paolo dot carlini at oracle dot com" <[EMAIL PROTECTED] > wrote: --- Comment #4 from paolo dot carlini at oracle dot com 2008-09-01 10:25 --- Note that the TLS check code is used in libstdc++-v3, but it's actually part of the gene

Re: [Bug middle-end/37293] [4.4 Regression] r139762 breaks libstdc++ build on darwin

2008-08-30 Thread Andrew Thomas Pinski
Sent from my iPhone On Aug 30, 2008, at 21:18, "howarth at nitro dot med dot uc dot edu" <[EMAIL PROTECTED] > wrote: --- Comment #7 from howarth at nitro dot med dot uc dot edu 2008-08-31 04:18 --- The proposed patch changes the previous compilation failure into... I will se

Re: [Bug c++/37281] New: bad code generation with enum and -m32

2008-08-29 Thread Andrew Thomas Pinski
This code is undefined as the value of 32 is outside the range of the enum. Sent from my iPhone On Aug 29, 2008, at 9:29, "gmorin1 at bloomberg dot net" <[EMAIL PROTECTED] > wrote: This is a copy of a Debian report that I made (I thought I might as well report it directly here too): htt

Re: [Bug c/37103] New: possible integer codegen bug

2008-08-12 Thread Andrew Thomas Pinski
Note for most targets not printing is correct as char is signed by default but for most powerpc targets the opposite is true. You should have explicted included signed for g_99. Sent from my iPhone On Aug 12, 2008, at 22:10, "regehr at cs dot utah dot edu" <[EMAIL PROTECTED] > wrote: Thi

Re: [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3

2008-08-11 Thread Andrew Thomas Pinski
Sent from my iPhone On Aug 11, 2008, at 0:35, "linuxl4 at sohu dot com" <[EMAIL PROTECTED] > wrote: gcc -v gcc version 4.4.0 20080810 (experimental) (GCC) g++ -DHAVE_CONFIG_H -I. -I../../../tests/cxx -I../.. -I../../.. -I../../../tests -O2 -c -o t-ops.o ../../../tests/cxx/t-ops.cc ../../.

Re: [Bug rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-*

2008-08-11 Thread Andrew Thomas Pinski
Sent from my iPhone On Aug 11, 2008, at 2:43, "rguenth at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #14 from rguenth at gcc dot gnu dot org 2008-08-11 09:43 --- With building the lirc kernel module I am also able to trogger /usr/src/packages/BUILD/lirc-0.8.

Re: [Bug c/37044] Heisenbug: SVN of gcc throws internal compiler error on PPC

2008-08-06 Thread Andrew Thomas Pinski
Sent from my iPhone On Aug 6, 2008, at 22:30, "contact at multimedia dot cx" <[EMAIL PROTECTED] > wrote: --- Comment #1 from contact at multimedia dot cx 2008-08-07 05:30 --- The same thing happens with gcc SVN-138833 (along with FFmpeg SVN 14654)-- dca.c file compilation cr

Re: [Bug ada/37038] Bogus warning from GCC

2008-08-06 Thread Andrew Thomas Pinski
Sent from my iPhone On Aug 6, 2008, at 8:39, "sam at gcc dot gnu dot org" <[EMAIL PROTECTED] > wrote: --- Comment #2 from sam at gcc dot gnu dot org 2008-08-06 15:39 --- The warning comes from a range check which is emitted by Gigi. The backend knows that this check is useles

Re: [Bug preprocessor/36906] New: #pragma GNU poison index()

2008-07-23 Thread Andrew Thomas Pinski
Try the attribute deprecated. Sent from my iPhone On Jul 22, 2008, at 23:50, "Dave at Yost dot com" <[EMAIL PROTECTED] > wrote: There should be a way to poison a symbol only when it is used as a function or macro call. I suggest that following a symbol with a pair of parentheses might be