This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/41271] [4.5 Regression] FAIL: gcc.dg/matrix/matrix-2.c scan-ipa-dump-times matrix-reorg "Flattened 2 dimensions" 1



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]