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 c/34768] [4.1/4.2/4.3 Regression] Wrong code with conditional function invocation



------- Comment #6 from rguenth at gcc dot gnu dot org  2008-01-16 09:45 -------
Subject: Bug 34768

Author: rguenth
Date: Wed Jan 16 09:44:23 2008
New Revision: 131568

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131568
Log:
2008-01-16  Richard Guenther  <rguenther@suse.de>

        PR c/34768
        * c-typeck.c (common_pointer_type): Do not merge inconsistent
        type qualifiers for function types.

        * gcc.c-torture/execute/pr34768-1.c: New testcase.
        * gcc.c-torture/execute/pr34768-2.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr34768-1.c
    trunk/gcc/testsuite/gcc.c-torture/execute/pr34768-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34768


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