[Bug fortran/32315] DATA with implied-do: Bounds checks missing

2007-06-12 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-06-13 06:46 --- Dump shows: static char string[4][1:20] = {"A ", "B ", "C ", "D ", "E " } Check should probably be in resolve.c's check_data

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-12 Thread echristo at apple dot com
--- Comment #4 from echristo at apple dot com 2007-06-13 06:36 --- Patch looks reasonable. -- echristo at apple dot com changed: What|Removed |Added CC|

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-12 Thread daney at gcc dot gnu dot org
--- Comment #3 from daney at gcc dot gnu dot org 2007-06-13 06:26 --- Created an attachment (id=13696) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13696&action=view) Proposed fix. I will try to bootstrap the Proposed fix tomorrow. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c/32314] for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-13 06:26 --- > Maybe some people should read __carefully__ both the C standard and the new > GPL3 What does that mean? There is a working draft of dfp in the C standards committee See http://www.open-std.org/jtc1/sc22/wg14/ww

[Bug fortran/32315] New: DATA with implied-do: Bounds checks missing

2007-06-12 Thread burnus at gcc dot gnu dot org
Found at: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/34f509b6b4241c6d/ program chkdata character(len=20), dimension(4) :: string data ( string(i) ,i=1,5 ) / & 'A', 'B', 'C', 'D', 'E' / write(*,*) string end program chkdata gfortran gives no warning/e

[Bug c/32314] for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-12 Thread malitzke at metronets dot com
--- Comment #3 from malitzke at metronets dot com 2007-06-13 06:06 --- Maybe some people should read __carefully__ both the C standard and the new GPL3 -- malitzke at metronets dot com changed: What|Removed |Added --

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-12 Thread daney at gcc dot gnu dot org
--- Comment #2 from daney at gcc dot gnu dot org 2007-06-13 05:58 --- I have a prototype patch that I think fixes this problem. -- daney at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/32314] for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-12 Thread malitzke at metronets dot com
-- malitzke at metronets dot com changed: What|Removed |Added CC||pluto at agmk dot net Severity|normal |

[Bug c/32314] for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-13 05:46 --- The main reason why you still need libdecnumber is because other front-ends could support dfp even without the C/C++ front-ends supporting it. -- pinskia at gcc dot gnu dot org changed: What|Remov

[Bug c/32314] for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-13 05:44 --- Even if you disable dfp, libdecnumber is still needed to compile gcc as disable-decimal-float really just disables the C interface. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/32314] New: for gcc-4.2gcc-4disable-decimal-float not working on i686, powerpc, sparc. gcc-4.3.0

2007-06-12 Thread malitzke at metronets dot com
disable-decimal-float not working on i686, powerpc, sparc neither gcc-4.2.1 nor gcc-4.3.0 Proof; below is a compossite from directory libdecnumber(top of config.status and ls -l) This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a m

[Bug rtl-optimization/31987] [4.3 Regression] ICE in remove_insn, at emit-rtl.c:3579 at -O3

2007-06-12 Thread stevenb dot gcc at gmail dot com
--- Comment #6 from stevenb dot gcc at gmail dot com 2007-06-13 05:22 --- Subject: Re: [4.3 Regression] ICE in remove_insn, at emit-rtl.c:3579 at -O3 I'll take a look this weekend. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31987

[Bug fortran/31162] missing warning for real do-loops with implicit typed variables

2007-06-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-06-13 05:16 --- Found the problem. We are checking the iterator variable type but not the start, end, and step value types. Patch will come sometime in the next few days. -- jvdelisle at gcc dot gnu dot org changed:

[Bug fortran/32302] [4.2/4.3 Regression] Incorrect result with -O2

