[Bug 365206] New: __builtin_constant_p sometimes evaluates it's argument
https://bugzilla.novell.com/show_bug.cgi?id=365206
Summary: __builtin_constant_p sometimes evaluates it's argument
Product: openSUSE 11.0
Version: Alpha 2
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: rguenther@novell.com
ReportedBy: mmarek@novell.com
QAContact: qa@suse.de
Found By: ---
While the info page doesn't say whether __builtin_constant_p evaluates it's
argument or not, this seems at least inconsistent:
On STABLE (gcc version 4.3.0 20080221 (prerelease) [gcc-4_3-branch revision
132521] (SUSE Linux)):
$ cat bc_p.c
#include
https://bugzilla.novell.com/show_bug.cgi?id=365206
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=365206#c1
--- Comment #1 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=365206
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=365206#c2
--- Comment #2 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=365206
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=365206
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=365206#c3
--- Comment #3 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=365206
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=365206#c4
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=365206
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=365206#c5
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=365206
User rguenther@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=365206#c6
Richard Guenther
participants (1)
-
bugzilla_noreply@novell.com