[Bug target/64364] New: gcc ICE on min() on Intel Sandy Bridge CPU if compiler built on Haswell

2014-12-19 Thread dhazeghi at yahoo dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com Created attachment 34302 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34302action=edit failing pre-processed source I have a freshly

[Bug target/64364] gcc ICE on min() on Intel Sandy Bridge CPU if compiler built on Haswell

2014-12-19 Thread dhazeghi at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64364 --- Comment #1 from Dara Hazeghi dhazeghi at yahoo dot com --- Appears to be the same issue as bug 59463

[Bug target/57608] New: wrong code for expression at -O3 on x86_64-linux-gnu with -m32

2013-06-13 Thread dhazeghi at yahoo dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com Current gcc trunk and 4.8.x produces wrong code for the following testcase on x86_64-linux when compiled at -O3 in 32-bit mode. This is a regression from 4.7.x

[Bug tree-optimization/57592] New: ICE in tree_unroll_loops_completely at -O3

2013-06-11 Thread dhazeghi at yahoo dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com With current gcc trunk on x86_64-linux, the following code causes an ICE when compiled at -O3. This is a regression from 4.8.x. $ gcc-trunk -v gcc version 4.9.0 20130611 (experimental

[Bug rtl-optimization/57568] [4.8/4.9 Regression] wrong code for assignment in conditional at -Os

2013-06-09 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57568 --- Comment #4 from Dara Hazeghi dhazeghi at yahoo dot com --- Wow, that was fast! Confirmed fixed, thanks.

[Bug rtl-optimization/57568] New: wrong code for assignment in conditional at -Os

2013-06-08 Thread dhazeghi at yahoo dot com
: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code is miscompiled by gcc trunk and 4.8 on x86_64-linux at -Os and above optimization levels in 32-bit mode (should print nothing). This is a regression from 4.7.x. $ gcc

[Bug rtl-optimization/57569] New: wrong code for struct copy at -O3 on x86_64-linux

2013-06-08 Thread dhazeghi at yahoo dot com
: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code is miscompiled with current gcc-trunk on x86_64-linux at -O3 optimization level in 32-bit mode, outputting garbage (rather than 0). This is a regression from 4.7

[Bug rtl-optimization/57359] wrong code for union access at -O3 on x86_64-linux

2013-06-03 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 Dara Hazeghi dhazeghi at yahoo dot com changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug bootstrap/57438] bootstrap fails on x86_64 darwin in stage2 linking cc1

2013-06-03 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57438 --- Comment #17 from Dara Hazeghi dhazeghi at yahoo dot com --- (In reply to m...@gcc.gnu.org from comment #16) Yes please. If you can run: dwarfdump --eh-frame --verify file.o on all the .o files and see if there are any more lurking

[Bug tree-optimization/57521] New: wrong code for expressions in loop at -O3

2013-06-03 Thread dhazeghi at yahoo dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code is miscompiled with current gcc trunk at -O3 optimization on x86_64-linux. I've tried to reduce it somewhat from the original form. Note that 'e' is only touched in one

[Bug rtl-optimization/57359] wrong code for union access at -O3 on x86_64-linux

2013-05-31 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #8 from Dara Hazeghi dhazeghi at yahoo dot com --- Okay, here is I think a more clear example. However, from what Jakub says above, this is probably undefined. int printf(const char *, ...); union { int i; long long ll; } u

[Bug tree-optimization/57488] New: [4.9 regression] loop terminates early at -O3

2013-05-31 Thread dhazeghi at yahoo dot com
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code is miscompiled with current gcc trunk at -O3 on x86_64-linux in both 32 and 64-bit modes. The innermost loop in foo should execute 48 times, but at -O3 it does

[Bug bootstrap/57438] bootstrap fails on x86_64 darwin in stage2 linking cc1

