Re: Feature request: Attribute to delay evaluation of function argument

2012-11-04 Thread Clinton Mead
On Sun, Nov 4, 2012 at 12:33 PM, Oleg Endo oleg.e...@t-online.de wrote: On Sun, 2012-11-04 at 11:02 +1100, Clinton Mead wrote: Hi All This is a feature request. To explain, lets say I want to create a TriBool type, like so: enum TriBool { False, True, Unknown }; I now want to implement

Re: calculation of pi

2012-11-04 Thread Mischa Baars
On 11/04/2012 02:45 AM, Ian Lance Taylor wrote: On Sat, Nov 3, 2012 at 12:55 AM, Mischa Baars mjbaars1...@gmail.com wrote: On 11/02/2012 07:11 PM, Ian Lance Taylor wrote: On Fri, Nov 2, 2012 at 8:13 AM, Mischa Baars mjbaars1...@gmail.com wrote: I have been writing this piece of example code,

Re: calculation of pi

2012-11-04 Thread David Brown
On 04/11/12 10:34, Mischa Baars wrote: On 11/04/2012 02:45 AM, Ian Lance Taylor wrote: On Sat, Nov 3, 2012 at 12:55 AM, Mischa Baars mjbaars1...@gmail.com wrote: On 11/02/2012 07:11 PM, Ian Lance Taylor wrote: On Fri, Nov 2, 2012 at 8:13 AM, Mischa Baars mjbaars1...@gmail.com wrote: I have

Re: Feature request: Attribute to delay evaluation of function argument

2012-11-04 Thread Oleg Endo
On Sun, 2012-11-04 at 18:08 +1100, Clinton Mead wrote: Hi Oleg Could you explain how you get around the following: (1) Doesn't the non-overloaded operator return 'bool', not 'TriBool'? Yes, by default it takes bool on both sides and returns bool. How can it be made to return 'TriBool'?

Re: Bugzilla new bug page

2012-11-04 Thread Gerald Pfeifer
On Thu, 18 Oct 2012, Jonathan Wakely wrote: That PR now has a link to a mocked up bugzilla page: http://www.kayari.plus.com/gcc/enter_bug.cgi-1.html which I think would be a significant improvement, without getting in the way or being an eyesore. Do any other maintainers have an opinion on

Re: GCC 4.8.0 Status Report (2012-10-29), Stage 1 to end soon

2012-11-04 Thread Richard Biener
On Thu, Nov 1, 2012 at 2:10 PM, Richard Sandiford rdsandif...@googlemail.com wrote: Kenneth Zadeck zad...@naturalbridge.com writes: I would like you to respond to at least point 1 of this email. In it there is code from the rtl level that was written twice, once for the case when the size of

Re: [help]failed to generate PHI NODE in esra pass.

