[Bug bootstrap/43296] New: .../gcc-4.4.0/gcc/ada/gcc-interface/Make-lang.in:305 *** multiple target patterns. Stop. -- Issue when trying to build compiler

2010-03-08 Thread jewright at textron dot com
I have tried building both gcc-4.4.0 and gcc-4.4.4 and everytime I am running into the same error ".../gcc-4.4.0/gcc/ada/gcc-interface/Make-lang.in:305 *** multiple target patterns. Stop." I am trying to compile gcc(fortran and c) using cygwin. I first download gcc-4.4.4.tar.bz2 and then extract al

[Bug bootstrap/43296] .../gcc-4.4.0/gcc/ada/gcc-interface/Make-lang.in:305 *** multiple target patterns. Stop. -- Issue when trying to build compiler

2010-03-08 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2010-03-08 20:51 --- You need to ./configure the toplevel dir, not the gcc subir. See instructions. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43104] Incorrect code generation for target mcu ATMega164P

2010-03-08 Thread eric dot weddington at atmel dot com
--- Comment #1 from eric dot weddington at atmel dot com 2010-03-08 20:56 --- I cannot reproduce the problem. Used this command line: avr-gcc -save-temps -O0 -mmcu=atmega164p -c test.c -o test.o Generated this assembly: .file "test.c" __SREG__ = 0x3f __SP_H__ = 0x3e __SP_L_

[Bug tree-optimization/43297] New: [4.3 regression] sparc64 -O2 -fPIC breaks htmlnorm.c

2010-03-08 Thread edwintorok at gmail dot com
On sparc64 gcc 4.4.1 -O3 -fPIC breaks ClamAV's htmlnorm.c. To reproduce bug: $ /opt/cfarm/release/4.4.1/bin/gcc -O3 -fPIC hh.c $ ./a.out Aborted On the attached testcase -O2 -fPIC breaks too (on ClamAV's htmlnorm only -O3 breaks): $ /opt/cfarm/release/4.4.1/bin/gcc -O2 -fPIC hh.c $ ./a.out Aborte

[Bug other/43295] zlib: two C++ member functions could be marked const

2010-03-08 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2010-03-08 21:02 --- zlib is not maintained as part of gcc -- it is just imported into the tree for convenience. As such we minimize the changes we make to zlib. A change like this one should be reported to the real zlib maintainers. --

[Bug tree-optimization/43297] [4.3 regression] sparc64 -O2 -fPIC breaks htmlnorm.c

2010-03-08 Thread edwintorok at gmail dot com
--- Comment #1 from edwintorok at gmail dot com 2010-03-08 21:03 --- Created an attachment (id=20046) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20046&action=view) testcase Testcase (partially) reduced with delta. Could probably be reduced further. -- http://gcc.gnu.org/bu

[Bug debug/43293] Invalid unwind info for i?86 -fpic

2010-03-08 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-03-08 21:03 --- Created an attachment (id=20047) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20047&action=view) gcc45-pr43293.patch So far untested fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43293

[Bug debug/43293] Invalid unwind info for i?86 -fpic

2010-03-08 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-03-08 21:07 --- On the: int i; static int j; extern int bar (void); int foo (void) { return i + j + bar (); } testcase with -fexceptions -O2 -mtune=generic -dA -m32 -fpic the difference is: @@ -14,9 +14,9 @@ foo: .cfi_def_cf

[Bug tree-optimization/43297] [4.4 regression] -O2 -fPIC breaks htmlnorm.c

2010-03-08 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2010-03-08 21:09 --- If it works with 4.3.x then this is not a 4.3 regression. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libfortran/43298] New: fortran library does not read in NaN -Inf or Inf

2010-03-08 Thread jjcogliati-r1 at yahoo dot com
As I understand it, fortran should be able to read in a NaN or Inf value. See 10.6.1.2.1 F editing in the Fortran 2003 specification. This is a new Fortran 2003 feature and is not in the Fortran 95 specification. gfortran properly prints out the NaN values, but cannot read them in, thus causing t

[Bug target/43104] Incorrect code generation for target mcu ATMega164P

2010-03-08 Thread smal dot root at gmail dot com
--- Comment #2 from smal dot root at gmail dot com 2010-03-08 21:15 --- (In reply to comment #1) > I cannot reproduce the problem. > >c: 80 91 00 00 lds r24, 0x Its mean load data from SRAM at address 0x. Variable (in our case mUsart0BufferReadPtr) has address not

[Bug libfortran/43298] fortran library does not read in NaN -Inf or Inf

2010-03-08 Thread jjcogliati-r1 at yahoo dot com
--- Comment #1 from jjcogliati-r1 at yahoo dot com 2010-03-08 21:17 --- program should be: (both exhibit the bug though, but this works if bug is not present) program nan_test implicit none character(15) :: nan = ' NAN -INF INF' real :: a,b,c, d = 0.0 print ('(3F5.2