2013-05-31 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57438 --- Comment #13 from Dara Hazeghi dhazeghi at yahoo dot com --- (In reply to m...@gcc.gnu.org from comment #12) Ok, new theory. Does this patch fix it for you: Thanks for the patch. Just tried bootstrapping with it and checking disabled

[Bug bootstrap/57438] bootstrap fails on x86_64 darwin in stage2 linking cc1

2013-05-31 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57438 --- Comment #15 from Dara Hazeghi dhazeghi at yahoo dot com --- (In reply to m...@gcc.gnu.org from comment #14) Thanks, how about this one? Seems to be the same - assert in the same spot. Shall I upload the varasm.s produced with the second

[Bug rtl-optimization/57359] wrong code for union access at -O3 on x86_64-linux

2013-05-29 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #5 from Dara Hazeghi dhazeghi at yahoo dot com --- Sorry to ask again on this, but after re-reading, I'm not sure I understand the type-punning argument here: **ppll = ll; // write to u.ll *k = 0; // write to u.i j = *ppa

[Bug tree-optimization/57441] New: ICE in gimple-ssa-strength-reduction.c:3447 at -O3

2013-05-28 Thread dhazeghi at yahoo dot com
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code causes current gcc trunk to ICE when built at -O3 on x86_64-linux. This is a regression from gcc 4.8 which compiles successfully. $ gcc-trunk -v Target: x86_64

[Bug bootstrap/57438] bootstrap fails on x86_64 darwin in stage2 linking cc1

2013-05-28 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57438 --- Comment #4 from Dara Hazeghi dhazeghi at yahoo dot com --- Aha! I will try using plain make and leaving checking alone. I don't suppose this is documented anywhere? As to reporting the bug to Apple, is this in fact a linker bug, as opposed

[Bug bootstrap/57438] bootstrap fails on x86_64 darwin in stage2 linking cc1

2013-05-28 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57438 --- Comment #5 from Dara Hazeghi dhazeghi at yahoo dot com --- (In reply to Dara Hazeghi from comment #4) Aha! I will try using plain make and leaving checking alone. I don't suppose this is documented anywhere? make (not bootstrap

[Bug bootstrap/57438] bootstrap fails on x86_64 darwin in stage2 linking cc1

2013-05-28 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57438 --- Comment #7 from Dara Hazeghi dhazeghi at yahoo dot com --- (In reply to Jack Howarth from comment #6) I've opened radar://14005298, linker crash when building FSF gcc with --disable-checking with a standalone test case of the failing linkage

[Bug bootstrap/57438] bootstrap fails on x86_64 darwin in stage2 linking cc1

2013-05-28 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57438 --- Comment #10 from Dara Hazeghi dhazeghi at yahoo dot com --- Created attachment 30211 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30211action=edit varasm.s.gz varasm.s resulting in the crash

[Bug bootstrap/57438] New: bootstrap fails on x86_64 darwin in stage2 linking cc1

