This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41271] [4.5 Regression] FAIL: gcc.dg/matrix/matrix-2.c scan-ipa-dump-times matrix-reorg "Flattened 2 dimensions" 1
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2009 10:20:20 -0000
- Subject: [Bug tree-optimization/41271] [4.5 Regression] FAIL: gcc.dg/matrix/matrix-2.c scan-ipa-dump-times matrix-reorg "Flattened 2 dimensions" 1
- References: <bug-41271-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenth at gcc dot gnu dot org 2009-09-05 10:20 -------
It's glibc prototyping printf as
extern int printf (__const char * __restrict __format, ...);
note the __restrict qualifier on __format. This doesn't match up exactly with
our builtin function definition which is
extern int printf (__const char * __format, ...);
No idea why glibc adds __restrict everywhere.
I have a patch.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Summary|FAIL: gcc.dg/matrix/matrix- |[4.5 Regression] FAIL:
|2.c scan-ipa-dump-times |gcc.dg/matrix/matrix-2.c
|matrix-reorg "Flattened 2 |scan-ipa-dump-times matrix-
|dimensions" 1 |reorg "Flattened 2
| |dimensions" 1
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41271