This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46377] New: [4.6 regression] incorrect scalarization (3)
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 8 Nov 2010 17:56:58 +0000
- Subject: [Bug tree-optimization/46377] New: [4.6 regression] incorrect scalarization (3)
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46377
Summary: [4.6 regression] incorrect scalarization (3)
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ebotcazou@gcc.gnu.org
The fix for PR tree-opt/44972 has introduced regressions in Ada, specifically:
(sra_modify_assign): Removed ref_expr_for_all_replacements_p checks,
checks for return values of build_ref_for_offset.
This is a third example, potentially a duplicate of PR tree-opt/46351, but it
can be reproduced on 32-bit targets:
eric@atlantis:~/build/gcc/native32> gcc/xgcc -Bgcc -S -O opt11.adb
+===========================GNAT BUG DETECTED==============================+
| 4.6.0 20101105 (experimental) [trunk revision 166350] (i586-suse-linux-gnu)
GCC error:|
| in build_ref_for_offset, at tree-sra.c:1345 |
| Error detected around opt11.adb:12:1
The testcase is suitable for addition to the gnat.dg testsuite.