2013-05-27 Thread dhazeghi at yahoo dot com
Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com Created attachment 30206 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30206action=edit config.log.gz As mentioned on gcc-help (http://gcc.gnu.org/ml/gcc-help/2013-05/msg00120.html

[Bug rtl-optimization/57359] wrong code for union access at -O3 on x86_64-linux

2013-05-23 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57359 --- Comment #3 from Dara Hazeghi dhazeghi at yahoo dot com --- My apologies for the invalid report and thank you for the clear explanation. I've been using frama-c to check validity of the testcases, but clearly in this case it's not sufficient.

[Bug rtl-optimization/57381] New: array of volatile pointers hangs gcc

2013-05-22 Thread dhazeghi at yahoo dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code causes gcc trunk and 4.8 branch to hang at -O1 or above due to it consuming all available memory (well over 2GB after 10 seconds). $ gcc-trunk -v Target: x86_64-unknown-linux-gnu

[Bug rtl-optimization/57359] New: wrong code for union access at -O3 on x86_64-linux

2013-05-21 Thread dhazeghi at yahoo dot com
: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code is miscompiled with current gcc 4.8 branch and trunk at -O3 on x86_64-linux. The last write to the union appears to be getting removed (*k = 0), so that the program

[Bug target/57341] New: wrong code on x86_64-linux at -O3 in 32-bit mode

2013-05-20 Thread dhazeghi at yahoo dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code is miscompiled on gcc trunk and 4.8 branch on x86_64-linux-gnu, at -O3 optimization level, in 32-bit mode, resulting in output of 0 rather than 1. It is compiled correctly

[Bug rtl-optimization/57343] New: wrong code on x86_64-linux at -Os and above

2013-05-20 Thread dhazeghi at yahoo dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code is miscompiled on x86_64-linux at -Os and above with gcc trunk and at -O2 and above with gcc 4.8. It outputs 0 rather than 4 as it should. It works correctly with gcc 4.7

[Bug target/57344] New: wrong code with pragma pack(1) and -O1 on x86

2013-05-20 Thread dhazeghi at yahoo dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code produces wrong output on x86_64-linux-gnu in 32-bit mode, when compiled at -O1 or higher optimizations. It appears that the behavior changed between gcc 4.6 which works at all

[Bug rtl-optimization/57347] New: wrong code for bitfield on x86_64-linux at -Os and above

2013-05-20 Thread dhazeghi at yahoo dot com
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following code is miscompiled on x86_64-linux with gcc trunk and 4.8 at -Os and above optimization level. It works correctly with gcc 4.7 (outputs 1

[Bug tree-optimization/57318] New: optimizer takes several seconds on nested loops

2013-05-17 Thread dhazeghi at yahoo dot com
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com Current gcc trunk takes 5 seconds to compile this testcase at -O2 or higher optimization level on x86_64-linux-gnu (2.8GHZ Intel i7). This was distilled from larger program which

[Bug rtl-optimization/57321] New: static function call miscompiled at -Os and above

2013-05-17 Thread dhazeghi at yahoo dot com
: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The testcase below is miscompiled by gcc 4.8 on x86_64-linux, resulting in a segfault when built with -Os or higher optimization levels. This does not occur with gcc 4.7 or current

[Bug rtl-optimization/57303] New: struct miscompiled at -O1 and above

2013-05-16 Thread dhazeghi at yahoo dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com With current gcc trunk, the code below is miscompiled at -O1 and higher optimization levels on x86_64-linux-gnu, outputting '1' instead of '0' as expected. This behavior appears in gcc 4.8.x and 4.7

[Bug rtl-optimization/57300] New: statement in expression miscompiled at -O3 in 32-bit mode

2013-05-15 Thread dhazeghi at yahoo dot com
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The following testcase appears to be miscompiled with gcc 4.8 and trunk on x86_64-linux-gnu at -O3 optimization level in 32-bit mode. In 64-bit mode

[Bug target/57281] New: x86_64-linux loop fails to terminate at -O3 -m32

2013-05-14 Thread dhazeghi at yahoo dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com The testcase below is miscompiled with current gcc trunk at -O3 optimization level in 32-bit mode on x86_64-linux-gnu, and fails to terminate. With other optimizations levels in 64-bit mode

[Bug tree-optimization/57268] New: c nested loops hang compiler

2013-05-13 Thread dhazeghi at yahoo dot com
Assignee: unassigned at gcc dot gnu.org Reporter: dhazeghi at yahoo dot com Created attachment 30106 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30106action=edit testcase The attached testcase causes current gcc trunk to hang on x86_64-unknown-linux-gnu, when compiled

[Bug tree-optimization/56576] New: wrong code for aliased union at -O3

2013-03-08 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56576 Bug #: 56576 Summary: wrong code for aliased union at -O3 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/56577] New: wrong code for aliased union on gcc 4.7 only

2013-03-08 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56577 Bug #: 56577 Summary: wrong code for aliased union on gcc 4.7 only Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/56486] [4.6/4.7 Regression] infinite loop in cc1 at -O1

2013-03-04 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56486 Dara Hazeghi dhazeghi at yahoo dot com changed: What|Removed |Added Summary|[4.6/4.7 Regression]|[4.6/4.7

[Bug tree-optimization/56501] New: gcc 4.6 ICE on noreturn function at -Os and above

2013-03-01 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56501 Bug #: 56501 Summary: gcc 4.6 ICE on noreturn function at -Os and above Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: minor

[Bug tree-optimization/56486] New: infinite loop in cc1 at -O1 and above

2013-02-28 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56486 Bug #: 56486 Summary: infinite loop in cc1 at -O1 and above Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/56486] infinite loop in cc1 at -O1 and above

2013-02-28 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56486 --- Comment #1 from Dara Hazeghi dhazeghi at yahoo dot com 2013-02-28 22:37:44 UTC --- Created attachment 29556 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29556 hanging testcase

[Bug target/56487] New: SSE2 code crashes when compiled at -O0 -m32 -msse2

2013-02-28 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56487 Bug #: 56487 Summary: SSE2 code crashes when compiled at -O0 -m32 -msse2 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/56488] New: wrong code for loop at -O3

2013-02-28 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56488 Bug #: 56488 Summary: wrong code for loop at -O3 Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority:

[Bug tree-optimization/56478] New: Regression: ICE: Floating point exception in tree_estimate_probability

2013-02-27 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56478 Bug #: 56478 Summary: Regression: ICE: Floating point exception in tree_estimate_probability Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug tree-optimization/56448] [4.8 Regression] cc1 hangs on volatile array with -O or above

2013-02-26 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56448 --- Comment #5 from Dara Hazeghi dhazeghi at yahoo dot com 2013-02-26 17:47:04 UTC --- Thanks! That was a very quick fix.

[Bug tree-optimization/56448] New: cc1 hangs on volatile array with -O or above

2013-02-25 Thread dhazeghi at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56448 Bug #: 56448 Summary: cc1 hangs on volatile array with -O or above Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/17755] Can't compile djgpp cross-compiler

2004-10-21 Thread dhazeghi at yahoo dot com
-- What|Removed |Added CC|dhazeghi at yahoo dot com | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17755

[Bug java/12005] TimeZone.getID() produces NPE

2003-12-09 Thread dhazeghi at yahoo dot com
-- What|Removed |Added Target Milestone|--- |3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12005

[Bug c++/12498] Internal compiler error in schedule_insns

2003-10-24 Thread dhazeghi at yahoo dot com
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12498 --- Additional Comments From dhazeghi at yahoo dot com 2003-10-24 17:15 --- Reminder that we're still waiting for the preprocessed source for this report. All that's

[Bug preprocessor/12095] segfault when processing a .S file that contains a #include stmt

2003-10-24 Thread dhazeghi at yahoo dot com
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12095 --- Additional Comments From dhazeghi at yahoo dot com 2003-10-24 23:47 --- You didn't explain why you cannot provide preprocessed source. Does it crash with -save-temps

[Bug target/11983] ICE in dwarf-2 on code using altivec

2003-08-25 Thread dhazeghi at yahoo dot com
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11983 --- Additional Comments From dhazeghi at yahoo dot com 2003-08-25 14:43 --- I'm reducing this one.

[Bug target/8407] [IA-64] ICE in simplify_gen_subreg, at simplify-rtx.c:2711 with very simple code

2003-07-09 Thread dhazeghi at yahoo dot com
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8407 dhazeghi at yahoo dot com changed: What|Removed |Added Last

[Bug fortran/5900] Lapack regressions for g77 3.1

2003-07-05 Thread dhazeghi at yahoo dot com
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5900 dhazeghi at yahoo dot com changed: What|Removed |Added

[Bug optimization/7571] BitchX fails with a segmentation fault when compiled with -O3

2003-06-20 Thread dhazeghi at yahoo dot com
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7571 dhazeghi at yahoo dot com changed: What|Removed |Added