2012-11-04 Thread Martin Jambor
Hi, On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote: Hi, all I do the research of min max instructions recently. I find it is related with phiopt. case1: int foo(short a ,short b) {   if (a b)     a = b;     return a; } It is successed in pass phiopt1(-O2 with gcc

Minor tweak to make_extraction

2012-11-04 Thread Eric Botcazou
make_extraction can be passed the position either as a HOST_WIDE_INT or as a RTX, and canonicalizes to the former if the latter is CONST_INT_P. But this is done slightly too late for one of the supported cases. Tested on x86_64-suse-linux, applied on the mainline. 2012-11-04 Eric Botcazou

LRA best_reload_nregs

2012-11-04 Thread David Miller
Unlike the other variables that track the state of the current instruction being analyzed by the LRA constraints code, I don't see anything which initializes best_reload_nregs when we start looking at a new instruction.

gcc-4.8-20121104 is now available

2012-11-04 Thread gccadmin
Snapshot gcc-4.8-20121104 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.8-20121104/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Re: GCC Phoning Home

2012-11-04 Thread Alexandre Oliva
On Nov 3, 2012, Bruce Korb bruce.k...@gmail.com wrote: I have realized that it would be real useful to know which fixinclude fixes are actually in use so that old cruft can get retired. Since nobody at all has direct access to all the actively maintained platforms, it makes it difficult to

答复: [help]failed to generate PHI NODE in esra pass.

2012-11-04 Thread Yangyueming
I know it , thanks. -邮件原件- 发件人: Martin Jambor [mailto:mjam...@suse.cz] 发送时间: 2012年11月5日 6:14 收件人: Yangyueming 抄送: gcc@gcc.gnu.org 主题: Re: [help]failed to generate PHI NODE in esra pass. Hi, On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote: Hi, all I do the research of

Re: LRA unaligned reloads

2012-11-04 Thread Vladimir Makarov
On 12-11-03 9:37 PM, David Miller wrote: On 32-bit sparc with LRA enabled we have the following (this generated for gcc.dg/vect/pr51581-4.c with -flto): (insn 252 142 165 4 (set (reg:HI 234 [ D.1511 ]) (mem/c:HI (plus:SI (reg/f:SI 1307) (const_int 24 [0x18])) [4 b+24

Re: LRA best_reload_nregs

2012-11-04 Thread Vladimir Makarov
On 12-11-04 5:46 PM, David Miller wrote: Unlike the other variables that track the state of the current instruction being analyzed by the LRA constraints code, I don't see anything which initializes best_reload_nregs when we start looking at a new instruction. It is actually not necessary

Using -ffunction-sections and -p

2012-11-04 Thread Sriraman Tallam
Hi, Currently, using -ffunction-sections and -p together results in a warning. I ran into this problem when compiling the kernel. This is discussed in this thread: http://gcc.gnu.org/ml/gcc-help/2008-11/msg00128.html Ian's reply suggests this warning is no longer necessary and can be

Re: calculation of pi

2012-11-04 Thread Ian Lance Taylor
On Sun, Nov 4, 2012 at 1:34 AM, Mischa Baars mjbaars1...@gmail.com wrote: On 11/04/2012 02:45 AM, Ian Lance Taylor wrote: There is no original. The 32-bit and 64-bit ABIs are different. The 64-bit ABI has always passed arguments in registers. There is no option to force the 64-bit compiler

Re: Using -ffunction-sections and -p

2012-11-04 Thread Ian Lance Taylor
On Sun, Nov 4, 2012 at 8:04 PM, Sriraman Tallam tmsri...@google.com wrote: Currently, using -ffunction-sections and -p together results in a warning. I ran into this problem when compiling the kernel. This is discussed in this thread: http://gcc.gnu.org/ml/gcc-help/2008-11/msg00128.html

Re: [help]failed to generate PHI NODE in esra pass.

2012-11-04 Thread Handong Ye
On Sun, Nov 4, 2012 at 2:13 PM, Martin Jambor mjam...@suse.cz wrote: Hi, On Sat, Nov 03, 2012 at 09:01:53AM +, Yangyueming wrote: Hi, all I do the research of min max instructions recently. I find it is related with phiopt. case1: int foo(short a ,short b) { if (a b) a =

[Bug target/55194] h8300 ICE during conftest in libgcc dwarf2out:7605

2012-11-04 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55194 --- Comment #2 from Joel Sherrill joel at gcc dot gnu.org 2012-11-04 06:20:02 UTC --- git bisect should help: [0e797c2e325bfe0676fc9b9e5baee01aefb164f5] /cp 2012-08-20 Paolo Carlini paolo.carl...@oracle.com [joel@baltimore gcc]$ git

[Bug target/55194] h8300 ICE during conftest in libgcc dwarf2out:7605

2012-11-04 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55194 --- Comment #3 from Joel Sherrill joel at gcc dot gnu.org 2012-11-04 06:22:22 UTC --- I added Jakub because I think this was the patch which broke it: Author: jakub jakub@138bc75d-0d04-0410-961f-82ee72b054a4 Date: Mon Aug 20 18:56:49

[Bug bootstrap/52466] gcc-4.7.0-RC-20120302 fails to build for --target=lm32-rtems4.11

2012-11-04 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52466 --- Comment #3 from Joel Sherrill joel at gcc dot gnu.org 2012-11-04 06:33:10 UTC --- Following up on my earlier message. Jon Beniston (original author) or Sebastien Bourdeauducq (current maintainer) ... please reply. This

[Bug go/55201] New: [4.8 regression] libgo.so: undefined reference to `__atomic_compare_exchange_8'

2012-11-04 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55201 Bug #: 55201 Summary: [4.8 regression] libgo.so: undefined reference to `__atomic_compare_exchange_8' Classification: Unclassified Product: gcc Version: 4.8.0

[Bug middle-end/55145] Different bits for long double constant depending ptr_mode

2012-11-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Component|target |middle-end

[Bug driver/55202] New: Building a combined tree is broken for LTO

2012-11-04 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55202 Bug #: 55202 Summary: Building a combined tree is broken for LTO Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug driver/55202] Building a combined tree is broken for LTO

2012-11-04 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55202 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-11-04 08:29:02 UTC --- Created attachment 28608 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28608 Patch which fixes the problem

[Bug driver/55202] Building a combined tree is broken for LTO

2012-11-04 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55202 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug driver/55202] Building a combined tree is broken for LTO

2012-11-04 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55202 --- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2012-11-04 08:36:08 UTC --- [cannot find ld] -plugin /home/pinskia/src/toolchain-cavium/thunder-tools/bin/../libexec/gcc/aarch64-thunder-elf/4.8.0/liblto_plugin.so

[Bug driver/55202] Building a combined tree is broken for LTO

2012-11-04 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55202 --- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org 2012-11-04 08:37:29 UTC --- (In reply to comment #3) I have no patches installed either. The patch above does not work. That is because I was porting the patch from 4.7 to

[Bug middle-end/55145] Different bits for long double constant depending on long int size

2012-11-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145 --- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2012-11-04 10:14:07 UTC --- It is due to long int usage in real.h. Depending on size of long int, real.c gives slightly different results.

[Bug tree-optimization/55191] [4.8 Regression] ICE in compute_antic at tree-ssa-pre.c:2511

2012-11-04 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55191 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added CC|

[Bug c++/55203] New: No unused warning for variables of non-trivial types

2012-11-04 Thread l.lunak at suse dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55203 Bug #: 55203 Summary: No unused warning for variables of non-trivial types Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/55203] No unused warning for variables of non-trivial types

2012-11-04 Thread l.lunak at suse dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55203 Lubos Lunak l.lunak at suse dot cz changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/55145] Different bits for long double constant depending on long int size

2012-11-04 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145 --- Comment #5 from Andreas Schwab sch...@linux-m68k.org 2012-11-04 11:04:03 UTC --- This cannot explain the crashes you see since the difference is just one ULP.

[Bug c++/55203] No unused warning for variables of non-trivial types

2012-11-04 Thread l.lunak at suse dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55203 --- Comment #2 from Lubos Lunak l.lunak at suse dot cz 2012-11-04 11:04:52 UTC --- Created attachment 28609 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28609 gcc patch

[Bug middle-end/55145] Different bits for long double constant depending on long int size

2012-11-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145 --- Comment #6 from H.J. Lu hjl.tools at gmail dot com 2012-11-04 11:09:12 UTC --- (In reply to comment #5) This cannot explain the crashes you see since the difference is just one ULP. The glibc crash is fixed by

[Bug fortran/55199] [OOP] Equivalenced variable has wrong type when used with generic member function

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug fortran/55199] [OOP] Equivalenced variable has wrong type when used with generic member function

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199 --- Comment #2 from janus at gcc dot gnu.org 2012-11-04 11:23:28 UTC --- Further compactified version of the test case: module assoc_err_m implicit none type :: foo_t contains procedure :: func_1 generic :: func =

[Bug rtl-optimization/55204] New: [4.8 Regression] ICE: in extract_insn, at recog.c:2140 (unrecognizable insn) with -O --param loop-invariant-max-bbs-in-loop=0

2012-11-04 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55204 Bug #: 55204 Summary: [4.8 Regression] ICE: in extract_insn, at recog.c:2140 (unrecognizable insn) with -O --param loop-invariant-max-bbs-in-loop=0 Classification:

[Bug fortran/55199] [OOP] Equivalenced variable has wrong type when used with generic member function

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug go/55201] [4.8 regression] libgo.so: undefined reference to `__atomic_compare_exchange_8'

2012-11-04 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55201 --- Comment #1 from Andreas Schwab sch...@linux-m68k.org 2012-11-04 12:46:19 UTC --- Created attachment 28611 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28611 Preliminary patch Doesn't yet work with -static-libgo

[Bug middle-end/54838] [4.8 Regression] ICE: in merge_latch_edges, at cfgloop.c:678 with -ftracer

2012-11-04 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54838 --- Comment #5 from Marek Polacek mpolacek at gcc dot gnu.org 2012-11-04 12:49:27 UTC --- I think the problem is that we somehow arrive at this: loop_1 (header = 2, multiple latches, niter = ) { bb_2 (preds = {bb_0 }, succs =

[Bug fortran/55205] New: build gcc-4.7.2 failed on darwin

2012-11-04 Thread shankerwangmiao at 163 dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55205 Bug #: 55205 Summary: build gcc-4.7.2 failed on darwin Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/55204] [4.8 Regression] ICE: in extract_insn, at recog.c:2140 (unrecognizable insn) with -O --param loop-invariant-max-bbs-in-loop=0

2012-11-04 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55204 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug fortran/55199] [OOP] Equivalenced variable has wrong type when used with generic member function

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199 --- Comment #4 from janus at gcc dot gnu.org 2012-11-04 13:40:16 UTC --- (In reply to comment #3) regtesting now ... Somewhat expected, this fails on: FAIL: gfortran.dg/associate_1.f03 -O0 (test for excess errors) FAIL:

[Bug fortran/55199] [OOP] Equivalenced variable has wrong type when used with generic member function

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199 --- Comment #5 from janus at gcc dot gnu.org 2012-11-04 13:56:03 UTC --- Here is an improved patch, which hopefully should be free of testsuite regressions (will re-check): Index: gcc/fortran/parse.c

[Bug c++/55206] New: GCC Reports Ambiguity; clang and comeau disagree

2012-11-04 Thread dave at boostpro dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55206 Bug #: 55206 Summary: GCC Reports Ambiguity; clang and comeau disagree Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug c++/55189] enable -Wreturn-type by default

2012-11-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW

[Bug target/55184] [4.6 Regression] Invalid codegen with vectors and casts

2012-11-04 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55184 --- Comment #2 from Mikael Pettersson mikpe at it dot uu.se 2012-11-04 14:13:58 UTC --- I can't reproduce the error with vanilla gcc-4.6.3 on x86_64-linux.

[Bug fortran/55205] build gcc-4.7.2 failed on darwin

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55205 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot

[Bug c++/55189] enable -Wreturn-type by default

2012-11-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED

[Bug c++/55206] GCC Reports Ambiguity; clang and comeau disagree

2012-11-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55206 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug fortran/55199] [OOP] Equivalenced variable has wrong type when used with generic member function

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199 --- Comment #6 from janus at gcc dot gnu.org 2012-11-04 15:46:38 UTC --- (In reply to comment #5) Here is an improved patch, which hopefully should be free of testsuite regressions (will re-check): It is. However, I think there is a

[Bug target/41993] [sh] ICE in create_pre_exit, at mode-switching.c:399

2012-11-04 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41993 --- Comment #4 from Uros Bizjak ubizjak at gmail dot com 2012-11-04 16:45:51 UTC --- I have looked a bit into this problem, since AVX vzeroupper insertion now depends on MODE_EXIT functionality. IMO, the patch in Comment #1 is correct for

[Bug c++/55206] GCC Reports Ambiguity; clang and comeau disagree

2012-11-04 Thread dave at boostpro dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55206 --- Comment #2 from Dave Abrahams dave at boostpro dot com 2012-11-04 16:47:37 UTC --- I hate bugzilla for always tempting me to think I can add attachments when first submitting a bug, and then refusing the attachment because it's too big.

[Bug c++/55206] GCC Reports Ambiguity; clang and comeau disagree

2012-11-04 Thread dave at boostpro dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55206 --- Comment #3 from Dave Abrahams dave at boostpro dot com 2012-11-04 16:48:39 UTC --- PS my apologies again for the size. Just no time to reduce it now.

[Bug middle-end/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #3 from Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org 2012-11-04 16:59:07 UTC --- I have done a -j2 bootstrap on gcc61, and in fails somewhere else in a similar fashion. I then transplanted some files to my local (faster)

[Bug fortran/55199] [OOP] Equivalenced variable has wrong type when used with generic member function

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199 --- Comment #7 from janus at gcc dot gnu.org 2012-11-04 17:13:22 UTC --- Author: janus Date: Sun Nov 4 17:13:16 2012 New Revision: 193136 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193136 Log: 2012-11-04 Janus Weil

[Bug fortran/55199] [OOP] Equivalenced variable has wrong type when used with generic member function

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #5 from Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org 2012-11-04 17:34:47 UTC --- Created attachment 28613 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28613 here is a proof-of-concept patch that allows the offending

[Bug target/55184] [4.6 Regression] Invalid codegen with vectors and casts

2012-11-04 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55184 Mathias Gaunard mathias at gaunard dot com changed: What|Removed |Added Attachment #28600|0 |1

[Bug target/55184] [4.6 Regression] Invalid codegen with vectors and casts

2012-11-04 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55184 --- Comment #4 from Mathias Gaunard mathias at gaunard dot com 2012-11-04 18:01:27 UTC --- Sorry, I edited the file in between and ended up uploading the wrong test case. Below is the result on my machine with the fixed testcase. $ gcc

[Bug fortran/55199] [OOP] Equivalenced variable has wrong type when used with generic member function

2012-11-04 Thread townsend at astro dot wisc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55199 --- Comment #9 from Rich Townsend townsend at astro dot wisc.edu 2012-11-04 18:01:53 UTC --- (In reply to comment #8) Fixed with r193136. Closing. Thanks for reporting this! Hey, thanks for fixing it so quickly -- you never cease

[Bug fortran/55207] New: Automatic deallocation of variables declared in the main program

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 Bug #: 55207 Summary: Automatic deallocation of variables declared in the main program Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug fortran/55207] Automatic deallocation of variables declared in the main program

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 --- Comment #1 from janus at gcc dot gnu.org 2012-11-04 18:32:29 UTC --- Patch: Index: gcc/fortran/trans-decl.c === --- gcc/fortran/trans-decl.c(revision 193135) +++

[Bug debug/54693] VTA guality issues with loops

2012-11-04 Thread aoliva at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54693 --- Comment #13 from Alexandre Oliva aoliva at gcc dot gnu.org 2012-11-04 18:44:18 UTC --- Author: aoliva Date: Sun Nov 4 18:44:13 2012 New Revision: 193138 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193138 Log: PR

[Bug debug/54693] VTA guality issues with loops

2012-11-04 Thread aoliva at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54693 --- Comment #14 from Alexandre Oliva aoliva at gcc dot gnu.org 2012-11-04 18:44:32 UTC --- Author: aoliva Date: Sun Nov 4 18:44:25 2012 New Revision: 193139 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193139 Log: PR

[Bug target/55175] i386/sfp-exceptions.c:52:7: error: impossible constraint in 'asm'

2012-11-04 Thread uros at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55175 --- Comment #7 from uros at gcc dot gnu.org 2012-11-04 18:58:32 UTC --- Author: uros Date: Sun Nov 4 18:58:29 2012 New Revision: 193140 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193140 Log: PR target/55175 *

[Bug target/55175] i386/sfp-exceptions.c:52:7: error: impossible constraint in 'asm'

2012-11-04 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55175 --- Comment #8 from Uros Bizjak ubizjak at gmail dot com 2012-11-04 18:59:53 UTC --- (In reply to comment #6) I can confirm i386-rtems4.11-gcc now builds. @Uros: I am inclined to believe this patch probably should be backported to

[Bug target/55175] i386/sfp-exceptions.c:52:7: error: impossible constraint in 'asm'

2012-11-04 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55175 Uros Bizjak ubizjak at gmail dot com changed: What|Removed |Added Target Milestone|4.8.0 |4.7.3

[Bug c/55208] New: ice in remove_redundant_iv_tests, at tree-ssa-loop-ivcanon.c:478

2012-11-04 Thread dcb314 at hotmail dot com
to compile the package jfsutils-1.1.13-10 on gcc-4.8 trunk dated 20121104 on an AMD x86_64 box. The compiler said log_dump.c:635:6: internal compiler error: in remove_redundant_iv_tests, at tree-ssa-loop-ivcanon.c:478 void ldmp_xdump(char *saddr, int count) ^ Preprocessed source code

[Bug tree-optimization/54986] [4.7 Regression] Internal Error: segmentation fault

2012-11-04 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54986 Mikael Pettersson mikpe at it dot uu.se changed: What|Removed |Added CC|

[Bug tree-optimization/55191] [4.8 Regression] ICE in compute_antic at tree-ssa-pre.c:2511

2012-11-04 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55191 --- Comment #3 from David Binderman dcb314 at hotmail dot com 2012-11-04 20:05:37 UTC --- (In reply to comment #2) Dup of 55176. I don't see the connection. One is an OOM, the other is an ICE.

[Bug rtl-optimization/55204] [4.8 Regression] ICE: in extract_insn, at recog.c:2140 (unrecognizable insn) with -O --param loop-invariant-max-bbs-in-loop=0

2012-11-04 Thread rsandifo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55204 rsand...@gcc.gnu.org rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/55191] [4.8 Regression] ICE in compute_antic at tree-ssa-pre.c:2511

2012-11-04 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55191 --- Comment #4 from Markus Trippelsdorf markus at trippelsdorf dot de 2012-11-04 20:08:15 UTC --- (In reply to comment #3) (In reply to comment #2) Dup of 55176. I don't see the connection. One is an OOM, the other is an ICE.

[Bug regression/55168] [4.8 Regression]: gcc.c-torture/compile/pr44119.c ICE, all but -O0

2012-11-04 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55168 Hans-Peter Nilsson hp at gcc dot gnu.org changed: What|Removed |Added CC||hubicka

[Bug fortran/55174] [4.6 Regression] Segmentation fault with bad array reference

2012-11-04 Thread harper at msor dot vuw.ac.nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55174 --- Comment #3 from harper at msor dot vuw.ac.nz 2012-11-04 20:41:10 UTC --- On Fri, 2 Nov 2012, janus at gcc dot gnu.org wrote: Date: Fri, 2 Nov 2012 10:54:50 + From: janus at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org To:

[Bug target/55184] [4.6 Regression] Invalid codegen with vectors and casts

2012-11-04 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55184 --- Comment #5 from Mikael Pettersson mikpe at it dot uu.se 2012-11-04 21:24:44 UTC --- I can confirm the bug with gcc-4.6.3 and the fixed test case. However, the bug has since been fixed on 4.6 branch in r187763, the fix for PR52407. The

[Bug debug/54693] VTA guality issues with loops

2012-11-04 Thread aoliva at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54693 Alexandre Oliva aoliva at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #6 from dave.anglin at bell dot net 2012-11-04 22:23:04 UTC --- On 4-Nov-12, at 12:31 PM, amylaar at gcc dot gnu.org wrote: The instruction call_symref_pic_post_reload has the following length attribute setting: (set

[Bug fortran/55174] [4.6 Regression] Segmentation fault with bad array reference

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55174 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/54225] [4.6/4.7/4.8 Regression] fortran compiler segfault processing ' print *, A(1,*) '

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54225 janus at gcc dot gnu.org changed: What|Removed |Added CC||john.harper at vuw dot

[Bug fortran/55207] Automatic deallocation of variables declared in the main program

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 --- Comment #2 from janus at gcc dot gnu.org 2012-11-04 22:26:44 UTC --- (In reply to comment #1) Patch: Note: The patch in comment 1 only fixes the auto-deallocation for scalars.

[Bug fortran/55207] Automatic deallocation of variables declared in the main program

2012-11-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 --- Comment #3 from janus at gcc dot gnu.org 2012-11-04 22:48:37 UTC --- The following patch applies the implicit SAVE attribute to variables declared in the main program: Index: gcc/fortran/decl.c

[Bug middle-end/55145] Different bits for long double constant depending on long int size

2012-11-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145 --- Comment #7 from H.J. Lu hjl.tools at gmail dot com 2012-11-04 22:51:46 UTC --- Here are different internal values from the same input: 32-bit long: 1.57079632679489661925640447970309310221637133509 Input:

[Bug middle-end/21718] real.c rounding not perfect

2012-11-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 --- Comment #11 from H.J. Lu hjl.tools at gmail dot com 2012-11-04 23:06:27 UTC --- From: http://www.sourceware.org/bugzilla/show_bug.cgi?id=14803#c1 --- Really I'd consider this just a variant on bug 21718 (real.c rounding not

[Bug middle-end/55145] Different bits for long double constant depending on long int size

2012-11-04 Thread vincent-gcc at vinc17 dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145 --- Comment #8 from Vincent Lefèvre vincent-gcc at vinc17 dot net 2012-11-04 23:43:44 UTC --- (In reply to comment #7) Here are different internal values from the same input: 32-bit long: 1.57079632679489661925640447970309310221637133509

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #7 from dave.anglin at bell dot net 2012-11-04 23:50:44 UTC --- On 4-Nov-12, at 12:31 PM, amylaar at gcc dot gnu.org wrote: Such a length attribute is not considered variable by shorten_branches. You need to include a

[Bug fortran/55174] [4.6 Regression] Segmentation fault with bad array reference

2012-11-04 Thread harper at msor dot vuw.ac.nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55174 --- Comment #5 from harper at msor dot vuw.ac.nz 2012-11-05 00:02:51 UTC --- On Sun, 4 Nov 2012, janus at gcc dot gnu.org wrote: Date: Sun, 4 Nov 2012 22:23:40 + From: janus at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org To:

[Bug middle-end/21718] real.c rounding not perfect

2012-11-04 Thread vincent-gcc at vinc17 dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 --- Comment #12 from Vincent Lefèvre vincent-gcc at vinc17 dot net 2012-11-05 00:16:32 UTC --- (In reply to comment #11) Really I'd consider this just a variant on bug 21718 (real.c rounding not perfect). That would ideally be fixed by using

[Bug middle-end/55198] [4.8 Regression] libquadmath/math/fmaq.c:233:7: internal compiler error

2012-11-04 Thread dave.anglin at bell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55198 --- Comment #2 from dave.anglin at bell dot net 2012-11-05 00:20:16 UTC --- On 3-Nov-12, at 10:38 PM, pinskia at gcc dot gnu.org wrote: Exposed as this is a change in the library and the compiler is crashing with a valid input that

[Bug fortran/55174] [4.6 Regression] Segmentation fault with bad array reference

2012-11-04 Thread harper at msor dot vuw.ac.nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55174 --- Comment #6 from harper at msor dot vuw.ac.nz 2012-11-05 00:52:10 UTC --- On Mon, 5 Nov 2012, John Harper wrote: Date: Mon, 5 Nov 2012 13:02:37 +1300 (NZDT) From: John Harper har...@msor.vuw.ac.nz To: janus at gcc dot gnu.org

[Bug debug/55209] New: gdb reports 'No symbol x in current context.' at -O0 -g

2012-11-04 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55209 Bug #: 55209 Summary: gdb reports 'No symbol x in current context.' at -O0 -g Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug debug/55209] gdb reports 'No symbol x in current context.' at -O0 -g

2012-11-04 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55209 --- Comment #1 from Hans-Peter Nilsson hp at gcc dot gnu.org 2012-11-05 01:20:08 UTC --- Created attachment 28616 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28616 pr55030-chk.i

[Bug debug/55209] gdb reports 'No symbol x in current context.' at -O0 -g

2012-11-04 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55209 --- Comment #2 from Hans-Peter Nilsson hp at gcc dot gnu.org 2012-11-05 01:21:23 UTC --- (In reply to comment #0) Set a breakpoint on line 5084 ...in cse.c

[Bug target/54938] sh libgcc_unpack_df.o fails to build: ../../../srcw/libgcc/fp-bit.h:221:19: internal compiler error: in emit_cmp_and_jump_insn_1, at optabs.c:4273

2012-11-04 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54938 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/21718] real.c rounding not perfect

2012-11-04 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added CC|

[Bug fortran/55210] New: cannot #define FOO 'a'

2012-11-04 Thread shobbo at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55210 Bug #: 55210 Summary: cannot #define FOO 'a' Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/55195] [4.8 Regression] shorten_branches generates incorrect forward branch distances

2012-11-04 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195 --- Comment #8 from Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org 2012-11-05 02:32:35 UTC --- (In reply to comment #7) In some sense, this seems like a hack which might be optimized by an attribute processor. What about a way to

[Bug libitm/53113] Build fails in x86_avx.cc if AVX disabled but supported by as (Solaris Linux)

2012-11-04 Thread dirtyepic at gentoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113 Ryan Hill dirtyepic at gentoo dot org changed: What|Removed |Added CC||dirtyepic

  1   2   >