2007-06-12 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2007-06-13 05:09 --- (In reply to comment #3) > (In reply to comment #2) > > Until I know for sure, i am moving this back to the fortran component, it > > might > > be a front end issuse still. > > > Andrew, > > I think that you are pro

[Bug fortran/32302] [4.2/4.3 Regression] Incorrect result with -O2

2007-06-12 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-06-13 04:58 --- (In reply to comment #2) > Until I know for sure, i am moving this back to the fortran component, it > might > be a front end issuse still. > Andrew, I think that you are probably right - it looks like my patch for

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-12 Thread spark at gcc dot gnu dot org
--- Comment #9 from spark at gcc dot gnu dot org 2007-06-13 03:48 --- (In reply to comment #8) > Subject: Re: [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-* > > > I think the solution is to remove this check from the insn definition > > in pa.md and change the check in hppa_

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-12 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #8 from dave at hiauly1 dot hia dot nrc dot ca 2007-06-13 03:45 --- Subject: Re: [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-* > I think the solution is to remove this check from the insn definition > in pa.md and change the check in hppa_can_use_return_insn_p(

[Bug fortran/32140] [4.3 Regression] Miscompilation with -O1

2007-06-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2007-06-13 00:55 --- Also see failure at optimizations -O1, -O2, -O3 on x86-64-gnu-linuz (intel) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32140

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-12 Thread daney at gcc dot gnu dot org
disable-jvmpi --disable-static --disable-libmudflap --enable-languages=c,c++,java Thread model: posix gcc version 4.3.0 20070612 (experimental) /home/build/gcc-build/./prev-gcc/cc1 -fpreprocessed build/gengtype.i -quiet -dumpbase gengtype.i -march=mips32 -msoft-float -mno-shared -auxbase-stri

[Bug preprocessor/30867] Can we have a new __DATE__ which is sortable, eg YYYY-MM-DD

2007-06-12 Thread alf dot lacis at aiscientific dot com
--- Comment #4 from alf dot lacis at aiscientific dot com 2007-06-12 23:33 --- I did *not* say I wanted a new format for __DATE__ & __TIME__ (reread my request). I wanted *new* macros. For example: Macro: Expands to: ___MM_DD__ 2007-02-20 also know as 'Swedish format' (ne

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-12 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca 2007-06-12 23:30 --- Subject: Re: [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-* > hppa_can_use_return_insn_p() is called > from "return" insn pattern in pa.md. > The pattern looks: > > (define_insn "return" > [

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-12 Thread spark at gcc dot gnu dot org
--- Comment #6 from spark at gcc dot gnu dot org 2007-06-12 23:07 --- (In reply to comment #5) > Subject: Re: [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-* > > > @@ -4384,7 +4385,7 @@ hppa_can_use_return_insn_p (void) > > { > >return (reload_completed > > &&

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-12 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2007-06-12 22:59 --- Subject: Re: [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-* > @@ -4384,7 +4385,7 @@ hppa_can_use_return_insn_p (void) > { >return (reload_completed > && (compute_frame_size (get_f

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-12 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug target/32313] New: [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-12 Thread daney at gcc dot gnu dot org
At revision 125625 (and 125652) There is a bootstrap failure due to a SIGSEGV while running gengtype in stage 2. A successful bootstrap was done for r125494. I think the dataflow branch merge is a likely culprit here. The problem is that $gp is not being restored before a call to a local functio

[Bug other/30335] CreateFileMapping fails in Vista due to lack of admin privileges

2007-06-12 Thread reimer dot daniel at freenet dot de
--- Comment #14 from reimer dot daniel at freenet dot de 2007-06-12 22:13 --- http://www.reactos.org/paste/index.php/1aa48fc/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30335

[Bug other/30335] CreateFileMapping fails in Vista due to lack of admin privileges

2007-06-12 Thread reimer dot daniel at freenet dot de
--- Comment #13 from reimer dot daniel at freenet dot de 2007-06-12 22:07 --- I tried the second Patch from danny and got the same results when I tried to build ReactOS in MultiCore, as with this one I used before. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30335

[Bug fortran/32310] Intel-darwin specific ICE on CP2K code

2007-06-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-06-12 22:03 --- I can't reduce that any more, it depends on the module files being huge: if you trim them down to a lower number of symbols, they ICE disapears. And I can't reproduced it either on x86_64-linux. -- http://gcc

[Bug tree-optimization/32306] [4.2/4.3 Regression] DOM jump threading no longer iterates

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-06-12 22:01 --- http://gcc.gnu.org/ml/gcc-patches/2006-02/msg00586.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32306

[Bug tree-optimization/32306] [4.2/4.3 Regression] DOM chooses bad jump threading targets.

2007-06-12 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2007-06-12 21:57 --- The difference is that we iterated jump threading in DOM in 4.1 but do so no longer. On the mainline each dom and vrp pass figures more jump threading opportunities - just not enough. With 4.1 the third and last DO

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-12 Thread spark at gcc dot gnu dot org
--- Comment #4 from spark at gcc dot gnu dot org 2007-06-12 21:43 --- This patch should fix the bootstrap. I was in the process of running some regtests when gsyprf11 got reset. diff -r f78a38a8334b gcc/config/pa/pa.c --- a/gcc/config/pa/pa.cThu May 31 11:43:34 2007 -0700 +++ b/

[Bug tree-optimization/32306] [4.2/4.3 Regression] Bad Code generation ( Tree optimization )

2007-06-12 Thread pranav dot bhandarkar at gmail dot com
--- Comment #6 from pranav dot bhandarkar at gmail dot com 2007-06-12 21:14 --- dom, in 4.1 is able to combine the if conditions unlike 4.3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32306

[Bug tree-optimization/32306] [4.2/4.3 Regression] Bad Code generation ( Tree optimization )

2007-06-12 Thread pranav dot bhandarkar at gmail dot com
--- Comment #5 from pranav dot bhandarkar at gmail dot com 2007-06-12 21:10 --- Created an attachment (id=13694) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13694&action=view) A smaller Testcase that displays the said behaviour Reduced the testcase. Reducing to less than b1 thr

[Bug bootstrap/32312] [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10

2007-06-12 Thread ghazi at gcc dot gnu dot org
--- Comment #2 from ghazi at gcc dot gnu dot org 2007-06-12 20:59 --- Created an attachment (id=13693) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13693&action=view) testcase for ICE Target sparc-sun-solaris2.10 and run: cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -

[Bug bootstrap/32312] [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10

2007-06-12 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug bootstrap/32312] [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10

2007-06-12 Thread ghazi at gcc dot gnu dot org
--- Comment #1 from ghazi at gcc dot gnu dot org 2007-06-12 20:37 --- This worked as of June 9th, so it's recent. The SEGV happens because "df" (used in the macro DF_REG_DEF_COUNT) is nil: signal SEGV (no mapping at the fault address) in sparc_check_64 at line 7677 in file "sparc.c"

[Bug bootstrap/32312] New: [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10

2007-06-12 Thread ghazi at gcc dot gnu dot org
I'm getting a new bootstrap failure on sparc-sun-solaris2.10 in stage1 building libgcc2.a: /tmp/kg/pat/build/./gcc/xgcc -B/tmp/kg/pat/build/./gcc/ -B/usr/local/sparc-sun-solaris2.10/bin/ -B/usr/local/sparc-sun-solaris2.10/lib/ -isystem /usr/local/sparc-sun-solaris2.10/include -isystem /usr/local/s

[Bug middle-end/30905] [4.3 Regression] Fails to cross-jump

2007-06-12 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-06-12 19:17 --- Now in mainline. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work

[Bug middle-end/31579] [4.3 regression] ICE when compiling attached code

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-06-12 19:16 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/31579] [4.3 regression] ICE when compiling attached code

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-06-12 19:16 --- Subject: Bug 31579 Author: pinskia Date: Tue Jun 12 19:15:50 2007 New Revision: 125655 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125655 Log: 2007-06-12 Andrew Pinski <[EMAIL PROTECTED]> PR mi

[Bug rtl-optimization/31987] [4.3 Regression] ICE in remove_insn, at emit-rtl.c:3579 at -O3

2007-06-12 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-06-12 19:13 --- Looks like the dataflow merge now exposes this to SPEC2000 FDO runs on x86_64 for wupwise and gcc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31987

[Bug c++/24791] ICE on invalid instantiation of template's static member

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2007-06-12 19:02 --- *** Bug 32308 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/32308] [4.1/4.2/4.3 Regression] template int CTemp< int >::sta; make the error

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-12 19:02 --- *** This bug has been marked as a duplicate of 24791 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread gangren at google dot com
--- Comment #9 from gangren at google dot com 2007-06-12 18:58 --- (In reply to comment #8) > if later compilation passes could prove that the computation > overflowed in short, then the result would be different than if the > computation > were done in int. The result could be differe

[Bug c++/32308] [4.1/4.2/4.3 Regression] template int CTemp< int >::sta; make the error

2007-06-12 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-06-12 18:46 --- should read template <> int CTemp< int >::sta; because t.C(13): error: "CTemp" is not a class template template int CTemp< int >::sta; ^ -- rguenth at gcc dot gnu dot org changed:

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread ian at airs dot com
--- Comment #8 from ian at airs dot com 2007-06-12 18:25 --- Undefined signed overflow is a language issue, not a processor issue. When signed overflow is undefined, the compiler can and does make certain assumptions about the results of operations. For example, it assumes that a + 1 >

[Bug middle-end/32304] [4.3 Regression] ICE in set_mem_attributes_minus_bitpos

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-12 18:16 --- The patch which fixes the problem: Index: ipa-reference.c === --- ipa-reference.c (revision 125637) +++ ipa-reference.c (working copy) @@ -269,6

[Bug rtl-optimization/32300] [4.3 Regression] ICE with -O2 -fsee

2007-06-12 Thread zadeck at naturalbridge dot com
--- Comment #5 from zadeck at naturalbridge dot com 2007-06-12 18:13 --- This bug should be assigned to Mircea Namolaru <[EMAIL PROTECTED]>. I have sent him mail asking that he get a proper bugzilla id. == The underlying problem is that see.c:2732 uses

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-06-12 Thread ian at airs dot com
--- Comment #178 from ian at airs dot com 2007-06-12 18:10 --- Fixed on mainline. No plans to backport the patch to previous releases. -- ian at airs dot com changed: What|Removed |Added

[Bug fortran/32310] Intel-darwin specific ICE on CP2K code

2007-06-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-06-12 18:10 --- Created an attachment (id=13692) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13692&action=view) Testcase and module files that generate the ICE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32310

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread gangren at google dot com
--- Comment #7 from gangren at google dot com 2007-06-12 18:10 --- (In reply to comment #6) > Subject: Re: Unnecessary conversion from short to unsigend short breaks > vectorization > > On 12 Jun 2007 17:53:19 -, gangren at google dot com > <[EMAIL PROTECTED]> wrote: > > > I'm awa

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread pinskia at gmail dot com
--- Comment #6 from pinskia at gmail dot com 2007-06-12 17:56 --- Subject: Re: Unnecessary conversion from short to unsigend short breaks vectorization On 12 Jun 2007 17:53:19 -, gangren at google dot com <[EMAIL PROTECTED]> wrote: > I'm aware of integral promotion. But not quite

Re: [Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread Andrew Pinski
On 12 Jun 2007 17:53:19 -, gangren at google dot com <[EMAIL PROTECTED]> wrote: I'm aware of integral promotion. But not quite understand why we can optimize (short)((int)short_var + (int)short_var) to (short)((unsigned short)short_var + (unsigned short)short_var), but not to (short)((short)

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread gangren at google dot com
--- Comment #5 from gangren at google dot com 2007-06-12 17:53 --- (In reply to comment #3) > >Do you mean that short_var + short_var is defined as > > (short)((unsigned short)short_var + (unsigned short)short_var)? > > Kinda, because it is really defined by the C standard as: > (shor

[Bug target/32180] Paranoia UCB GSL TestFloat libm tests fail - accuracy of recent gcc math poor

2007-06-12 Thread rob1weld at aol dot com
--- Comment #15 from rob1weld at aol dot com 2007-06-12 17:50 --- Correctly Rounded mathematical library http://lipforge.ens-lyon.fr/www/crlibm/index.html CRlibm, an efficient and proven correctly-rounded mathematical library CRlibm is a free mathematical library (libm) which provides:

[Bug libstdc++/29286] [4.0/4.1/4.2/4.3 Regression] placement new does not change the dynamic type as it should

2007-06-12 Thread ian at gcc dot gnu dot org
--- Comment #177 from ian at gcc dot gnu dot org 2007-06-12 17:47 --- Subject: Bug 29286 Author: ian Date: Tue Jun 12 17:47:37 2007 New Revision: 125653 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125653 Log: ./: PR libstdc++/29286 * tree.def: Add CHANGE_DYNAM

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread dorit at il dot ibm dot com
--- Comment #4 from dorit at il dot ibm dot com 2007-06-12 17:46 --- it's on my (long) todo list... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32309

[Bug c/32311] fprintf prints only a part of a string if the string has \x00

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-12 17:40 --- This is correct behavior because strings are really char arrays terminated by the null character (0 aka '\x00') so when you write "k\x00%f", you really have a string that is only of length 1. -- pinskia at gcc do

[Bug tree-optimization/26128] Trivial operation not vectorized on char/short

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-12 17:36 --- *** Bug 32309 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-12 17:36 --- >Do you mean that short_var + short_var is defined as > (short)((unsigned short)short_var + (unsigned short)short_var)? Kinda, because it is really defined by the C standard as: (short)((int)short_var + (int)short

[Bug c/32311] New: fprintf prints only a part of a string if the string has \x00

2007-06-12 Thread andrei dot kouznetsov at gmail dot com
when I do FILE *f = fopen(...); double k = 10; fprintf(file, "k\x00%f", k); only the string "k" will be written to the file (And this is the problem, since I want the strings "k" and "10.0" to be separated by the symbol with the code 0). If I do fprintf(file, "k\0x20%f", k); then the correct strin

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread gangren at google dot com
--- Comment #2 from gangren at google dot com 2007-06-12 17:28 --- (In reply to comment #1) > The conversions are not Unnecessary, they are necessary because > short_var+short_var when that would overflow the range of short is still > defined. > Do you mean that short_var + short_var i

[Bug fortran/32310] New: Intel-darwin specific ICE on CP2K code

2007-06-12 Thread fxcoudert at gcc dot gnu dot org
I'm working towards reducing this, but it's coming slowly :( The code attached leads to an ICE with: $ gfortran -c -O0 qs_mo_types.f90 gfortran: Internal error: Illegal instruction (program f951) The backtrace for the ICE is: Program received signal EXC_BAD_ACCESS, Could not access memory. Reaso

[Bug tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-12 17:20 --- The conversions are not Unnecessary, they are necessary because short_var+short_var when that would overflow the range of short is still defined. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32309

[Bug tree-optimization/32309] New: Unnecessary conversion from short to unsigend short breaks vectorization

2007-06-12 Thread gangren at google dot com
void Sub(short * __restrict src1row, short * __restrict src2row, int num_in_row) { for(int i=num_in_row; i--;) { *src1row -= *src2row; ++src1row; ++src2row; } } In the test case above, GCC inserts several explicit conversions soon after the gimple transformation stage and gets,

[Bug target/32301] int __attribute__((vector_size(8))) doesn't use %mm0, produces ugly code

2007-06-12 Thread tomash dot brechko at gmail dot com
--- Comment #2 from tomash dot brechko at gmail dot com 2007-06-12 16:43 --- Sorry, I failed to find two other reports you reference, maybe I'm repeating someone's questions then. Okay, there are reasons not to use %mm0, but why %xmm0 is not used then? Something like f: movq

[Bug fortran/32289] mips version of gfortran produces internal compiler error

2007-06-12 Thread tbm at cyrius dot com
--- Comment #9 from tbm at cyrius dot com 2007-06-12 16:31 --- O32, just like Debian. Note that 4.0 also uses O32, although the kernel is 64-bit, so that might explain why it's configuring mips64 for you. I don't see the point of these questions though. After all, I confirmed your bug

[Bug fortran/32298] MINLOC / MAXLOC: off-by one for PARAMETER arrays

2007-06-12 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added CC||burnus at gcc dot gnu dot |

[Bug c++/32308] template int CTemp< int >::sta; make the error

2007-06-12 Thread cxcxcxcx at gmail dot com
--- Comment #1 from cxcxcxcx at gmail dot com 2007-06-12 16:08 --- Created an attachment (id=13691) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13691&action=view) The ii file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32308

[Bug middle-end/31541] [4.3 Regression] cannot take address of bit field

2007-06-12 Thread dcb314 at hotmail dot com
--- Comment #7 from dcb314 at hotmail dot com 2007-06-12 16:05 --- (In reply to comment #5) > I am finally getting around to testing the patch (been busy with a release of > our own toolchain last week). I can confirm that this bug still exists in gcc snapshot 20070608. Is it significa

[Bug fortran/32298] MINLOC / MAXLOC: off-by one for PARAMETER arrays

2007-06-12 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-06-12 16:05 --- The result is ok, if one removes PARAMETER. If one looks at the dump one find the following difference between arrays which are parameters and those which are variables: -S.3 = 0; +S.

[Bug c++/32308] New: template int CTemp< int >::sta; make the error

2007-06-12 Thread cxcxcxcx at gmail dot com
gcc -v : Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4

[Bug fortran/32140] [4.3 Regression] Miscompilation with -O1

2007-06-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2007-06-12 15:47 --- I see it also with today's compiler on i686-darwin: $ gfortran test.f90 -O2 && ./a.out a.>bb ccc -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/32176] [4.3 Regression] ICE tree-type mismatch: expected integer_cst, have plus_expr in int_cst_value, at tree.c:7720

2007-06-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-06-12 15:44 --- (In reply to comment #1) > While the assert is occurs in the middle end, I think it is very likely a > tree-type mismatch in the front end. I think it is. It also fails for me on i686-darwin, with -O2 -fprefetch-

[Bug target/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump

2007-06-12 Thread alessandro dot mei at elsagdatamat dot com
--- Comment #5 from alessandro dot mei at elsagdatamat dot com 2007-06-12 15:41 --- (In reply to comment #4) > And why do you think GCC is at fault? It is hard to debug this huge sources > really. Have you tried to pin point exactly where the issue. Do you have any > uninitialized va

[Bug target/32307] ICE building simple httpd log.c for -m5282x option

2007-06-12 Thread joel at gcc dot gnu dot org
--- Comment #3 from joel at gcc dot gnu dot org 2007-06-12 15:39 --- Created an attachment (id=13690) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13690&action=view) alternate version of bug file which has if 0 around offensive code I hacked on the file that tripped the bug and n

[Bug middle-end/32258] Testsuite reports - FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2007-06-12 15:31 --- This is not a bug. Here is the deal, the reporter compiled GCC with the new headers but is using the old library (which is known to be buggy). -- pinskia at gcc dot gnu dot org changed: What|Rem

[Bug target/32307] ICE building simple httpd log.c for -m5282x option

2007-06-12 Thread joel at gcc dot gnu dot org
--- Comment #2 from joel at gcc dot gnu dot org 2007-06-12 15:21 --- Tested using RTEMS cross RPMs for RTEMS 4.6 (gcc 3.2.3) and RTEMS 4.7 (gcc 4.1.1). -- joel at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/32307] ICE building simple httpd log.c for -m5282x option

2007-06-12 Thread joel at gcc dot gnu dot org
--- Comment #1 from joel at gcc dot gnu dot org 2007-06-12 15:17 --- Created an attachment (id=13689) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13689&action=view) preprocessed code to generate problem The following should reproduce the error: m68k-rtems4.8-gcc -m528x -c log_

[Bug c/32307] New: ICE building simple httpd log.c for -m5282x option

2007-06-12 Thread joel at gcc dot gnu dot org
The full command line is below. It appears to be triggered by -m528x and is indepdendent of selected optimization level. m68k-rtems4.8-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../uC5282/lib/include -DHAVE_MD5 -Wall -fasm -m528x -O2 -g -MT libshttpd_a-log.o -MD -MP -MF .deps/libshtt

[Bug middle-end/32258] Testsuite reports - FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c

2007-06-12 Thread rguenth at gcc dot gnu dot org
4.3.0 20070612 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.3.0 20070612 (experimental), GMP version 4.2.1, MPFR version 2.2.0. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32258

[Bug middle-end/32302] [4.2, 4.3 Regression] Incorrect result with -O2

2007-06-12 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-06-12 15:03 --- Works with 4.1.3 20070521. Fails with 4.2.1 20070604. Fails with 4.3.0 20070612. (On x86_64 Linux) Result is ok ("1.0 1.0") for real(4), but not for real(8) ("0.25 0.25"). -O1 is also ok,

[Bug fortran/32302] [4.2/4.3 Regression] Incorrect result with -O2

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-12 15:09 --- Until I know for sure, i am moving this back to the fortran component, it might be a front end issuse still. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/32305] ICE in initialize_flags_in_bb with -O -fipa-pta

2007-06-12 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-12 15:08 --- trunk-g/gcc> ./cc1plus -O -fipa-pta t.ii S1::S1() S1::S1() S1::S1() void S2::f2() void f(S2&) Analyzing compilation unit Performing interprocedural optimizations t.ii: In member function 'void S2::f2()': t.ii

[Bug tree-optimization/32306] [4.2/4.3 Regression] Bad Code generation ( Tree optimization )

2007-06-12 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-06-12 15:06 --- Try to narrow it down to sth shorter. (Looks like a jump-threading issue) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/32306] Bad Code generation ( Tree optimization )

2007-06-12 Thread pranav dot bhandarkar at gmail dot com
--- Comment #3 from pranav dot bhandarkar at gmail dot com 2007-06-12 14:50 --- Created an attachment (id=13688) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13688&action=view) Code Generated by 4.3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32306

[Bug tree-optimization/32306] Bad Code generation ( Tree optimization )

2007-06-12 Thread pranav dot bhandarkar at gmail dot com
--- Comment #2 from pranav dot bhandarkar at gmail dot com 2007-06-12 14:50 --- Created an attachment (id=13687) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13687&action=view) Code Generated by 4.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32306

[Bug tree-optimization/32306] Bad Code generation ( Tree optimization )

2007-06-12 Thread pranav dot bhandarkar at gmail dot com
--- Comment #1 from pranav dot bhandarkar at gmail dot com 2007-06-12 14:48 --- Created an attachment (id=13686) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13686&action=view) Tes -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32306

[Bug tree-optimization/32306] New: Bad Code generation ( Tree optimization )

2007-06-12 Thread pranav dot bhandarkar at gmail dot com
For the following Code Snippet void bar () { b1 = foo(1); b2 = foo(1); b3 = foo(1); b4 = foo(1); b5 = foo(1); b6 = foo(1); b7 = foo(1); b8 = foo(1); b9 = foo(1); b10 = foo(1); b11 = foo(1); b12 = foo(1); array[0] = b1 && b2 && b3 && b4 && b5 && b6 && b7 && b8 && b9 && b1

[Bug fortran/32289] mips version of gfortran produces internal compiler error

2007-06-12 Thread michael dot a dot richmond at nasa dot gov
--- Comment #8 from michael dot a dot richmond at nasa dot gov 2007-06-12 14:33 --- (In reply to comment #7) > mips-linux-gnu, as the Debian package does. Why? When I run the configure script on an SGI Indy under Debian 4.0, it sets the system type to mips64-unknown-linux-gnu, and set

[Bug middle-end/31685] [4.3 regression] ICE in set_mem_attributes

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-06-12 14:22 --- I am going to mark this as a dup of bug 32304 (even though that is newer) because it has a short testcase and I added some anyalsis to the problem there. *** This bug has been marked as a duplicate of 32304 *** --

[Bug middle-end/32304] [4.3 Regression] ICE in set_mem_attributes_minus_bitpos

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-12 14:22 --- *** Bug 31685 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/32304] [4.3 Regression] ICE in set_mem_attributes_minus_bitpos

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-12 14:20 --- readonly is set on this decl which is wrong. I think I know what is wrong. ipa-reference.c sets TREE_READONLY on the decl when it really should not be (even though it is readonly now). -- pinskia at gcc dot gnu

[Bug c++/32305] New: ICE in initialize_flags_in_bb with -O -fipa-pta

2007-06-12 Thread wouter dot vermaelen at scarlet dot be
> cat bug.ii struct S1 { S1() {} }; struct S2 { void f2() { static S1 s1; } }; void f(S2& s2) { s2.f2(); } > g++ -O -fipa-pta bug.ii bug1.ii: In function ‘void f(S2&)’: bug1.ii:9: internal compiler error: in initialize_flags_in_bb, at tree-into-ssa.c

[Bug fortran/32289] mips version of gfortran produces internal compiler error

2007-06-12 Thread tbm at cyrius dot com
--- Comment #7 from tbm at cyrius dot com 2007-06-12 14:12 --- mips-linux-gnu, as the Debian package does. Why? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32289

[Bug c++/32304] New: ICE in set_mem_attributes_minus_bitpos

2007-06-12 Thread wouter dot vermaelen at scarlet dot be
> cat bug.ii struct S { S() {} }; S f() { static S s; return s; } > g++ -O bug.ii bug2.ii: In function ‘S f()’: bug2.ii:6: internal compiler error: in set_mem_attributes_minus_bitpos, at emit-rtl.c:1573 -- Summary: ICE in set_mem_attributes_minus_bitpos

[Bug fortran/32289] mips version of gfortran produces internal compiler error

2007-06-12 Thread michael dot a dot richmond at nasa dot gov
--- Comment #6 from michael dot a dot richmond at nasa dot gov 2007-06-12 14:04 --- When you build gcc and gfortran on your mips box, do you specify your system type as "mips-unknown-linux-gnu" or as "mips64-unknown-linux-gnu"? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32289

[Bug tree-optimization/32303] [4.3 Regression] SPEC2006 447.dealII miscompiled at -O3

2007-06-12 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug target/32288] Our C++ program (gcc 4.1.1 under Aix 5.3) crashes with a core dump

2007-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-12 14:01 --- And why do you think GCC is at fault? It is hard to debug this huge sources really. Have you tried to pin point exactly where the issue. Do you have any uninitialized variables? Are you going over array bounds?

[Bug tree-optimization/32303] New: [4.3 Regression] SPEC2006 447.dealII miscompiled at -O3

2007-06-12 Thread rguenth at gcc dot gnu dot org
See PR30252 comment #30 for bug analysis and a patch. -- Summary: [4.3 Regression] SPEC2006 447.dealII miscompiled at -O3 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: wrong-code, alias Severity: normal Priori

  1   2   >