[Bug target/43104] Incorrect code generation for target mcu ATMega164P

2010-03-08 Thread eric dot weddington at atmel dot com
--- Comment #3 from eric dot weddington at atmel dot com 2010-03-08 21:35 --- (In reply to comment #2) > (In reply to comment #1) > > I cannot reproduce the problem. > > > >c: 80 91 00 00 lds r24, 0x > > Its mean load data from SRAM at address 0x. Variable (in ou

[Bug target/43104] Incorrect code generation for target mcu ATMega164P

2010-03-08 Thread smal dot root at gmail dot com
--- Comment #4 from smal dot root at gmail dot com 2010-03-08 21:49 --- > I still cannot reproduce the error you got >>lds r24, 0x that is error! address of variable is NULL. Address of volatile uint8_t SomeVariable cant be NULL in any case. -- Data Memory Map for ATmega1

[Bug middle-end/43274] [4.5 regression] Revision 157244 failed libgomp.graphite/force-parallel-2.c

2010-03-08 Thread spop at gcc dot gnu dot org
--- Comment #1 from spop at gcc dot gnu dot org 2010-03-08 22:49 --- Hi, is this fail on i686-linux? On x86_64-unknown-linux-gnu I see no fails in libgomp/ for graphite.exp . Sebastian -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43274

[Bug tree-optimization/39604] [4.3/4.4/4.5 Regression] tree-ssa-sink breaks stack layout

2010-03-08 Thread pinskia at gcc dot gnu dot org
--- Comment #22 from pinskia at gcc dot gnu dot org 2010-03-08 22:50 --- This is the same as bug 39509. *** This bug has been marked as a duplicate of 39509 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/39509] [4.3/4.4/4.5 Regression] bad optimization(?) pure virtual function call with -O2

2010-03-08 Thread pinskia at gcc dot gnu dot org
--- Comment #20 from pinskia at gcc dot gnu dot org 2010-03-08 22:50 --- *** Bug 39604 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/43274] [4.5 regression] Revision 157244 failed libgomp.graphite/force-parallel-2.c

2010-03-08 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-03-08 22:54 --- It was fixed between revision 157277 and revision 157292. -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug middle-end/41334] gcc.dg/graphite/run-id-1.c fails execution test

2010-03-08 Thread spop at gcc dot gnu dot org
--- Comment #3 from spop at gcc dot gnu dot org 2010-03-08 22:59 --- Hi Jack, is gcc.dg/graphite/run-id-1.c still failing on x86_64-apple-darwin10 or has it been fixed since then? Thanks, Sebastian -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41334

[Bug rtl-optimization/42216] [4.5 Regression] changes in scheduling regress 464.h264ref 20%

2010-03-08 Thread bernds_cb1 at t-online dot de
--- Comment #23 from bernds_cb1 at t-online dot de 2010-03-08 23:04 --- Created an attachment (id=20048) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20048&action=view) Alternative fix for 42220 If you wouldn't mind, please test the attached patch which should be an alternative f

[Bug middle-end/42220] [4.5 Regression] FAIL: gfortran.dg/complex_intrinsic_5.f90 -m64 -O -frename-registers

2010-03-08 Thread bernds_cb1 at t-online dot de
--- Comment #49 from bernds_cb1 at t-online dot de 2010-03-08 23:06 --- This fix caused a SPEC regression (see bug 42216). Could you test the patch I attached to #42216, on top of current mainline, to see whether it does not cause your problem to reappear? -- http://gcc.gnu.org/bug

[Bug middle-end/41334] gcc.dg/graphite/run-id-1.c fails execution test

2010-03-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2010-03-08 23:07 --- I don't see the failures on x86_64-apple-darwin10 on recent gcc trunk... http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg00487.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41334

