[Bug middle-end/45325] [4.6 Regression] target attribute doesn't work with -march=i586

2010-09-23 Thread ebotcazou at gcc dot gnu dot org


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-23 06:10:37
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45325



[Bug middle-end/44763] [4.4/4.5 regression] SEGV in allocno_priority_compare_func on Solaris 8

2010-09-23 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-09-23 13:05 
---
Subject: Bug 44763

Author: ebotcazou
Date: Thu Sep 23 13:05:39 2010
New Revision: 164562

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164562
Log:
PR middle-end/44763
* ira-color.c (SORTGT): New macro, helper for qsort callbacks.
(allocno_priority_compare_func): Use it instead of a straight
difference computation over priorities.

Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/ira-color.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44763



[Bug middle-end/44763] [4.4/4.5 regression] SEGV in allocno_priority_compare_func on Solaris 8

2010-09-23 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-23 13:07 
---
Subject: Bug 44763

Author: ebotcazou
Date: Thu Sep 23 13:07:01 2010
New Revision: 164563

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164563
Log:
PR middle-end/44763
* ira-color.c (SORTGT): New macro, helper for qsort callbacks.
(allocno_priority_compare_func): Use it instead of a straight
difference computation over priorities.

Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/ira-color.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44763



[Bug middle-end/44763] [4.4/4.5 regression] SEGV in allocno_priority_compare_func on Solaris 8

2010-09-23 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-23 13:08 
---
Fixed everywhere.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44763



[Bug java/44095] [4.5/4.6 Regression] massive java failures due to -findirect-dispatch breakage on sparc64-linux

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-09-22 06:06 
---
Jakub, what do you think?  gcc.c reads:

 %Sremove all occurrences of -S from the command line.
Note - this command is position dependent.  % commands in the
spec string before this one will see -S, % commands in the
spec string after this one will not.

and the spec is gcc/java/jvspec.c:jvgenmain_spec.  I think that the above means
that 'as' shoudn't see -findirect-dispatch but your change breaks that.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44095



[Bug target/35664] unable to find a register to spill in class 'FP_REGS'

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #8 from ebotcazou at gcc dot gnu dot org  2010-09-22 08:31 
---
Subject: Bug 35664

Author: ebotcazou
Date: Wed Sep 22 08:31:14 2010
New Revision: 164512

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164512
Log:
PR target/35664
* config/sparc/constraints.md ('e'): Return NO_REGS if !TARGET_FPU.
('f'): Likewise.

Added:
trunk/gcc/testsuite/gcc.target/sparc/mnofpu.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sparc/constraints.md
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35664



[Bug target/35664] unable to find a register to spill in class 'FP_REGS'

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-09-22 08:34 
---
Subject: Bug 35664

Author: ebotcazou
Date: Wed Sep 22 08:34:11 2010
New Revision: 164513

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164513
Log:
PR target/35664
* config/sparc/constraints.md ('e'): Return NO_REGS if !TARGET_FPU.
('f'): Likewise.

Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.target/sparc/mnofpu.c
  - copied unchanged from r164512,
trunk/gcc/testsuite/gcc.target/sparc/mnofpu.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/sparc/constraints.md
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35664



[Bug target/35664] unable to find a register to spill in class 'FP_REGS'

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #10 from ebotcazou at gcc dot gnu dot org  2010-09-22 08:37 
---
Subject: Bug 35664

Author: ebotcazou
Date: Wed Sep 22 08:36:35 2010
New Revision: 164514

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164514
Log:
PR target/35664
* config/sparc/constraints.md ('e'): Return NO_REGS if !TARGET_FPU.
('f'): Likewise.

Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.target/sparc/mnofpu.c
  - copied unchanged from r164513,
trunk/gcc/testsuite/gcc.target/sparc/mnofpu.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/config/sparc/constraints.md
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35664



[Bug target/35664] unable to find a register to spill in class 'FP_REGS'

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #11 from ebotcazou at gcc dot gnu dot org  2010-09-22 08:40 
---
In 4.4.5 and up.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2010-
   ||09/msg01756.html
 Status|ASSIGNED|RESOLVED
  Known to fail|4.3.1 4.4.5 4.5.2   |4.3.1 4.4.4 4.5.2
 Resolution||FIXED
   Target Milestone|--- |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35664



[Bug middle-end/39277] Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-22 10:19 
---


*** This bug has been marked as a duplicate of 43870 ***


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||DUPLICATE
   Target Milestone|--- |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39277



[Bug bootstrap/43870] ICE in gcc/config/soft-fp/divtf3.c

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #14 from ebotcazou at gcc dot gnu dot org  2010-09-22 10:19 
---
*** Bug 39277 has been marked as a duplicate of this bug. ***


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||Michael dot Finken at me dot
   ||com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43870



[Bug java/44095] [4.5/4.6 Regression] massive java failures due to -findirect-dispatch breakage on sparc64-linux

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-22 21:15 
---
Subject: Bug 44095

Author: ebotcazou
Date: Wed Sep 22 21:14:50 2010
New Revision: 164534

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164534
Log:
PR java/44095
* config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch
is specified and the suffix of the file isn't .c.
* config/sparc/linux64.h (ASM_SPEC): Likewise.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sparc/linux.h
trunk/gcc/config/sparc/linux64.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44095



[Bug java/44095] [4.5/4.6 Regression] massive java failures due to -findirect-dispatch breakage on sparc64-linux

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-22 21:16 
---
Subject: Bug 44095

Author: ebotcazou
Date: Wed Sep 22 21:15:37 2010
New Revision: 164535

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164535
Log:
PR java/44095
* config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch
is specified and the suffix of the file isn't .c.
* config/sparc/linux64.h (ASM_SPEC): Likewise.

Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/sparc/linux.h
branches/gcc-4_5-branch/gcc/config/sparc/linux64.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44095



[Bug java/44095] [4.5/4.6 Regression] massive java failures due to -findirect-dispatch breakage on sparc64-linux

2010-09-22 Thread ebotcazou at gcc dot gnu dot org


--- Comment #8 from ebotcazou at gcc dot gnu dot org  2010-09-22 21:19 
---
Further kludged.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2010-
   ||09/msg01800.html
 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44095



[Bug target/35906] build fails when building with -m32 -mcpu=ultrasparc (sparcv9 or -mv8plus also)

2010-09-21 Thread ebotcazou at gcc dot gnu dot org


--- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-09-21 10:15 
---
Target: sparc-linux-gnu
Configured with: /home/ebotcazou/src-4.4/configure --build=sparc-linux-gnu
--prefix=/home/ebotcazou/install-4.4 --enable-languages=c,ada
--with-cpu=ultrasparc
Thread model: posix
gcc version 4.4.5 20100914 (prerelease) (GCC)


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35906



[Bug libgcj/40182] [4.4/4.5/4.6 regression] regressions in libjava testsuite on sparc-linux

2010-09-21 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-09-21 14:39 
---
Fixed on the 4.4 branch:

LAST_UPDATED: Obtained from SVN: branches/gcc-4_4-branch revision 164288

Native configuration is sparc-unknown-linux-gnu

=== libjava tests ===


Running target unix

=== libjava Summary ===

# of expected passes2574

Compiler version: gcc libjava
Platform: sparc-unknown-linux-gnu
configure flags: --build=sparc-linux-gnu --prefix=/home/ebotcazou/install-4.4
--enable-languages=c,c++,java --with-cpu=v8
BOOT_CFLAGS=-g -O2


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Known to fail|4.4.0 4.5.0 |4.4.0
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40182



[Bug ada/45394] [4.6 regression] gnat fails to build on s390, trunk 20100918

2010-09-21 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-09-21 15:09 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-21 15:09:30
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45394



[Bug java/44095] [4.5/4.6 Regression] massive java failures due to -findirect-dispatch breakage on sparc64-linux

2010-09-21 Thread ebotcazou at gcc dot gnu dot org