[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #14 from howarth at nitro dot med dot uc dot edu 2010-03-08 23:09 --- Is this issue to be fixed for gcc 4.5? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42181

[Bug tree-optimization/42729] [4.5 Regression] "-fcompare-debug failure" with "-O1 -fgraphite-identity"

2010-03-08 Thread spop at gcc dot gnu dot org
--- Comment #4 from spop at gcc dot gnu dot org 2010-03-08 23:09 --- Ok, then let's close this PR. -- spop at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41334] gcc.dg/graphite/run-id-1.c fails execution test

2010-03-08 Thread spop at gcc dot gnu dot org
--- Comment #5 from spop at gcc dot gnu dot org 2010-03-08 23:10 --- Ok, then let's close this PR. -- spop at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42729] [4.5 Regression] "-fcompare-debug failure" with "-O1 -fgraphite-identity"

2010-03-08 Thread spop at gcc dot gnu dot org
--- Comment #5 from spop at gcc dot gnu dot org 2010-03-08 23:10 --- Sorry, I didn't meant this. -- spop at gcc dot gnu dot org changed: What|Removed |Added S

[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-08 Thread spop at gcc dot gnu dot org
--- Comment #15 from spop at gcc dot gnu dot org 2010-03-08 23:16 --- Yes. I think it is important to understand what is miscompiled with the graphite identity. I will try to reduce this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42181

[Bug target/43104] Incorrect code generation for target mcu ATMega164P

2010-03-08 Thread eric dot weddington at atmel dot com
--- Comment #5 from eric dot weddington at atmel dot com 2010-03-08 23:26 --- (In reply to comment #4) > > I still cannot reproduce the error > you got > >>lds r24, 0x > that is error! Take a look at the generated assembly. 3 accesses to the same variable. The disassembly shows

[Bug c++/43282] GCC looks into dependent bases during unqualified lookup

2010-03-08 Thread schaub-johannes at web dot de
--- Comment #7 from schaub-johannes at web dot de 2010-03-08 23:41 --- I've digged this up from an early draft ('96: http://ra.dkuug.dk/JTC1/SC22/WG21/docs/wp/txt/jun96/body.txt), '98 and '03). Each has different rules. In fact, C++98 would accept comment#3's code. - '96pre-standard sa

[Bug bootstrap/43299] New: Subversion id 157264 breaks powerpc 64-bit bootstraps

2010-03-08 Thread meissner at gcc dot gnu dot org
Unless you use BOOT_CFLAGS='-g -O2 -fno-var-tracking', the change Jakub made on March 7th, 2010 breaks the powerpc 64-bit bootstrap. Here is the error message: /tmp/cckGWIfy.s: Assembler messages: /tmp/cckGWIfy.s:117666: Error: junk at end of line, first unrecognized character is `@' /tmp/cckGWIfy

[Bug bootstrap/43299] [4.5 Regression] Subversion id 157264 breaks powerpc 64-bit bootstraps

2010-03-08 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||assemble-failure Summary|Subversion id 157264 breaks |[4.5

[Bug bootstrap/43299] [4.5 Regression] Subversion id 157264 breaks powerpc 64-bit bootstraps

2010-03-08 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-03-09 00:14 --- Could you please attach rs6000.i and what gcc options were used to compile it? Would save me time building it tomorrow, I could jump straight to debugging. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4

[Bug rtl-optimization/43300] New: ICE: in emit_move_insn, at expr.c:3432 with -Os -fgraphite-identity

2010-03-08 Thread zsojka at seznam dot cz
Testcase is: gcc.c-torture/compile/pr33614.c with compiler parameters -Os -fgraphite-identity -- pr33614.c -- typedef float V2SF __attribute__ ((vector_size (8))); V2SF foo (int x, V2SF a) { while (x--) a += (V2SF) {1.0f/0.0f - 1.0f/0.0f, 1.0f/0.0f - 1.0f/0.0f}; return a; } --

[Bug middle-end/43300] [4.5 Regression] ICE: in emit_move_insn, at expr.c:3432 with -Os -fgraphite-identity

2010-03-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-03-09 00:34 --- As far as I can tell this is an out of SSA issue here is a testcase which will fail on every target I know of: typedef float V2SF __attribute__ ((vector_size (128))); V2SF foo (int x, V2SF a) { while (x--) a +

[Bug middle-end/43300] [4.5 Regression] ICE: in emit_move_insn, at expr.c:3432 with -Os -fgraphite-identity

2010-03-08 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-03-09 00:36 --- insert_partition_copy_on_edge does not take into account the mode being BLKmode for SSA_NAMEs. This is only true with vector types. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43300

[Bug middle-end/43300] [4.5 Regression] ICE: in emit_move_insn, at expr.c:3432

2010-03-08 Thread spop at gcc dot gnu dot org
--- Comment #3 from spop at gcc dot gnu dot org 2010-03-09 00:49 --- Ok, so then this is not related to Graphite. I'm removing the Graphite flag from the subject. -- spop at gcc dot gnu dot org changed: What|Removed |Added -

[Bug bootstrap/43301] New: top-level configure script ignores ---with-build-time-tools

2010-03-08 Thread scovich at gmail dot com
./configure ... --with-build-time-tools=$MY_TOOLS ignores $MY_TOOLS (though it correctly warns when $MY_TOOLS is not an absolute path). Let's just say this led to extremely frustrating behavior until I decided to start digging... Suggested patch to correct the problem: Index: /home/Ryan/apps/gcc

[Bug target/43104] Incorrect code generation for target mcu ATMega164P

2010-03-08 Thread smal dot root at gmail dot com
--- Comment #6 from smal dot root at gmail dot com 2010-03-09 01:02 --- Well, I will make necessary tests -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43104

[Bug bootstrap/43301] top-level configure script ignores ---with-build-time-tools

2010-03-08 Thread scovich at gmail dot com
--- Comment #1 from scovich at gmail dot com 2010-03-09 01:04 --- (In reply to comment #0) > Let's just say this led to extremely frustrating behavior until I decided to > start digging... To be more specific, the gcc/as wrapper is generated with: ORIGINAL_AS_FOR_TARGET="" ORIGINAL_LD_

[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty

2010-03-08 Thread paolo at gcc dot gnu dot org
--- Comment #15 from paolo at gcc dot gnu dot org 2010-03-09 01:56 --- Subject: Bug 41975 Author: paolo Date: Tue Mar 9 01:56:42 2010 New Revision: 157300 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157300 Log: 2010-03-08 Paolo Carlini Revert: 2010-02-11

[Bug libstdc++/41975] [C++0x] [DR579] unordered_set::erase performs worse when nearly empty

2010-03-08 Thread paolo dot carlini at oracle dot com
--- Comment #16 from paolo dot carlini at oracle dot com 2010-03-09 01:59 --- I reverted my changes and re-opened the PR: DR 579 is being resolved as NAD, because there is evidence (eg, the Dinkumware implementation) that returning an iterator doesn't necessarily impact performance. -

[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #16 from howarth at nitro dot med dot uc dot edu 2010-03-09 02:26 --- The miscompiled code in air.f90 is the subroutine SPECTOP. If I pull that subroutine out into a separate file and compile it at -O3 without -fgraphite-identity, the remainder of the code can be compiled wi

[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #17 from howarth at nitro dot med dot uc dot edu 2010-03-09 02:34 --- Created an attachment (id=20049) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20049&action=view) assembly for spectop subroutine compiled at -O2 on x86_64-apple-darwin10 -- http://gcc.gnu.org/b

[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #18 from howarth at nitro dot med dot uc dot edu 2010-03-09 02:35 --- Created an attachment (id=20050) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20050&action=view) assembly for spectop subroutine compiled at -graphite-identity -O2 on x86_64-apple-darwin10 -- h

[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #19 from howarth at nitro dot med dot uc dot edu 2010-03-09 02:37 --- Created an attachment (id=20051) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20051&action=view) diff between assembly for spectop subroutine at -O2 without and with -fgraphite-identity -- http

[Bug c++/33409] Overload Resolution Succeeds When Actually Ambiguous.

2010-03-08 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-03-09 02:38 --- This is a bug: G++ fails to consider the built-in operator%(long,long) because double is not an integral type. -- jason at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libfortran/43298] fortran library does not read in NaN -Inf or Inf

2010-03-08 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2010-03-09 02:38 --- Confirmed. In io/read.c we have: /* TODO: handle not-a-numbers and infinities. */ I will take this on. But it is back burner to some other issues. -- jvdelisle at gcc dot gnu dot org changed:

[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #20 from howarth at nitro dot med dot uc dot edu 2010-03-09 03:45 --- The offending optimization for the spectop subroutine at -O2 -fgraphite-identity appears to be -fstrict-overflow. I can compile... gfortran -fgraphite-identity -O3 -fno-strict-overflow -c spectop.f90 gfor

[Bug middle-end/42181] [4.5 Regression][graphite] -fgraphite-identity miscompiles air.f90

2010-03-08 Thread howarth at nitro dot med dot uc dot edu
--- Comment #21 from howarth at nitro dot med dot uc dot edu 2010-03-09 03:48 --- Interestingly, I get... gfortran -fgraphite-identity -O3 -Wstrict-overflow=5 -c spectop.f90 spectop.f90: In function ‘spectop’: spectop.f90:5:0: warning: assuming signed overflow does not occur when chang

[Bug ada/42068] [4.5 regression] ICE in function_and_variable_visibility

2010-03-08 Thread rupp at gnat dot com
--- Comment #38 from rupp at gnat dot com 2010-03-09 05:20 --- I patched gnatpro gcc-head snapshot from 20100307 with "ppa" (less ada bits) as instructed in comment #33, and it bootstraps fine on alphaev67-dec-osf5.1b, also compiles p.ad[bs] aka "p.txt" -- http://gcc.gnu.org/bugzill

[Bug libfortran/43298] fortran library does not read in NaN -Inf or Inf

2010-03-08 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-03-09 07:24 --- Quoting the standard. Note especially that also "NaN(optional)" is valid: "(1) On input, leading blanks are not significant. When the input field is not an IEEE exceptional specification (10.6.1.2.1), the interpretat

<    1   2