--- Comment #3 from ebotcazou at gcc dot gnu dot org  2010-09-21 21:45 
---
 Java is severely broken on sparc64-linux with gcc 4.5/4.6, which is a major
 regression from 4.4:
 
 http://gcc.gnu.org/ml/gcc-testresults/2010-05/msg00853.html (4.6 broken)
 http://gcc.gnu.org/ml/gcc-testresults/2010-05/msg00681.html (4.5 broken)
 http://gcc.gnu.org/ml/gcc-testresults/2010-05/msg00472.html (4.4 works)
 
 The detailed test suite logs show that _every_ -findirect-dispatch test case
 SEGFAULTs shortly after startup.
 
 I've bisected trunk and identified r155622 as the cause:
 
 Author: jakub
 Date: Mon Jan  4 16:02:41 2010
 New Revision: 155622
 
 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155622
 Log:
 PR driver/42442
 * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
 (do_self_spec): For switches with SWITCH_IGNORE set set also
 SWITCH_IGNORE_PERMANENTLY.
 (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
 of SWITCH_IGNORE.

 [...]

 The main difference is that in the working compiler, the java classes are
 assembled with -K PIC but the generated main() is not, while in the broken
 compiler both the java classes and the generated main() are assembled with -K
 PIC.

Thanks for the detailed analysis.

 I note that gcc/java/jvspec.c has %findirect-dispatch, and that PR42442 is
 about correcting the handling of %match=native.  Clearly something here
 doesn't mix well.

My interpretation is that the %findirect-dispatch for cc1 used to cancel the
effect of -findirect-dispatch for subsequent programs invoked by the driver, in
particular 'as' in this case.  Jakub's change disables this cancellation so
-findirect-dispatch is passed to 'as' and thus the kludge I put in ASM_SPEC for
Linux triggers, which breaks because cc1 hasn't compiled the file in PIC mode.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

   Last reconfirmed|2010-09-20 21:40:00 |2010-09-21 21:45:21
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44095



[Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-20 10:31 
---
Created an attachment (id=21847)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21847action=view)
Semi-reduced testcase

To be compiled at -O -mcpu=v8.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775



[Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #8 from ebotcazou at gcc dot gnu dot org  2010-09-20 21:30 
---
Subject: Bug 42775

Author: ebotcazou
Date: Mon Sep 20 21:29:48 2010
New Revision: 164458

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164458
Log:
PR rtl-optimization/42775
* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
scheduling is enabled.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgrtl.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775



[Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-09-20 21:31 
---
Subject: Bug 42775

Author: ebotcazou
Date: Mon Sep 20 21:30:35 2010
New Revision: 164460

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164460
Log:
PR rtl-optimization/42775
* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
scheduling is enabled.

Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/cfgrtl.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775



[Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #10 from ebotcazou at gcc dot gnu dot org  2010-09-20 21:31 
---
Subject: Bug 42775

Author: ebotcazou
Date: Mon Sep 20 21:31:14 2010
New Revision: 164461

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164461
Log:
PR rtl-optimization/42775
* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
scheduling is enabled.

Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/cfgrtl.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775



[Bug rtl-optimization/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #11 from ebotcazou at gcc dot gnu dot org  2010-09-20 21:35 
---
At last.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2010-
   ||09/msg01614.html
 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775



[Bug java/44095] [4.5/4.6 Regression] massive java failures due to -findirect-dispatch breakage on sparc64-linux

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-09-20 21:40 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-20 21:40:00
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44095



[Bug debug/40462] [4.5/4.6 Regression] ICE in dwarf2out_begin_epilogue, at dwarf2out.c:2773 while compiling mlib-tgt.adb

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #13 from ebotcazou at gcc dot gnu dot org  2010-09-20 21:42 
---
What's the status of this PR on RTEMS?


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40462



[Bug libgcj/40182] [4.4/4.5/4.6 regression] regressions in libjava testsuite on sparc-linux

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #3 from ebotcazou at gcc dot gnu dot org  2010-09-20 21:44 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2009-10-10 18:12:08 |2010-09-20 21:44:18
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40182



[Bug target/40668] 64-bit sparc miscompiles memcpy of argument inside switch

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #11 from ebotcazou at gcc dot gnu dot org  2010-09-20 21:46 
---
By Jakub.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.4.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40668



[Bug target/36558] V inline asm constraint not working on sparc64

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-09-20 21:59 
---
 Even though the use of the m constraint will fix this testcase, m cannot
 be used in general, because it allows the operand to be offsetable.

Right.

 The casx instruction will not tolerate an offset. According to gcc info page,
 V should be just like m, but not offsetable. Wonder why V does not work
 when m does in this case.

Because essentially all memory operands are offsettable on the SPARC.  And the
operand required by 'casx', i.e [reg], is also offsettable.

The fix is to use 'casx [%0]' instead and adjust.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36558



[Bug middle-end/39277] Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:02 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-20 22:02:51
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39277



[Bug c++/35573] internal compiler error: in reference_to_unused, at dwarf2out.c:10010

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:03 
---
No preprocessed sources.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35573



[Bug bootstrap/27133] Fails to build because of funny version of makeinfo

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #11 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:04 
---
No feedback.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27133



[Bug bootstrap/27355] bootstrap failure when merged with binutils-2.16.92

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #3 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:05 
---
Probably no.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27355



[Bug middle-end/30774] [4.3/4.4/4.5/4.6 regression] ld: fatal: too many symbols require `small' PIC references

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:07 
---
As per comment #5.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30774



[Bug middle-end/40078] passing label to inline asm i constraint generates bad code

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:12 
---
GCC 4.5 now supports asm gotos.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |RESOLVED
 Resolution||WONTFIX
   Target Milestone|--- |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40078



[Bug target/35906] build fails when building with -m32 -mcpu=ultrasparc (sparcv9 or -mv8plus also)

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:12 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-20 22:12:59
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35906



[Bug target/35664] unable to find a register to spill in class 'FP_REGS' (sparc-linux)

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:14 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-20 22:14:55
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35664



[Bug target/33034] FAIL: gcc.c-torture/unsorted/DFcmp.c SFset.c: internal compiler error: in extract_insn, at recog.c:2077

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:16 
---
Indeed fixed in 4.4.x.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33034



[Bug target/33033] FAIL: gcc.dg/20061124-1.c: undefined reference to `__sync_add_and_fetch_2'

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:17 
---
Still present.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
  Known to fail||4.4.5
   Last reconfirmed|-00-00 00:00:00 |2010-09-20 22:17:09
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33033



[Bug libfortran/36540] libgfortran compile warnings

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:18 
---
Fortran works fine.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|NEW |RESOLVED
 Resolution||WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36540



[Bug middle-end/32874] Strange global register allocation, depends on order of functions

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:20 
---
Not a bug.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |RESOLVED
 Resolution||WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32874



[Bug target/43426] dlsym: invalid version 5 (max 0)

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #3 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:21 
---
Not a GCC bug.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43426



[Bug target/31100] ASM_OUTPUT_ALIGN_WITH_NOP wrong on sparc/gas

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:28 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-20 22:28:24
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31100



[Bug middle-end/28342] undefined symbol [local label] for goto from nested function and switch

2010-09-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-09-20 22:30 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-20 22:30:27
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28342



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

2010-09-19 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-19 12:07 
---
Created an attachment (id=21834)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21834action=view)
More reduced testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43297



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

2010-09-19 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-19 12:16 
---
Fixed in latest 4.4.x snapshot:

ebotca...@grobluk:~$ gcc -v
Using built-in specs.
Target: sparc64-unknown-linux-gnu
Configured with: /home/ebotcazou/src-4.4/configure
--prefix=/home/ebotcazou/install-4.4 --enable-languages=c --with-cpu=v8
Thread model: posix
gcc version 4.4.5 20100914 (prerelease) (GCC)


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Known to work|4.3.3   |4.3.3 4.5.1 4.6.0
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43297



[Bug target/42775] sparc-linux 4.4.2 fails to rebuild itself when using STAGE1_CFLAGS=-O1

2010-09-19 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-09-19 12:19 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|ebotcazou at gcc dot gnu dot|
   |org |
 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2010-01-18 08:41:23 |2010-09-19 12:19:49
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775



[Bug target/42775] [4.4 regression] GCC fails to rebuild itself with STAGE1_CFLAGS=-O1

2010-09-19 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-19 21:58 
---
tree-ssa-operands.c:copy_virtual_operands is miscompiled by delay slot
scheduling so the workaround is to use STAGE1_CFLAGS=-O1 -fno-delayed-branch.
 Another way out is probably to configure with --disable-stage1-checking.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42775



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

2010-09-18 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-09-18 08:48 
---
Investigating.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|ebotcazou at gcc dot gnu dot|
   |org |
 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2010-07-09 10:25:26 |2010-09-18 08:48:04
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43297



[Bug testsuite/42843] --enable-build-with-cxx plugin tests fail

2010-09-18 Thread ebotcazou at gcc dot gnu dot org


--- Comment #25 from ebotcazou at gcc dot gnu dot org  2010-09-18 08:53 
---
Tentatively.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|ebotcazou at gcc dot gnu dot|
   |org |
 Status|REOPENED|RESOLVED
  Known to fail|4.5.0 4.6.0 |4.5.0
  Known to work||4.6.0
 Resolution||FIXED
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42843



[Bug ada/35194] floating point truncation error on intel platform

2010-09-18 Thread ebotcazou at gcc dot gnu dot org


--- Comment #12 from ebotcazou at gcc dot gnu dot org  2010-09-18 09:06 
---
Not a GCC bug.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35194



[Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os

2010-09-15 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-09-15 22:48 
---
Subject: Bug 45593

Author: ebotcazou
Date: Wed Sep 15 22:48:00 2010
New Revision: 164318

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164318
Log:
PR rtl-optimization/45593
* reorg.c (relax_delay_slots): Use emit_copy_of_insn_after to re-emit
insns that were in delay slots as stand-alone insns.

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/20100915-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reorg.c
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593



[Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os

2010-09-15 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-15 22:51 
---
Subject: Bug 45593

Author: ebotcazou
Date: Wed Sep 15 22:51:44 2010
New Revision: 164319

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164319
Log:
PR rtl-optimization/45593
* reorg.c (relax_delay_slots): Use emit_copy_of_insn_after to re-emit
insns that were in delay slots as stand-alone insns.

Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/20100915-1.c
  - copied unchanged from r164318,
trunk/gcc/testsuite/gcc.c-torture/compile/20100915-1.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/reorg.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593



[Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os

2010-09-15 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-15 22:57 
---
Thanks for the reduced testcase.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2010-
   ||09/msg01297.html
 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593



[Bug c/45407] internal compiler error gcc 4.5.1

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|WAITING |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-14 08:03:21
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45407



[Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|WAITING |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-14 08:03:48
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45363



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|WAITING |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-14 08:04:53
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45277



[Bug target/45407] internal compiler error gcc 4.5.1

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #11 from ebotcazou at gcc dot gnu dot org  2010-09-14 10:26 
---
Subject: Bug 45407

Author: ebotcazou
Date: Tue Sep 14 10:26:40 2010
New Revision: 164277

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164277
Log:
PR target/45277
PR target/45363
PR target/45407
* doc/install.texi (sparc*-*-*): New section.
(sparc-sun-solaris2*): Mention MPC alongside GMP and MPFR.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/install.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45407



[Bug target/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #8 from ebotcazou at gcc dot gnu dot org  2010-09-14 10:26 
---
Subject: Bug 45277

Author: ebotcazou
Date: Tue Sep 14 10:26:40 2010
New Revision: 164277

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164277
Log:
PR target/45277
PR target/45363
PR target/45407
* doc/install.texi (sparc*-*-*): New section.
(sparc-sun-solaris2*): Mention MPC alongside GMP and MPFR.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/install.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45277



[Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-09-14 10:26 
---
Subject: Bug 45363

Author: ebotcazou
Date: Tue Sep 14 10:26:40 2010
New Revision: 164277

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164277
Log:
PR target/45277
PR target/45363
PR target/45407
* doc/install.texi (sparc*-*-*): New section.
(sparc-sun-solaris2*): Mention MPC alongside GMP and MPFR.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/install.texi


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45363



[Bug target/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-09-14 10:30 
---
Reasonable workaround.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45277



[Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-14 10:30 
---
Reasonable workaround.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45363



[Bug target/45407] internal compiler error gcc 4.5.1

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #12 from ebotcazou at gcc dot gnu dot org  2010-09-14 10:30 
---
Reasonable workaround.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||WONTFIX


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45407



[Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-09-14 16:25 
---
Fixing.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|ebotcazou at gcc dot gnu dot|
   |org |
 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2010-09-08 21:13:58 |2010-09-14 16:25:22
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593



[Bug target/45670] Less efficient x86 addressing mode selection on 4.6, causes -Os size regression from 4.5

2010-09-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-09-15 05:38 
---
 It is caused by revision 162618:
 
 http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00972.html

No, it isn't, this commit reverted an incorrect change done in revision 161907.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|ebotcazou at gcc dot gnu dot|
   |org |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45670



[Bug tree-optimization/45421] [4.6 regression] Ada bootstrap failure on IRIX 6.5: SIGBUS in sem_aggr.sort_case_table

2010-09-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #10 from ebotcazou at gcc dot gnu dot org  2010-09-13 10:55 
---
Presumably re-fixed by Richard now. :-)  Reopen if not.


*** This bug has been marked as a duplicate of 45611 ***


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45421



[Bug bootstrap/45611] [4.6 regression] SIGBUS in generate_option_input_file on Solaris 2/SPARC

2010-09-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #11 from ebotcazou at gcc dot gnu dot org  2010-09-13 10:55 
---
*** Bug 45421 has been marked as a duplicate of this bug. ***


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45611



[Bug debug/43937] [4.6 regression] FAIL: gcc.dg/guality/inline-params.c

2010-09-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #3 from ebotcazou at gcc dot gnu dot org  2010-09-13 21:08 
---
Subject: Bug 43937

Author: ebotcazou
Date: Mon Sep 13 21:08:13 2010
New Revision: 164258

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164258
Log:
PR debug/43937
* varasm.c (output_constant_def_contents): Set TREE_ASM_WRITTEN on
the DECL as well.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/varasm.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43937



[Bug debug/43937] [4.6 regression] FAIL: gcc.dg/guality/inline-params.c

2010-09-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-09-13 21:10 
---
At long last.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2010-
   ||09/msg01137.html
 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43937



[Bug tree-optimization/45639] [4.6 Regression] /usr/ccs/bin/ld: Data address is out of range for short load or store

2010-09-11 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-09-11 07:10 
---
Same problem on the SPARC reported under PR45612.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-11 07:10:43
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45639



[Bug bootstrap/45611] [4.6 regression] SIGBUS in generate_option_input_file on Solaris 2/SPARC

2010-09-09 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-09-09 10:38 
---
Presumably 163997 then.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45611



[Bug bootstrap/45612] [4.6 regression] Reference to undefined label building libada no Solaris 2/SPARC

2010-09-09 Thread ebotcazou at gcc dot gnu dot org


--- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-09-09 11:09 
---
This compiled fine on 20100907 for me.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45612



[Bug tree-optimization/45421] [4.6 regression] Ada bootstrap failure on IRIX 6.5: SIGBUS in sem_aggr.sort_case_table

2010-09-09 Thread ebotcazou at gcc dot gnu dot org


--- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-09-09 12:15 
---
 Unfortunately not: bootstrap still fails as of rev. 164013.

Not very surprising given that we now have a SIGBUS on the SPARC as well...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45421



[Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915

2010-09-08 Thread ebotcazou at gcc dot gnu dot org


--- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-09-08 12:54 
---
*** Bug 45421 has been marked as a duplicate of this bug. ***


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ro at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45578



[Bug tree-optimization/45421] [4.6 regression] Ada bootstrap failure on IRIX 6.5: SIGBUS in sem_aggr.sort_case_table

2010-09-08 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-08 12:54 
---
 Unfortunately, even with your patch the mips-sgi-irix6.5 Ada bootstrap
 is still broken.

OK, thanks for testing.  Presumably fixed by Richard now, reopen if not.


*** This bug has been marked as a duplicate of 45578 ***


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45421



[Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os

2010-09-08 Thread ebotcazou at gcc dot gnu dot org


--- Comment #3 from ebotcazou at gcc dot gnu dot org  2010-09-08 21:13 
---
Confirmed for SPARC/Solaris.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   GCC host triplet|i686-pc |
 GCC target triplet|sparc-none-linux|sparc-*-*
   Last reconfirmed|-00-00 00:00:00 |2010-09-08 21:13:58
   date||
Summary|ICE on Sparc with -Os   |[4.5/4.6 regression]
   ||segfault with -Os


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593



[Bug bootstrap/45518] [4.6 regression] bootstrap failure on SPARC 64-bit

2010-09-07 Thread ebotcazou at gcc dot gnu dot org


--- Comment #8 from ebotcazou at gcc dot gnu dot org  2010-09-07 15:41 
---
Fixed on SPARC64/Solaris as well.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
  GCC build triplet|sparc64-unknown-linux-gnu   |sparc64-*-*
   GCC host triplet|sparc64-unknown-linux-gnu   |sparc64-*-*
 GCC target triplet|sparc64-unknown-linux-gnu   |sparc64-*-*
 Resolution||FIXED
Summary|[4.6 regression] bootstrap  |[4.6 regression] bootstrap
   |failure on sparc64-unknown- |failure on SPARC 64-bit
   |linux-gnu   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45518



[Bug bootstrap/45518] [4.6 regression] bootstrap failure on sparc64-unknown-linux-gnu

2010-09-06 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-06 20:33 
---
SPARC64/Solaris is also broken (but SPARC/Solaris is OK).


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-06 20:33:38
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45518



[Bug middle-end/44763] [4.4/4.5/4.6 regression] SEGV in allocno_priority_compare_func on Solaris 8

2010-09-02 Thread ebotcazou at gcc dot gnu dot org


--- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-09-02 09:26 
---
We ran into this on SPARC/Solaris 8 as well.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-02 09:26:04
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44763



[Bug testsuite/42843] --enable-build-with-cxx plugin tests fail

2010-09-02 Thread ebotcazou at gcc dot gnu dot org


--- Comment #23 from ebotcazou at gcc dot gnu dot org  2010-09-02 15:10 
---
This part:

* Makefile.in (PLUGINCC): Define as $(COMPILER).
(PLUGINCFLAGS): Define as $(COMPILER_FLAGS).

is wrong and broke again plugins testing with the C compiler on non-C99 native
platforms like Solaris 8 and 9.  The purpose of PLUGINCC is to have it
redefined for each compilation stage so that it will eventually be set to the
compiler used to compile the tested compiled; for the stage3 compiler, it
should be the stage2 compiler.  This is necessary because plugins testing uses
the auto-host.h file of the compiler used to compile the tested compiler, not
the auto-host.h file of the base compiler.  Setting it to a fixed value like
$(COMPILER_FLAGS) breaks the scheme because it's stuck to the base compiler.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
  Known to fail|4.5.0   |4.5.0 4.6.0
  Known to work|4.6.0   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42843



[Bug middle-end/45484] Invalid memory access in gcc.c-torture/execute/builtins/sprintf-chk.c

2010-09-02 Thread ebotcazou at gcc dot gnu dot org


--- Comment #20 from ebotcazou at gcc dot gnu dot org  2010-09-02 15:27 
---
 It is very likely that the stack usage change triggers this bug.

Not clear what you mean by this exactly, but I can reproduce the valgrind error
with the revision 163629 compiler.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45484



[Bug tree-optimization/45421] [4.6 regression] Ada bootstrap failure on IRIX 6.5: SIGBUS in sem_aggr.sort_case_table

2010-09-02 Thread ebotcazou at gcc dot gnu dot org


--- Comment #3 from ebotcazou at gcc dot gnu dot org  2010-09-02 21:54 
---
Recategorizing.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|ada |tree-optimization


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45421



[Bug tree-optimization/45421] [4.6 regression] Ada bootstrap failure on IRIX 6.5: SIGBUS in sem_aggr.sort_case_table

2010-09-02 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-09-02 21:59 
---
It's IVOPTS so no way to get a reduced testcase.  The analysis is for the stock
sem_aggr.adb file compiled at -O2 -gnatpg for IA-64.  We have:

table.68_174 = .builtin_alloca (D.5147_173);

with pi-align = 16

  D.5252_266 = *table.68_174;

with pi-align = 16 and then

 MEM[(struct sem_aggr__case_bounds[(size_type) PLACEHOLDER_EXPR struct
sem_aggr__case_table_type___XUP.P_BOUNDS-LB0:PLACEHOLDER_EXPR struct
sem_aggr__case_table_type___XUP.P_BOUNDS-UB0 = PLACEHOLDER_EXPR struct
sem_aggr__case_table_type___XUP.P_BOUNDS-LB0 ? (size_type) PLACEHOLDER_EXPR
struct sem_aggr__case_table_type___XUP.P_BOUNDS-UB0 : (size_type)
PLACEHOLDER_EXPR struct sem_aggr__case_table_type___XUP.P_BOUNDS-LB0 + -1]
*)D.5252_266][D.6519_896]{lb: 1 sz: 12};

is replaced with

MEM[(struct sem_aggr__case_bounds[(size_type) PLACEHOLDER_EXPR struct
sem_aggr__case_table_type___XUP.P_BOUNDS-LB0:PLACEHOLDER_EXPR struct
sem_aggr__case_table_type___XUP.P_BOUNDS-UB0 = PLACEHOLDER_EXPR struct
sem_aggr__case_table_type___XUP.P_BOUNDS-LB0 ? (size_type) PLACEHOLDER_EXPR
struct sem_aggr__case_table_type___XUP.P_BOUNDS-UB0 : (size_type)
PLACEHOLDER_EXPR struct sem_aggr__case_table_type___XUP.P_BOUNDS-LB0 + -1]
*)D.6658_890]

in IVOPTS.  And copy_ref_info reads:

  /* We can transfer points-to information from an old pointer
 or decl base to the new one.  */

But now duplicate_ssa_name_ptr_info duplicates more than the points-to info,
it also duplicates the alignment info, which is wrong for arrays since the
base decl (pointed to by D.5252_266) can be more aligned than the individual
elements (pointed to by D.6658_890).

Tentative patch (I cannot test it on IA-64 before next week):

Index: tree-ssa-loop-ivopts.c
===
--- tree-ssa-loop-ivopts.c  (revision 163745)
+++ tree-ssa-loop-ivopts.c  (working copy)
@@ -5891,8 +5891,8 @@ copy_ref_info (tree new_ref, tree old_re
   else if (TREE_CODE (new_ref) == MEM_REF)
 new_ptr_base = TREE_OPERAND (new_ref, 0);

-  /* We can transfer points-to information from an old pointer
- or decl base to the new one.  */
+  /* We can transfer points-to information from an old pointer or base decl
+ to the new one, as well as some amount of alignment information.  */
   if (new_ptr_base
TREE_CODE (new_ptr_base) == SSA_NAME
POINTER_TYPE_P (TREE_TYPE (new_ptr_base))
@@ -5901,11 +5901,18 @@ copy_ref_info (tree new_ref, tree old_re
   tree base = get_base_address (old_ref);
   if (!base)
;
-  else if ((INDIRECT_REF_P (base)
-   || TREE_CODE (base) == MEM_REF)
-   TREE_CODE (TREE_OPERAND (base, 0)) == SSA_NAME)
-   duplicate_ssa_name_ptr_info
- (new_ptr_base, SSA_NAME_PTR_INFO (TREE_OPERAND (base, 0)));
+  else if ((INDIRECT_REF_P (base) || TREE_CODE (base) == MEM_REF)
+   TREE_CODE (TREE_OPERAND (base, 0)) == SSA_NAME
+   SSA_NAME_PTR_INFO (TREE_OPERAND (base, 0)))
+   {
+ struct ptr_info_def *pi;
+ duplicate_ssa_name_ptr_info
+   (new_ptr_base, SSA_NAME_PTR_INFO (TREE_OPERAND (base, 0)));
+ pi = SSA_NAME_PTR_INFO (new_ptr_base);
+ pi-misalign
+   = -(TYPE_ALIGN (TREE_TYPE (new_ref)) / BITS_PER_UNIT)
+  (pi-align - 1);
+   }
   else if (TREE_CODE (base) == VAR_DECL
   || TREE_CODE (base) == PARM_DECL
   || TREE_CODE (base) == RESULT_DECL)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45421



[Bug rtl-optimization/45353] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -fselective-scheduling and __builtin_unreachable()

2010-09-01 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-09-01 12:24 
---
Subject: Bug 45353

Author: ebotcazou
Date: Wed Sep  1 12:24:35 2010
New Revision: 163731

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163731
Log:
Backport from mainline
2010-08-20  Jakub Jelinek  ja...@redhat.com

PR rtl-optimization/45353
* sel-sched-ir.c (sel_bb_head): Return NULL even if next_nonnote_insn
after bb_note is a BARRIER.

Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/sel-sched-ir.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45353



[Bug middle-end/45484] r163660 ICEs gcc.c-torture/execute/builtins/sprintf-chk.c compilation, -Os at -m32

2010-09-01 Thread ebotcazou at gcc dot gnu dot org


--- Comment #3 from ebotcazou at gcc dot gnu dot org  2010-09-01 20:57 
---
 Original patch submitted with
 http://gcc.gnu.org/ml/gcc-patches/2010-08/msg00440.html.

I think I can prove that my patch doesn't affect code generation, except
possibly on the SPARC, so I'm a little skeptical about your diagnosis.  Are you
sure it's not r163679 instead?

 Test cases added with http://gcc.gnu.org/ml/gcc-patches/2010-08/msg00503.html.

I'll adjust them for Darwin.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45484



[Bug rtl-optimization/45353] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -fselective-scheduling and __builtin_unreachable()

2010-08-31 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-08-31 11:52 
---
Subject: Bug 45353

Author: ebotcazou
Date: Tue Aug 31 11:52:01 2010
New Revision: 163670

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163670
Log:
Backport from mainline
2010-08-20  Jakub Jelinek  ja...@redhat.com

PR rtl-optimization/45353
* sel-sched-ir.c (sel_bb_head): Return NULL even if next_nonnote_insn
after bb_note is a BARRIER.

Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/sel-sched-ir.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45353



[Bug rtl-optimization/45353] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -fselective-scheduling and __builtin_unreachable()

2010-08-31 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-08-31 11:53 
---
On the 4.5 branch as well.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45353



[Bug rtl-optimization/45434] x86 missed optimization: use high register (ah, bh, ch, dh) when available to make comparisons

2010-08-29 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-08-29 19:12 
---
 Combine seems to prefer LSHIFTRT over ZERO_EXTRACT.

The former is the canonical form of the latter for internal computations, but
the latter should be reinstantiated when matching instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45434



[Bug rtl-optimization/45353] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -fselective-scheduling and __builtin_unreachable()

2010-08-28 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-08-28 13:58 
---
The same fix is needed on the 4.5 branch.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|RESOLVED|UNCONFIRMED
 Resolution|FIXED   |
   Target Milestone|--- |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45353



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-27 Thread ebotcazou at gcc dot gnu dot org


--- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-08-27 14:02 
---
 make check: OK for GMP but fails for MPFR
 
 Solution: build GMP, MPFR and MPC separately and add --with-... to configure
 gcc.
 Note: GMP must be build for 32 bits, i.e. set env var ABI=32

Yes, or else configure with --build=... as documented in
  http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2

Could you quickly sum up what you've found, i.e. which versions of GMP/MPFR are
miscompiled by which versions of GCC and which versions are correctly compiled
by which versions of the compiler?  Thanks in advance.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45277



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-27 Thread ebotcazou at gcc dot gnu dot org


--- Comment #9 from ebotcazou at gcc dot gnu dot org  2010-08-27 14:36 
---
 I successfully built gcc on Solaris 10
 using these versions of gmp/mpfr/mpc:
 
 gmp 4.3.2
 mpfr 2.4.2
 mpc 0.8.1
 
 The instructions on the prerequisites.html page you reference below say
 to use those versions (or later).  I'd recommend listing what
 versions you have tested gcc with and say simply that other versions
 haven't been tested.

Thanks for your feedback.  I'm going to add a blurb to the platform-specific
instructions.

 I originally used the latest version of those three libraries:
 
 gmp 5.0.1
 mpfr 3.0.0
 mpc 0.8.2
 
 Those three libraries _will_ work when building gcc on Linux or AIX--but
 not Solaris (you get the internal compiler error message in the bug  
 report I originally
 submitted).
 
 I  tried various combinations as well on Solaris (e.g. gmp 4.3.2, mpfr  
 2.4.2, and mpc 0.8.2),
 but only using the three earlier versions (gmp 4.3.2, mpfr 2.4.2, mpc  
 0.8.1) worked.

Do you confirm that going from MPC 0.8.1 to 0.8.2 alone is problematic with GCC
4.1.2 as the base compiler?


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

  GCC build triplet||sparc-sun-solaris2.*
   GCC host triplet||sparc-sun-solaris2.*
 GCC target triplet||sparc-sun-solaris2.*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45407



[Bug ada/45421] [4.6 regression] Ada bootstrap failure on IRIX 6.5: SIGBUS in sem_aggr.sort_case_table

2010-08-27 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-08-27 16:00 
---
I can confirm something similar (an unaligned access) on IA64/Linux:

(botca...@tinto) /nile.build/botcazou/gcc-head/ia64-unknown-linux-gnu $
gcc/gnat1 -quiet assert1.adb -I gcc/ada/rts
gnat1(32495): unaligned access to 0x6fffa55c, ip=0x405e8cc1
gnat1(32495): unaligned access to 0x6fffa574, ip=0x405e8cc1
gnat1(32495): unaligned access to 0x6fffa58c, ip=0x405e8cc1
gnat1(32495): unaligned access to 0x6fffa55c, ip=0x405e8cc1

The address points to:

Breakpoint 1, sem_aggr.sort_case_table (component_typ=72)
at /nile.build/botcazou/gcc-head/src/gcc/ada/sem_aggr.adb:3974
3974 T := Case_Table (K + 1);

It started to fail on 08/12 according to:
  http://gcc.gnu.org/ml/gcc-testresults/2010-08/msg01253.html
  http://gcc.gnu.org/ml/gcc-testresults/2010-08/msg01253.html

Likely triggered/exposed by:

2010-08-12  Richard Guenther  rguent...@suse.de

* tree-flow.h (struct ptr_info_def): Add align and misalign fields.
* tree-ssa-alias.c (get_ptr_info): Move ...
* tree-ssanames.c (get_ptr_info): ... here.  Initialize
align and misalign fields conservatively.
* tree-ssa-ccp.c (ccp_finalize): From partially constant pointers
derive alignment information.
(evaluate_stmt): Derive alignment information from memory
allocation functions.
* tree.h (get_pointer_alignment): Make unsigned.
* builtins.c (get_object_alignment): Use alignment information we
have computed for pointers.
(get_pointer_alignment): Likewise.  Make conservative, return
and unsigned value.
(expand_builtin_strlen): Adjust.
(expand_builtin_memcmp): Likewise.
(expand_builtin_strcmp): Likewise.
(expand_builtin_strncmp): Likewise.
(get_builtin_sync_mem): Use at least mode alignment.
(fold_builtin_memset): Adjust.
(fold_builtin_memory_op): Likewise.
* gimple-pretty-print.c (dump_gimple_phi): Alongside alias
information also dump pointer alignment knowledge.
(dump_gimple_stmt): Likewise.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-08-27 16:00:30
   date||
Summary|[4.6 regression] Ada|[4.6 regression] Ada
   |bootstrap failure on IRIX   |bootstrap failure on IRIX
   |6.5: SEGV in|6.5: SIGBUS in
   |sem_aggr.sort_case_table|sem_aggr.sort_case_table


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45421



[Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4

2010-08-27 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-08-27 16:31 
---
Gerald, we have problems with the third-party libraries (GMP,MPFR,MPC) on the
SPARC, newer versions are miscompiled by earlier versions of GCC.  So I'd
suggest to stick to the minimal versions listed in:
  http://gcc.gnu.org/install/prerequisites.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45363



[Bug ada/45421] [4.6 regression] Ada bootstrap failure on IRIX 6.5: SIGBUS in sem_aggr.sort_case_table

2010-08-27 Thread ebotcazou at gcc dot gnu dot org


--- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-08-27 16:01 
---
Investigating on IA-64.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|ebotcazou at gcc dot gnu dot|
   |org |
 AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2010-08-27 16:00:30 |2010-08-27 16:01:34
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45421



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-25 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-08-25 18:41 
---
Please _attach_ the preprocessed file.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45407



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-25 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-08-25 19:14 
---
Thanks, but I cannot reproduce the problem.

Which stage of the bootstrap is this?  What base compiler do you use?  Note
that
recent versions of GMP/MPFR are miscompiled on this platform by older versions
of GCC, I'd suggest to stick to the recommended versions:
  http://gcc.gnu.org/install/prerequisites.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45407



[Bug c/45407] internal compiler error gcc 4.5.1

2010-08-25 Thread ebotcazou at gcc dot gnu dot org


--- Comment #7 from ebotcazou at gcc dot gnu dot org  2010-08-25 20:07 
---
 I did notice that the SUNWspro compilers were used to compile
 the latest versions of mpfr  mpc we use. Should I try re-compiling
 mpfr and mpc with gcc and then rebuilding gcc 4.5.1?

The problematic ones are GMP and MPFR.  You should run 'make check' in the
build dir once you have compiled them.

 I am using the latest versions of mpfr (3.0.0) and mpc (0.8.2).
 I didn't see anything in:
 
 http://gcc.gnu.org/install/prerequisites.html
 
 about certain gcc versions miscompiling either of those packages.

Yes, but we cannot test all combinations of libraries so sticking with the
recommended versions is the safest approach.  These are regularly tested in
conjunction with the compiler.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45407



[Bug target/45363] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4

2010-08-20 Thread ebotcazou at gcc dot gnu dot org


--- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-08-20 22:00 
---
It looks like the cc1 compiler is miscompiled.  Which stage of the bootstrap is
this?  Could you post a backtrace of cc1 from within gdb when it executes the
illegal instruction?  Is that a recent problem on the 4.5 branch?


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |WAITING
Version|4.5.3   |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45363



[Bug target/45206] [4.6 regression] ICE on __builtin_eh_return at -Os

2010-08-14 Thread ebotcazou at gcc dot gnu dot org


--- Comment #8 from ebotcazou at gcc dot gnu dot org  2010-08-14 14:01 
---
Recategorizing after:

2010-08-12  H.J. Lu  hongjiu...@intel.com
Uros Bizjak  ubiz...@gmail.com

* config.gcc: Handle --enable-frame-pointer.

* configure.ac: Add --enable-frame-pointer.
* configure: Regenerated.

* config/i386/i386.c (USE_IX86_FRAME_POINTER): Default to 0.
(override_options): If not configured with --enable-frame-pointer,
enable -fomit-frame-pointer (but not for TARGET_MACHO or when
optimizing for size), -fasynchronous-unwind-tables and
-maccumulate-outgoing-args by default.

The option -Os (or -mno-accumulate-outgoing-args) is now needed:

e...@new-host:~/gnat/gnat-head/native32 gcc/xgcc -Bgcc -S pr45206.c -Os
pr45206.c: In function '_Unwind_RaiseException':
pr45206.c:8:1: internal compiler error: in ix86_expand_epilogue, at
config/i386/i386.c:10177
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|blocker |major
  Component|bootstrap   |target
  GCC build triplet|i586-*-*|ix86-*-*
   GCC host triplet|i586-*-*|ix86-*-*
 GCC target triplet|i586-*-*|ix86-*-*
   Last reconfirmed|2010-08-06 11:06:16 |2010-08-14 14:01:27
   date||
Summary|[4.6 regression] ICE in |[4.6 regression] ICE on
   |ix86_expand_epilogue|__builtin_eh_return at -Os
   |compiling libgcc|


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45206



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #1 from ebotcazou at gcc dot gnu dot org  2010-08-13 12:01 
---
Please run 'make check' for GMP and MPFR.  Recent versions are miscompiled by
older versions of GCC on this platform.  I'd suggest sticking to the versions
listed in http://gcc.gnu.org/install/prerequisites.html.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45277



[Bug fortran/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-08-13 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-08-13 17:16 
---
 But I link GMP and MPFR into GCC source tree, how to make check on 
 these? perhaps:
cd objdir/gcc-4.5.1/gmp ; make check
cd objdir/gcc-4.5.1/mpfr ; make check

Yes, run make check in the build dir of GMP and MPFR.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45277



  1   2   3   4   5   6   7   8   9   10   >